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

configure fails on apr-util due to BerkeleyDB.4.3 on IRIX - unresolved symbols pthread_*

From: Himanshu Gohel <gohel_at_cse.usf.edu>
Date: 2005-09-11 18:43:00 CEST

It's been a while since I built anything on SGI's IRIX 6.5, but I was able
to build BerekeleyDB 4.3.28 without a hitch. Installed it in the default
location, /usr/local/BerkeleyDB.4.3 and it seems OK.

Attempting to build subversion 1.2.3, and I'm running into a problem while
configuring apr-util which attempts to link to the installed db4.

First let me say that I've looked through the mailing list archives and I
did find one similar issue (with resolution) posted for Linux, but that
doesn't seem to work for me. [As an aside for subversion admins: I could
not get the search mailing list to work under Firefox...searching for
"configure" returns nothing, but sifting through the messages, I see several
messages with that word in the subject line!]

Anyway, so here's the config command:

LD_LIBRARYN32_PATH=${LD_LIBRARYN32_PATH}:/usr/local/BerkeleyDB.4.3/lib \
./configure --with-berkeley-db=/usr/local/BerkeleyDB.4.3 --with-ssl

LD_LIBRARYN32_PATH is unique to SGI IRIX, but it does help configure find
the libs. However, I get this error:

checking for Berkeley DB 4.3 in /usr/local/BerkeleyDB.4.3...
checking db43/db.h usability... no
checking db43/db.h presence... no
checking for db43/db.h... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for -ldb-4.3... 155653:./conftest: rld: Error: unresolvable symbol
in /usr/local/BerkeleyDB.4.3/lib/libdb-4.3.so: pthread_mutexattr_destroy
155653:./conftest: rld: Error: unresolvable symbol in
/usr/local/BerkeleyDB.4.3/lib/libdb-4.3.so: pthread_condattr_destroy
155653:./conftest: rld: Error: unresolvable symbol in
/usr/local/BerkeleyDB.4.3/lib/libdb-4.3.so: pthread_mutexattr_init
155653:./conftest: rld: Error: unresolvable symbol in
/usr/local/BerkeleyDB.4.3/lib/libdb-4.3.so: pthread_condattr_setpshared
155653:./conftest: rld: Error: unresolvable symbol in
/usr/local/BerkeleyDB.4.3/lib/libdb-4.3.so: pthread_mutexattr_setpshared
155653:./conftest: rld: Error: unresolvable symbol in
/usr/local/BerkeleyDB.4.3/lib/libdb-4.3.so: pthread_condattr_init
155653:./conftest: rld: Fatal Error: this executable has unresolvable
symbols
No

Then the script goes on to try DB43, 42, ...etc. and eventually fails. I
also tried the above by setting LD_FLAGS=-L/usr/local/BerkeleyDB.4.3/lib,
but in that case the configure script wasn't even able to find the libraries
at all.

Can anyone tell me if there's something specific about IRIX that I need to
turn on, to resolve these ptrhead_* symbols?

Thanks.

--
Himanshu, gohel@csee.usf.edu
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Sep 11 18:45:00 2005

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

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