I have had a similar problem and solved it by exporting a LIBRARY_PATH variable during the install step : replacing $(MAKE) install ... by export LIBRARY_PATH=`pwd`/debian/tmp/usr/lib; $(MAKE) install ... NOTE : LIBRARY_PATH not LD_LIBRARY_PATH. Hope this help, Christophe On Tue, Jun 25, 2002 at 03:58:11PM -0700, Ben Darnell wrote: > I'm working on the new pilot-link packages, and having problems > installing the libraries from scratch (i.e. when a previous build of the > libraries is not already in /usr/lib). What is the correct way to > specify the correct path to get the relinking step to work without > breaking the installation? > > Thanks, > -Ben > > Relevant portion of output from make install: > /bin/sh ../libtool --mode=install /usr/bin/install -c libpisock++.la /home/bgda > rnel/src/pilot-link-0.10.99/debian/tmp/usr/lib/libpisock++.la > libtool: install: warning: relinking `libpisock++.la' > (cd /home/bgdarnel/src/pilot-link-0.10.99/libpisock++; /bin/sh ../libtool --mode > =relink c++ -g -O2 -o libpisock++.la -rpath /usr/lib -export-dynamic -version-in > fo 0:0:0 address.lo appInfo.lo datebook.lo dlp.lo iambicExpense.lo memo.lo todo. > lo ../libpisock/libpisock.la) > gcc -shared address.lo appInfo.lo datebook.lo dlp.lo iambicExpense.lo memo.lo t > odo.lo -L/usr/lib -lpisock -Wl,-soname -Wl,libpisock++.so.0 -o .libs/libpisoc > k++.so.0.0.0 -L/usr/lib -lpisock > /usr/bin/ld: cannot find -lpisock > > > Makefile.am: > NCLUDES = \ > -I../include \ > -I$(top_srcdir)/include > > lib_LTLIBRARIES = libpisock++.la > > libpisock___la_SOURCES = \ > address.cc \ > appInfo.cc \ > datebook.cc \ > dlp.cc \ > iambicExpense.cc\ > memo.cc \ > todo.cc > > libpisock___la_LIBADD = \ > $(top_builddir)/libpisock/libpisock.la > > libpisock___la_LDFLAGS = \ > -export-dynamic -version-info $(PISOCKPP_CURRENT):$(PISOCKPP_REVISION):$ > (PISOCKPP_AGE) > > > > -- > Ben Darnell ben@thoughtstream.org > http://thoughtstream.org > Finger bgdarnel@debian.org for PGP/GPG key 1024D/1F06E509 > -- Christophe Barbé <christophe.barbe@ufies.org> GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8 F67A 8F45 2F1E D72C B41E Cats seem go on the principle that it never does any harm to ask for what you want. --Joseph Wood Krutch
Attachment:
pgpUzH9RJLBTm.pgp
Description: PGP signature