ports/59720: www/apache2: ab fails with Undefined symbol "gdbm_errno"

Clement Laforet sheepkiller at cultdeadsheep.org
Wed Nov 26 23:30:25 UTC 2003


The following reply was made to PR ports/59720; it has been noted by GNATS.

From: Clement Laforet <sheepkiller at cultdeadsheep.org>
To: Peter Schuller <peter.schuller at infidyne.com>
Cc: FreeBSD-gnats-submit at FreeBSD.org
Subject: Re: ports/59720: www/apache2: ab fails with Undefined symbol
 "gdbm_errno"
Date: Thu, 27 Nov 2003 00:24:23 +0100

 On Wed, 26 Nov 2003 23:59:24 +0100 (CET)
 Peter Schuller <peter.schuller at infidyne.com> wrote:
 
 Hi Peter !
  
 > 	/usr/local/lib/libaprutil-0.so.9 was installed by package
 > 	apr-gdbm-db4-0.9.4_3
 
         libaprutil-0.so.9 => /usr/local/lib/libaprutil-0.so.9 (0x28195000)
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         libapr-0.so.9 => /usr/local/lib/libapr-0.so.9 (0x281c5000)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         It seems that your apache has been linked againt apr port instead of apache one.
 	This should be the correct linking:
 
 /usr/local/sbin/ab:
         libz.so.2 => /lib/libz.so.2 (0x28084000)
         libssl.so.3 => /usr/local/lib/libssl.so.3 (0x28092000)
         libcrypto.so.3 => /usr/local/lib/libcrypto.so.3 (0x280c3000)
         libaprutil-0.so.9 => /usr/local/lib/apache2/libaprutil-0.so.9 (0x281c9000)
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         libexpat.so.4 => /usr/local/lib/libexpat.so.4 (0x281dc000)
         libapr-0.so.9 => /usr/local/lib/apache2/libapr-0.so.9 (0x281fc000)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         libm.so.2 => /lib/libm.so.2 (0x28219000)
         libcrypt.so.2 => /lib/libcrypt.so.2 (0x28232000)
         libc.so.5 => /lib/libc.so.5 (0x2824b000)
 
 > 	/usr/local/lib/libssl.so.3 was installed by package
 > 	openssl-0.9.7c/usr/local/lib/libexpat.so.4 was installed by
 > 	package expat-1.95.6_1/usr/local/lib/libapr-0.so.9 was installed
 > 	by package apr-gdbm-db4-0.9.4_3
 
 In fact it's a conflict between apache2's apr and apr.
 
 I gonna try to fix this for PORTREVISION 2 (I like feeding my ToDoList
 ;)
 If you really want to use ab (you should use siege), please remove your
 apr port, and reinstall apache2 port.
 
 Thanks for the report !
 
 regards,
 clem



More information about the freebsd-ports-bugs mailing list