symbol lookup error: /usr/sbin/apache2: undefined symbol: apr_atomic_xchgptr

Bug #568435 reported by Mario Schaefer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apache2 (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: apache2

apt-get install apache2
...
/etc/init.d/apache2 start
 * Starting web server apache2 /usr/sbin/apache2: symbol lookup error: /usr/sbin/apache2: undefined symbol: apr_atomic_xchgptr

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: apache2 2.2.14-5ubuntu8
ProcVersionSignature: Ubuntu 2.6.32-18.27-generic-pae 2.6.32.10+drm33.1
Uname: Linux 2.6.32-18-generic-pae i686
Architecture: i386
Date: Thu Apr 22 17:46:51 2010
InstallationMedia: Ubuntu-Server 10.04 "Lucid Lynx" - Beta i386 (20100317)
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: apache2

Revision history for this message
Mario Schaefer (webmaster-sz-online) wrote :
Revision history for this message
Chuck Short (zulcss) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we can't fix it because your description didn't include enough information. You may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem. We have instructions on debugging some types of problems at http://wiki.ubuntu.com/DebuggingProcedures.
At a minimum, we need:
1. the specific steps or actions you took that caused you to encounter the problem,
2. the behavior you expected, and
3. the behavior you actually encountered (in as much detail as possible).
Thanks!

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in apache2 (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Chuck Short (zulcss) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in apache2 (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
rael (raelga) wrote :

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@posido:/home/rgarcia# cp -up /usr/local/lib/libapr* libapr/
root@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@posido:/home/rgarcia# aptitude install libaprutil1 libaprutil1-dev libapr1 libapr1-dev[/code]

and [B]It works![/B] :D

[code]root@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@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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.