[nycbug-talk] advice sought on port upgrade problem

Jonathan Vanasco nycbug-list at 2xlp.com
Mon Nov 27 13:38:44 EST 2006


I can't seem to upgrade/install /usr/ports/www/libapreq2 anymore

I keep running into this error:

	/bin/sh ../libtool --tag=CC --mode=link cc  -O2 -fno-strict-aliasing  
-pipe    -o libapreq2.la -rpath /usr/local/lib -version-info 8:0:6  / 
usr/local/lib/apache2/libapr-0.la /usr/local/lib/apache2/ 
libaprutil-0.la  -ldb4 -lexpat -liconv -lm -lcrypt util.lo version.lo  
cookie.lo param.lo parser.lo parser_urlencoded.lo parser_header.lo  
parser_multipart.lo module.lo module_custom.lo module_cgi.lo  
error.lo  -L/usr/local
cc -shared  .libs/util.o .libs/version.o .libs/cookie.o .libs/ 
param.o .libs/parser.o .libs/parser_urlencoded.o .libs/ 
parser_header.o .libs/parser_multipart.o .libs/module.o .libs/ 
module_custom.o .libs/module_cgi.o .libs/error.o  -Wl,--rpath -Wl,/ 
usr/local/lib/apache2 -Wl,--rpath -Wl,/usr/local/lib/apache2 /usr/ 
local/lib/apache2/libapr-0.so /usr/local/lib/apache2/libaprutil-0.so - 
ldb4 -lexpat -liconv -lm -lcrypt -L/usr/local  -Wl,-soname - 
Wl,libapreq2.so.8 -o .libs/libapreq2.so.8
	/usr/bin/ld: cannot find -ldb4

i've got db4, db42 , db43, and db44 all installed.  even reinstalled  
them to redo package registration.

ldconfig -r shows me all of them:
         201:-ldb-4.3.0 => /usr/local/lib/libdb-4.3.so.0
         202:-ldb_cxx-4.3.0 => /usr/local/lib/libdb_cxx-4.3.so.0
         207:-ldb_cxx-4.2.2 => /usr/local/lib/libdb_cxx-4.2.so.2
         208:-ldb4_cxx.0 => /usr/local/lib/libdb4_cxx.so.0
         210:-ldb-4.4.0 => /usr/local/lib/libdb-4.4.so.0
         222:-ldb_cxx-4.4.0 => /usr/local/lib/libdb_cxx-4.4.so.0
         226:-ldb4.0 => /usr/local/lib/libdb4.so.0
         271:-ldb-4.2.2 => /usr/local/lib/libdb-4.2.so.2
         319:-ldb-4.2.2 => /usr/local/lib/db42/libdb-4.2.so.2
         320:-ldb_cxx-4.2.2 => /usr/local/lib/db42/libdb_cxx-4.2.so.2
         321:-ldb-4.3.0 => /usr/local/lib/db43/libdb-4.3.so.0
         322:-ldb_cxx-4.3.0 => /usr/local/lib/db43/libdb_cxx-4.3.so.0
         323:-ldb-4.4.0 => /usr/local/lib/db44/libdb-4.4.so.0
         324:-ldb_cxx-4.4.0 => /usr/local/lib/db44/libdb_cxx-4.4.so.0

so then I started redoing the ports it relies on, thinking maybe its  
an issue dealing with the library version

	reinstalled apr-svn
	reinstalled apache20

still no luck.

anyone have a clue on what I should try next?  I've contacted the  
port maintainer for advice, but this seems to deal more with  
generalized freebsd stuff that I don't really know about -- and  
really should have more exposure to.

So any pointers would be greatly appreciated.



More information about the talk mailing list