Starting httpd2 (prefork) /usr/sbin/httpd2-prefork: symbol lookup error: /usr/sbin/httpd2-prefork: undefined symbol: apr_atomic_xchgptr
Posted by admin on July 8th, 2008
<!–adsense–>
After upgrading from Apache2.2.8 to Aache2-2.2.9-22.1, you may have the following error while starting Apache2 webserver. This can happen on openSUSE or SUSE Linux
Starting httpd2 (prefork) /usr/sbin/httpd2-prefork: symbol lookup error: /usr/sbin/httpd2-prefork: undefined symbol: apr_atomic_xchgptr
To resolve this problem, update the following packages:
libapr-util
libapr1
apache-utils
opensuse11:~ # yast2 –update libapr1 libapr-util apache-utils
This should resolve the problem.
July 19th, 2008 at 5:41 am
Thank you very much for this nice article
July 31st, 2008 at 12:06 pm
Someone’s formatter got a little carried away on the command line and turned the — into an em dash. Replace the — with two hyphens and it works.
August 22nd, 2008 at 9:08 am
[...] Re: LAMP Help Strange. libapr-1.so.0 contains one or two apr_atomic_xchg* symbols but not apr_atomic_xchgptr. Could you have a foreign apache module installed from somewhere else, from an external package for Ruby perhaps? Do you have any non-OpenSUSE packages or software installed? Or perhaps a hangover from an older version of SUSE? Hah, ok, a search found the solution. You need to update some additional packages after the update to apache2, which I assume is because you got the latest version during the install. Starting httpd2 (prefork) /usr/sbin/httpd2-prefork: symbol lookup error: /usr/sbin/httpd2-prefork: u… [...]
October 23rd, 2008 at 10:09 pm
Worked on OpenSuSE 11 as root:
yast2 –update apache2-utils apache2-prefork libapr-util1 libapr1