[Mageia-dev] libperl location

Thomas Spuhler thomas at btspuhler.com
Mon Dec 10 00:56:55 CET 2012


On Monday, September 10, 2012 10:25:31 PM Pascal Terjan wrote:
> 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

I now need to do to cyrus-imapd as well.
What has changed in Cauldron that now requires this?
-- 
Best regards
Thomas Spuhler


More information about the Mageia-dev mailing list