On 2004-05-13(Thu) 23:53:28 -0400, Braden McDaniel wrote: > > > My package includes some libraries and a plug-in (dlopen'd module) that > > > links with the libraries. During install, libtool wants to relink the > > > plug-in against the libraries. This is failing during rpmbuild because > > > ld can't find the libraries; the libraries haven't *really* been > > > installed yet (to a location ld knows about). > > > > This problem is (almost) fixed in libtool >= 1.5.4. > > What does "(almost) fixed" mean, exactly? I'm observing the problem with > libtool 1.5.6. That means in some cases stuff will relink with system libraries rather than those in staging area. > > If all you want is > > to search for libraries in staging area, then above version of libtool > > will work fine for you. > > So do I just need to add a -L flag? Will things work reliably once the > RPM has been installed? Use DESTDIR variable during install. For example, in spec file: %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT Abel > > -- > Braden McDaniel e-mail: <braden@xxxxxxxxxxxxx> > <http://endoframe.com> Jabber: <braden@xxxxxxxxxx> > > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list -- Abel Cheung Linux counter #256983 | http://counter.li.org GPG Key: (0xC67186FF) | http://deaddog.org/gpg.asc Key fingerprint: 671C C7AE EFB5 110C D6D1 41EE 4152 E1F1 C671 86FF
Attachment:
pgp00068.pgp
Description: PGP signature
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list