Subject: Re: libtool without pkgsrc on DragonFly and no RPATH (fwd)
To: Jeremy C. Reed <reed@reedmedia.net>
From: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
List: pkgsrc-users
Date: 03/02/2006 08:57:43
Sorry for the self-followup.

* Ralf Wildenhues wrote on Thu, Mar 02, 2006 at 08:48:49AM CET:
> * Jeremy C. Reed wrote on Thu, Mar 02, 2006 at 08:28:42AM CET:
> > 
> > I was using (I think) libtool-base-1.5.18nb4 on DragonFly to do some 
> > builds (not using pkgsrc) of the xorg HEAD. I saw that some libraries were 
> > built with the needed shared library runtime path included, but some were 
> > not.

> > I can provide complete build logs. Here is one example ...
> > 
> > env PKG_CONFIG_PATH=/home/reed/xorg/lib/pkgconfig ./configure --prefix=/home/reed/xorg | & tee LOG.configure
> > 
> > make | & tee LOG.make
> 
> Please rerun the link command
>   /bin/sh ../libtool --tag=CC --mode=link gcc [...] -o libXfontcache.la [...]

Erm.  Please try this also: set hardcode_into_libs=yes in the libtool,
then build.

Ouch.  There are a couple of things in
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/libtool/patches/manual-libtool.m4?rev=1.19&content-type=text/x-cvsweb-markup
that we need to integrate into Libtool.

This is a 1.5.22 regression on DragonFly.  Is there a reason the fix that
was done there was not posted upstream?

Cheers,
Ralf