Re: [Mageia-dev] libperl location
Op zondag 9 december 2012 16:56:55 schreef Thomas Spuhler: On Monday, September 10, 2012 10:25:31 PM Pascal Terjan wrote: On Mon, Sep 10, 2012 at 9:34 PM, Thomas Spuhler tho...@btspuhler.com wrote: I am trying to build the 389 dirsrv. When building lperl looks for libperl in /usr/lib/ but it cannot find it. Doing ln -sf /usr/lib/perl5/5.16.1/x86_64-linux-thread-multi/CORE/libperl.so /usr/lib/libperl.so Solves the problem. Is this a feature or a bug? Do I need to patch the makefile of the 389dirsrv? You can use something like this to get the flags to use: $ perl -MExtUtils::Embed -e ldopts -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.12.3/x86_64-linux-thread-multi/CORE -fstack-protector -L/usr/local/lib64 -L/usr/lib/perl5/5.12.3/x86_64-linux-thread-multi/CORE -lperl -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc I now need to do to cyrus-imapd as well. What has changed in Cauldron that now requires this? i propose we drop cyrus-imapd and other cyrus* stuff (except the libsasl)
Re: [Mageia-dev] libperl location
On Monday, September 10, 2012 10:25:31 PM Pascal Terjan wrote: On Mon, Sep 10, 2012 at 9:34 PM, Thomas Spuhler tho...@btspuhler.com wrote: I am trying to build the 389 dirsrv. When building lperl looks for libperl in /usr/lib/ but it cannot find it. Doing ln -sf /usr/lib/perl5/5.16.1/x86_64-linux-thread-multi/CORE/libperl.so /usr/lib/libperl.so Solves the problem. Is this a feature or a bug? Do I need to patch the makefile of the 389dirsrv? You can use something like this to get the flags to use: $ perl -MExtUtils::Embed -e ldopts -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.12.3/x86_64-linux-thread-multi/CORE -fstack-protector -L/usr/local/lib64 -L/usr/lib/perl5/5.12.3/x86_64-linux-thread-multi/CORE -lperl -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc I now need to do to cyrus-imapd as well. What has changed in Cauldron that now requires this? -- Best regards Thomas Spuhler
[Mageia-dev] libperl location
I am trying to build the 389 dirsrv. When building lperl looks for libperl in /usr/lib/ but it cannot find it. Doing ln -sf /usr/lib/perl5/5.16.1/x86_64-linux-thread-multi/CORE/libperl.so /usr/lib/libperl.so Solves the problem. Is this a feature or a bug? Do I need to patch the makefile of the 389dirsrv? There is a lot about the location when googeling. Seems Fedora and Suse don't have it but certainly Ubuntu -- Best regards Thomas Spuhler
Re: [Mageia-dev] libperl location
On Mon, Sep 10, 2012 at 9:34 PM, Thomas Spuhler tho...@btspuhler.com wrote: I am trying to build the 389 dirsrv. When building lperl looks for libperl in /usr/lib/ but it cannot find it. Doing ln -sf /usr/lib/perl5/5.16.1/x86_64-linux-thread-multi/CORE/libperl.so /usr/lib/libperl.so Solves the problem. Is this a feature or a bug? Do I need to patch the makefile of the 389dirsrv? You can use something like this to get the flags to use: $ perl -MExtUtils::Embed -e ldopts -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.12.3/x86_64-linux-thread-multi/CORE -fstack-protector -L/usr/local/lib64 -L/usr/lib/perl5/5.12.3/x86_64-linux-thread-multi/CORE -lperl -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc