Problems installing apache2 [for subversion] via ports

john_oshea at wordbank.com john_oshea at wordbank.com
Wed Jun 23 11:16:00 BST 2004


[List moderator, please ignore my other message pending approval - I 
forgot I wasn't subscribed using this address. Doh]


De-lurking in a rather crap way - hi all  :)

I'm attempting to get subversion installed on a fairly new machine 
and am stumbling at the 'get apache2 installed' stage. I'm wondering 
if anyone can point out where I'm going wrong.

In brief:

>cd /usr/ports/www/apache2
>make  -DWITH_BERKLEYDB=db42
>make  -DWITH_BERKLEYDB=db42 install

installs ok, or so it seems at first glance (httpd running and 
listening on port 80). Further checking shows a bunch of:

>/libexec/ld-elf.so.1: /usr/local/sbin/httpd: Undefined symbol 
>"apr_bucket_alloc_create"

in /var/log/httpd-error.log and browsing to the server in question 
brings up an empty page rather than the standard 'default apache' 
page.

Googling for "apr_bucket_alloc_create" doesn't get me back anything I 
can understand, tbh.

What am I missing? (apart from any idea on what to do now...)

Ta,

John


Some other (hopefully relevant) details:

root pigsy#> ldd /usr/local/sbin/httpd
/usr/local/sbin/httpd:
         libz.so.2 => /lib/libz.so.2 (0x280bd000)
         libssl.so.3 => /usr/local/lib/libssl.so.3 (0x280cb000)
         libcrypto.so.3 => /usr/local/lib/libcrypto.so.3 (0x280fc000)
         libaprutil-0.so.9 => /usr/local/lib/apache2/libaprutil-0.so.9 
(0x28200000)
         libexpat.so.5 => /usr/local/lib/libexpat.so.5 (0x28213000)
         libapr-0.so.9 => /usr/local/lib/apache2/libapr-0.so.9 (0x28233000)
         libm.so.2 => /lib/libm.so.2 (0x28250000)
         libcrypt.so.2 => /lib/libcrypt.so.2 (0x28269000)
         libc.so.5 => /lib/libc.so.5 (0x28282000)


>root pigsy#> uname -a
>FreeBSD pigsy.wordbank.com 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 
>#0: Thu Jun  3 18:30:25 BST 2004 
>root at pigsy.wordbank.com:/usr/obj/usr/src/sys/PIGSY  i386
-- 
John O'Shea, IT Services
Wordbank Limited
33 Charlotte Street, London W1T 1RR
Direct line: +44 (0) 20 7903 8829
Fax: +44 (0) 20 7903 8888
<http://www.wordbank.com/>




More information about the Ukfreebsd mailing list