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                  [EMAIL PROTECTED]
http://thoughtstream.org
Finger [EMAIL PROTECTED] for PGP/GPG key 1024D/1F06E509

Attachment: pgpir7fU7Ak7W.pgp
Description: PGP signature

Reply via email to