Thefrank / dotnet-freebsd-crossbuild

Bash script and patches for building dotNET for FreeBSD under Linux
31 stars 3 forks source link

How do I effectively "install" the pre-built binaries? #1

Open Zamana opened 2 years ago

Zamana commented 2 years ago

Hi!

That's not an issue (I think), but I didn't find a better place to ask.

How do I effectively "install" the pre-built binaries?

Thanks. Regards.

Thefrank commented 2 years ago

Depends on what you are trying to do with them :)

So...what are you trying to do with them?

Zamana commented 2 years ago

I was trying to use it to run the pre-built Radarr4 that you provide.

Anyway, I realized that I can install Radarr4 from the repository packages by changing 'quarterly' to 'latest' in /etc/pkg/FreeBSD.conf.

By the way, I reached this point when I was still trying to get it work before the pkg solution:

After "installing" the pre-built dotnet binaries from TheFrank and the additional packages "libunwind icu libinotify ninja", some errors was gone, but now I'm facing this one when I try to run Radarr4 (pre-built binary package too):

root@radarr4:/usr/local/share/Radarr # ./Radarr
[Info] Bootstrap: Starting Radarr - /usr/local/share/Radarr/Radarr - Version 4.0.4.5922
[Debug] Bootstrap: Console selected
[Debug] Microsoft.Extensions.Hosting.Internal.Host: Hosting starting

[Fatal] ConsoleApp: EPIC FAIL!

[v4.0.4.5922] System.DllNotFoundException: Unable to load shared library 'MonoPosixHelper' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: Shared object "libMonoPosixHelper" not found, required by "Radarr"
(...)
Zamana commented 2 years ago

UPDATE: after installing version 4.0.2.5836 from pkg, I was able to upgrade to the latest and greatest 4.0.4.5922 version through your pre-built binaries.

Thank you very much!

Thefrank commented 2 years ago

First of all, the SDK is more geared to compiling than running. It does have a full runtime but you don't need the SDK to use radarr, it is built as self-continained so it only needs:

# pkg info -d radarr
radarr-4.0.4.5922:
        openssl-1.1.1m_1,1
        ca_root_nss-3.71
        libunwind-20201110
        libinotify-20180201_2
        icu-70.1_1,1
        sqlite3-3.35.5_4,1
        libiconv-1.16
Thefrank commented 1 year ago

Reminder to self: Build installer