[Mageia-dev] libperl location

Pascal Terjan pterjan at gmail.com
Tue Sep 11 07:25:31 CEST 2012


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


More information about the Mageia-dev mailing list