Thefrank/dotnet-freebsd-crossbuild

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

Zamana opened this issue · 5 comments

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.

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

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

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"
(...)

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!

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

Reminder to self: Build installer