Thefrank / dotnet-freebsd-crossbuild

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

No usable version of libssl found. #6

Open devosalain opened 10 months ago

devosalain commented 10 months ago

dotnet install fsautocomplete --> Error : No usable version of libssl found Installed : openssl32-3.2.0.a2 On FreeBSD 14.0-RC3

Thefrank commented 10 months ago

I have not tried to build dotNET against FreeBSD 14. It might need to some changes to build/work against OpenSSL 3

@devosalain EDIT: I think the tool install command is dotnet tool install --global fsautocomplete

[root@jail~]# dotnet tool list --global
Package Id             Version      Commands      
--------------------------------------------------
cake.tool              3.0.0        dotnet-cake   
dotnet-setversion      2.5.0        setversion    
fsautocomplete         0.67.0       fsautocomplete
devosalain commented 8 months ago

I compile verything with make.conf DEFAULT_VERSIONS+= ssl=openssl31 on freebsd.ala 14.0-RELEASE-p3 ./dotnet gives : " No usable version of libssl was found "

Thefrank commented 8 months ago

openssl 3.1 and openssl 3.2 are not (currently) supported; openssl 3.0 is support but only if the sdk was built with this: https://github.com/Thefrank/runtime/commit/9f89c3bf7c68891f17bba17d252d342a09ecc6e7

You can try to override the current hinting by passing: CLR_OPENSSL_VERSION_OVERRIDE=.SO_SUFFIX (e.g., CLR_OPENSSL_VERSION_OVERRIDE=13 for OpenSSL 3.1 from ports)