Re: [CentOS] libapr issue - CentOS 4.7

2008-11-13 Thread Mogens Kjaer
Tom Brown wrote: ... > it seems to be getting changed back!! You should have moved the 0.9.6 file before running ldconfig, as I wrote. If something else depends upon the 0.9.6 file, this could be started after having set LD_LIBRARY_PATH to the directory where you've moved the 0.9.6 file. Mogens

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-13 Thread Tom Brown
After this, what does # ls -l /usr/lib/libaprutil-0.so.0 link to? it seems to be getting changed back!! # rm -f /usr/lib/libaprutil-0.so.0 # ln -s /usr/lib/libaprutil-0.so.0.9.4 /usr/lib/libaprutil-0.so.0 # ls -l /usr/lib/libaprutil-0.so.0 /usr/lib/libaprutil-0.so.0 -> /usr/lib/libaprutil

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-13 Thread Tom Brown
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 start

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Mogens Kjaer
Tom Brown wrote: # ll /usr/lib/libaprutil-0.so.0.9.6 If you move the 0.9.6 file to a safe place, change the symlink to the 0.9.4 file and run ldconfig, does httpd work? # rm -f /usr/lib/libaprutil-0.so.0 # ln -s /usr/lib/libaprutil-0.so.0.9.4 /usr/lib/libaprutil-0.so.0 # ldconfig

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Filipe Brandenburger
Hi On Wed, Nov 12, 2008 at 12:32, Tom Brown <[EMAIL PROTECTED]> 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 simi

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Tom Brown
# ll /usr/lib/libaprutil-0.so.0.9.6 If you move the 0.9.6 file to a safe place, change the symlink to the 0.9.4 file and run ldconfig, does httpd work? # rm -f /usr/lib/libaprutil-0.so.0 # ln -s /usr/lib/libaprutil-0.so.0.9.4 /usr/lib/libaprutil-0.so.0 # ldconfig # /etc/init.d/httpd

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Mogens Kjaer
Tom Brown wrote: .. > # ll /usr/lib/libaprutil-0.so.0.9.6 If you move the 0.9.6 file to a safe place, change the symlink to the 0.9.4 file and run ldconfig, does httpd work? What else doesn't work? :-) Mogens -- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Va

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Mogens Kjaer
Tom Brown wrote: > >> Do you also have the /usr/lib/libaprutil-0.so.0.9.4 file? >> >> What does >> >> # rpm -qf /usr/lib/libaprutil-0.so.0.9.6 >> >> write? >> >> > > # rpm -qf /usr/lib/libaprutil-0.so.0.9.6 > file /usr/lib/libaprutil-0.so.0.9.6 is not owned by any package That is strange; is

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Tom Brown
That is strange; is /usr/lib/libaprutil-0.so.0.9.6 a real file or a symlink? # ll /usr/lib/libaprutil-0.so.0.9.6 -rwxr-xr-x 1 root root 306917 Dec 11 2007 /usr/lib/libaprutil-0.so.0.9.6 Do you also have the /usr/lib/libaprutil-0.so.0.9.4 file? yeap - # ll /usr/lib/libaprutil-0

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Tom Brown
Do you also have the /usr/lib/libaprutil-0.so.0.9.4 file? What does # rpm -qf /usr/lib/libaprutil-0.so.0.9.6 write? # rpm -qf /usr/lib/libaprutil-0.so.0.9.6 file /usr/lib/libaprutil-0.so.0.9.6 is not owned by any package although thats a symlink created today - i presume by the http in

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Mogens Kjaer
Tom Brown wrote: ... > yes - although different version number > > # ll /usr/lib/libaprutil-0.so.0 > lrwxrwxrwx 1 root root 21 Nov 12 12:37 /usr/lib/libaprutil-0.so.0 -> > libaprutil-0.so.0.9.6 Do you also have the /usr/lib/libaprutil-0.so.0.9.4 file? What does # rpm -qf /usr/lib/libaprutil-0.

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Tom Brown
# ldd /usr/lib/libaprutil-0.so.0 libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00ca1000) libc.so.6 => /lib/tls/libc.so.6 (0x00324000) /lib/ld-linux.so.2 (0x00b77000) That was a short list! i know! - i was a bit surprised there Is /usr/lib/libaprutil-0.so.0 a s

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Mogens Kjaer
Tom Brown wrote: ... > # ldd /usr/lib/libaprutil-0.so.0 >libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00ca1000) >libc.so.6 => /lib/tls/libc.so.6 (0x00324000) >/lib/ld-linux.so.2 (0x00b77000) That was a short list! Is /usr/lib/libaprutil-0.so.0 a symlink to libaprutil-0.s

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Tom Brown
What does # ldd /usr/lib/libaprutil-0.so.0 write? I get: libldap-2.2.so.7 => /usr/lib/libldap-2.2.so.7 (0x009ab000) liblber-2.2.so.7 => /usr/lib/liblber-2.2.so.7 (0x00b42000) libdb-4.2.so => /lib/tls/i686/libdb-4.2.so (0x00111000) libexpat.so.0 => /usr/lib/lib

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Mogens Kjaer
Tom Brown 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] > > any clues here ?? What does # ldd /usr/lib/libaprutil-0.so.

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Tom Brown
A google search suggests relabeling, if SElinux is enabled: touch /.autorelabel reboot no selinux here ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Mogens Kjaer
Tom Brown 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] > > any clues here ?? A google search suggests relabeling, if SE

[CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Tom Brown
Hi I am trying to get httpd onto a freshly updated, although long time ago installed CentOS 4 box. Its fully updated to 4.7 however when trying to install httpd this is the error i get, well i should say install is fine but httpd cant start. # yum install httpd -- snip -- Dependencies Reso