This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Issue with Libprelude librairie and Nas4free 10.2

Jails with XigmaNAS
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
laster13
PowerUser
PowerUser
Posts: 995
Joined: 01 Jun 2013 19:15
Location: France-Marseille
Status: Offline

Issue with Libprelude librairie and Nas4free 10.2

Post by laster13 »

Hi everybody,

I try to compil libprelude from the sources . I installed the following packages in a jail Alcatraz

Code: Select all

pkg install wget python27 gmake gnutls pkgconf libgcrypt
In the end, i must have the following librairie in "/usr/local/lib"
libpreludecpp.so.3
libpreludecpp.so
libpreludecpp.la
libprelude.so.22
libprelude.so
libprelude.la
With Nas4free 9.3 Nayla and thebrig alcatraz, it works but not with Nas4free 10.2.0.2 - Prester (revision 1855) and i have this error message in the log
configure:18184: checking whether the c++ linker (/usr/bin/ld) supports shared libraries
configure:18210: result: no
I don't understand why in the same conditions it works with Nas4free 9.3 and it doesn't with Nas4free 10.1 and 10.2

Could you help me ?

Many thanks

laster13
PowerUser
PowerUser
Posts: 995
Joined: 01 Jun 2013 19:15
Location: France-Marseille
Status: Offline

Re: Issue with Libprelude librairie and Nas4free 10.2

Post by laster13 »

It seems that FreeBSD 10 uses clang as compiler whereas FreeBSD 9.3 uses GCC 4.21.
I install gcc49 to test

Code: Select all

pkg install lang/gcc49
cd /usr/local/bin
 ln -s gcc49 gcc
ln -s g++49 g++
But i've always the same result 'checking whether the c++ linker (/usr/bin/ld) supports shared libraries...no' and with 'make' i have the following files now in /usr/local/lib

Code: Select all

libpreludecpp.so.8.0
libpreludecpp.la
libprelude.so.24.0
libprelude.la
But it missed
libpreludecpp.so
libprelude.so
thanks

Post Reply

Return to “Jails”