[Bug 568435] Re: symbol lookup error: /usr/sbin/apache2: undefined symbol: apr_atomic_xchgptr
rael
raelga at gmail.com
Fri Dec 17 08:50:40 GMT 2010
I think the problem is that the apache are still using the old
libraries, i fix it removing manually the old libapr* that apache2 was
using (the path who shows ldd) and then reinstall the new libraries.
Hi!
I fix it removing manually the old libraries that I have on
/usr/local/lib and apache2 remains using that ones:
[CODE]root at posido:/home/rgarcia# cp -up /usr/local/lib/libapr* libapr/
root at posido:/home/rgarcia# rm -i /usr/local/lib/libapr*
rm: remove regular file `/usr/local/lib/libapr-1.a'? y
rm: remove regular file `/usr/local/lib/libapr-1.la'? y
rm: remove symbolic link `/usr/local/lib/libapr-1.so'? y
rm: remove symbolic link `/usr/local/lib/libapr-1.so.0'? y
rm: remove regular file `/usr/local/lib/libapr-1.so.0.2.12'? y
rm: remove regular file `/usr/local/lib/libaprutil-1.a'? y
rm: remove regular file `/usr/local/lib/libaprutil-1.la'? y
rm: remove symbolic link `/usr/local/lib/libaprutil-1.so'? y
rm: remove symbolic link `/usr/local/lib/libaprutil-1.so.0'? y
rm: remove regular file `/usr/local/lib/libaprutil-1.so.0.2.12'? y[/CODE]
and then reinstall the last version using the aptitude:
[code]root at posido:/home/rgarcia# aptitude install libaprutil1
libaprutil1-dev libapr1 libapr1-dev[/code]
and [B]It works![/B] :D
[code]root at posido:/home/rgarcia# /etc/init.d/apache2 start
* Starting web server apache2 <[/code]
If it doesn't work, check that you are using the correct apr libraries with
[CODE]root at posido:/home/rgarcia# ldd /usr/sbin/apache2
linux-vdso.so.1 => (0x00007fffe4123000)
libpcre.so.3 => /lib/libpcre.so.3 (0x00007f3a303b2000)
libaprutil-1.so.0 => [B]/usr/lib/libaprutil-1.so.0 [/B](0x00007f3a3018f000)
libapr-1.so.0 => [B]/usr/lib/libapr-1.so.0 [/B](0x00007f3a2ff59000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f3a2fd3c000)
libc.so.6 => /lib/libc.so.6 (0x00007f3a2f9b9000)
libuuid.so.1 => /lib/libuuid.so.1 (0x00007f3a2f7b3000)
librt.so.1 => /lib/librt.so.1 (0x00007f3a2f5ab000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f3a2f372000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f3a2f16d000)
libexpat.so.1 => /lib/libexpat.so.1 (0x00007f3a2ef44000)
/lib64/ld-linux-x86-64.so.2 (0x00007f3a3087d000)[/CODE]
I hope it helps.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.
https://bugs.launchpad.net/bugs/568435
Title:
symbol lookup error: /usr/sbin/apache2: undefined symbol: apr_atomic_xchgptr
More information about the Ubuntu-server-bugs
mailing list