On Mon, Sep 10, 2012 at 9:34 PM, Thomas Spuhler <[email protected]> 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
