Grokbase
Topics Posts Groups | in
x
[ help ]

Re: libapr issue - CentOS 4.7

View PostFlat  Thread  Threaded | < Prev - Next >
Filipe Brandenburger Re: [CentOS] libapr issue - CentOS 4.7
| +1 vote
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Hi

On Wed, Nov 12, 2008 at 12:32, Tom Brown <tom@ng23.net> wrote:
> # /etc/init.d/httpd start
> Starting httpd: /usr/sbin/httpd: symbol lookup error:
> /usr/lib/libaprutil-0.so.0: undefined symbol: gdbm_errno
> [FAILED]

I've had a similar problem, and it was a software that had a custom
version of gdbm library and set LD_LIBRARY_PATH in profile to make
sure that version would be used.

Do you have LD_LIBRARY_PATH set? What does this command say:

# echo $LD_LIBRARY_PATH

If you do, try unsetting it before starting httpd:

# LD_LIBRARY_PATH= service httpd start

HTH,
Filipe
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos

Thread : libapr issue - CentOS 4.7
1)
Tom Brown Hi I am trying to get httpd onto a freshly updated, although long time ago installed CentOS 4 box....
2)
Mogens Kjaer A google search suggests relabeling, if SElinux is enabled: touch /.autorelabel reboot Mogens
3)
Tom Brown no selinux here
4)
Mogens Kjaer What does # ldd /usr/lib/libaprutil-0.so.0 write? I get: libldap-2.2.so.7 =>...
5)
Tom Brown # ldd /usr/lib/libaprutil-0.so.0 libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00ca1000) libc.so.6...
6)
Mogens Kjaer That was a short list! Is /usr/lib/libaprutil-0.so.0 a symlink to libaprutil-0.so.0.9.4 ? Mogens
7)
Tom Brown i know! - i was a bit surprised there yes - although different version number # ll...
8)
Mogens Kjaer Do you also have the /usr/lib/libaprutil-0.so.0.9.4 file? What does # rpm -qf...
9)
Tom Brown # rpm -qf /usr/lib/libaprutil-0.so.0.9.6 file /usr/lib/libaprutil-0.so.0.9.6 is not owned by any...
10)
Mogens Kjaer That is strange; is /usr/lib/libaprutil-0.so.0.9.6 a real file or a symlink? Do you also have the...
11)
Tom Brown # ll /usr/lib/libaprutil-0.so.0.9.6 -rwxr-xr-x 1 root root 306917 Dec 11 2007...
12)
Mogens Kjaer If you move the 0.9.6 file to a safe place, change the symlink to the 0.9.4 file and run ldconfig,...
13)
Tom Brown # rm -f /usr/lib/libaprutil-0.so.0 # ln -s /usr/lib/libaprutil-0.so.0.9.4...
14)
Filipe Brandenburger Hi I've had a similar problem, and it was a software that had a custom version of gdbm library and...
15)
Tom Brown thanks for the thought but LD_LIBRARY_PATH was not set - just for kicks i unset it anyhow and tried...
16)
Mogens Kjaer After this, what does # ls -l /usr/lib/libaprutil-0.so.0 link to? Mogens
17)
Tom Brown it seems to be getting changed back!! # rm -f /usr/lib/libaprutil-0.so.0 # ln -s...
18)
Mogens Kjaer You should have moved the 0.9.6 file before running ldconfig, as I wrote. If something else depends...
spacer
View PostFlat  Thread  Threaded | < Prev - Next >
Home > Groups > CentOS > libapr issue - CentOS 4.7 (18 posts) > View Post