[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

libtool: link: cannot find the library `'

From: Jeff Barrett <JBarrett_at_sawyermedia.com>
Date: 2002-10-10 21:33:33 CEST

I'm having some trouble getting subversion to compile on a linux machine.

I've read through the old posts (february/march) about this problem stating:

"Look in the */*.la files: in at least two of them you will find a line containing "-pthread" on its own, delete those lines."

My problem is different as there aren't any *.la files w/ "-pthread" on it's own line. Any other ideas?

build info:

linux 2.4.1-10
gcc 3.2
libtool 1.4.2
neon 0.23.4
svn 3345

export LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.0/lib
echo "/usr/local/BerkeleyDB.4.0/lib" >> /etc/ld.so.conf

cd httpd-2.0.43
./configure --enable-dav --enable-so --with-dbm=db4 --with-berkeley-db=/usr/local/BerkeleyDB.4.0

cd svn
cp -r ../db-4.0.14 ./db
./configure --enable-maintainer-mode --with-apr=../httpd-2.0.43/srclib/apr --with-apr-util=../httpd-2.0.43/srclib/apr-util

the failing line is:
cd subversion/clients/cmdline && /bin/sh /home/jbarrett/local/src/svn/libtool --silent --mode=link gcc -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread -Wpointer-arith -Wwrite-strings -Wshadow -DSVN_DEBUG -DAP_DEBUG -L/usr/local/BerkeleyDB.4.0/lib -rpath /usr/local/lib -o svn add-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o feedback.o help-cmd.o import-cmd.o info-cmd.o log-cmd.o ls-cmd.o main.o merge-cmd.o mkdir-cmd.o move-cmd.o prompt.o propdel-cmd.o propedit-cmd.o propget-cmd.o proplist-cmd.o props.o propset-cmd.o resolve-cmd.o revert-cmd.o status-cmd.o status.o switch-cmd.o update-cmd.o util.o ../../../subversion/libsvn_client/libsvn_client-1.la ../../../subversion/libsvn_wc/libsvn_wc-1.la ../../../subversion/libsvn_ra/libsvn_ra-1.la ../../../subversion/libsvn_delta/libsvn_delta-1.la ../../../subversion/libsvn_subr/libsvn_subr-1.la /home/jbarrett/local/src/httpd-2.0.43/srclib/apr-util/libaprutil-0.la -lgdbm -ldb -lexp
at /home/jbarrett/local/src/httpd-2.0.43/srclib/apr/libapr-0.la -lm -lcrypt -lnsl -ldl -L/usr/local/lib -lneon -lxml2 -lz -L/lib -lm
libtool: link: cannot find the library `'
make: *** [subversion/clients/cmdline/svn] Error 1

thanks,
+jeff

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 10 21:34:18 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.