LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-08-2008, 11:07 PM   #1
dasoberdick
Member
 
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99

Rep: Reputation: 15
/usr/sbin/httpd: symbol lookup error: /usr/sbin/httpd: undefined symbol: apr_atomic_x


After a few google searches I cant find a solution to this that makes sense. When I run /etc/rc.d/rc.httpd start I get

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

same thing happens when I run apachectl start. Has anyone else seen this problem?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 12-09-2008, 12:36 AM   #2
thedonkdonk
Member
 
Registered: Oct 2005
Location: San Jose, CA
Distribution: Fedora, RHEL, CentOS
Posts: 136

Rep: Reputation: 16
Quick google search shows this:
http://www.susegeek.com/webserver/st...gptr/#more-139

If that does not work, reply back.
 
Old 12-09-2008, 12:49 AM   #3
dasoberdick
Member
 
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99

Original Poster
Rep: Reputation: 15
yeah I found that on the first search I did but then I couldn't remember what I searched for to find that. It was the most helpful so far but I couldn't find a convenient way to install those so I continued my search hoping to find something simpler. So anyways, I don't know how to install those, I cant even find them.
 
Old 12-09-2008, 02:01 AM   #4
thedonkdonk
Member
 
Registered: Oct 2005
Location: San Jose, CA
Distribution: Fedora, RHEL, CentOS
Posts: 136

Rep: Reputation: 16
What distro are you using?

fedora 4 - 10, red hat 5 and centos would be: sudo yum -y install libapr-util libapr1 apache-utils

older red hat and fedora would be: up2date -i libapr-util libapr1 apache-utils

debian and ubuntu would be: sudo apt-get -y install libapr-util libapr1 apache-utils
 
Old 12-09-2008, 02:16 AM   #5
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
there are rpms "libapreq2". Search for that term (APacheREQ-Utilities)

for Apache2 be sure to install libapreq2!

Last edited by j-ray; 12-09-2008 at 02:18 AM.
 
Old 12-09-2008, 07:34 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
What's this doing in the Slackware forum?
 
Old 12-09-2008, 08:34 AM   #7
dasoberdick
Member
 
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99

Original Poster
Rep: Reputation: 15
yeah the real question is why are people asking me what distro I am using. this is in the slackware forum cause I am using slackware 12.1. I know there are programs to convert .rpm to .tgz but I have never had any success with them.
 
Old 12-09-2008, 08:59 AM   #8
rg3
Member
 
Registered: Jul 2007
Distribution: Fedora
Posts: 527

Rep: Reputation: Disabled
dasoberdick,

If you still haven't got an answer, I think you need to install apr and/or apr-util, both from /slackware/l/.
 
Old 12-09-2008, 11:49 AM   #9
dasoberdick
Member
 
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99

Original Poster
Rep: Reputation: 15
I just did that and I still get the same error.
 
Old 05-07-2009, 10:21 AM   #10
claytondias
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 2
Cool

upgrade your httpd packages (httpd, apr and apr-util) for the lastest version published in "slackware-current".


bye
 
2 members found this post helpful.
Old 05-07-2009, 11:59 AM   #11
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
yeah the real question is why are people asking me what distro I am using.
@dasoberdick: updating your profile might help so folks can tell what you are running.
 
Old 12-17-2010, 02:53 AM   #12
rael
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
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
then reinstall the last version of libaprutil1 libaprutil1-dev libapr1 libapr1-dev and check that apache2 are using the correct apr libraries with ldd

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 => /usr/lib/libaprutil-1.so.0 (0x00007f3a3018f000)
	libapr-1.so.0 => /usr/lib/libapr-1.so.0 (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)

and It works!

Code:
root@posido:/home/rgarcia# /etc/init.d/apache2 start
 * Starting web server apache2                                                               [ OK ]
I hope it helps.

Last edited by rael; 12-17-2010 at 02:57 AM.
 
Old 12-17-2010, 03:09 AM   #13
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Code:
/etc/init.d/apache2 start
I think people is in for jokes this christmas.

- this is a slackware forum.
- do not resurrect old threads but open new ones in the appropriate forum.

Last edited by ponce; 12-17-2010 at 03:10 AM.
 
1 members found this post helpful.
Old 12-18-2010, 03:52 AM   #14
rael
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
Well you can change the command launcher for /etc/rc.d/rc.httpd start, apachectl start or whatever. I think that the distribution doesn't matter at all on this problem...

I check this thread when I was looking for a solution.. and I don't want to resurrect an old thread, just want to add a solution that works for my.
 
Old 12-18-2010, 04:32 AM   #15
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Code:
libaprutil1 libaprutil1-dev libapr1 libapr1-dev
this packages doesn't exists in slackware too (the -dev, btw, shouldn't be related to *running* apache).
you should post your solutions in your distribution specific forum because they apply to that.
plus you have installed stuff in /usr/local that breaks normal functioning of the distro's packages, you have to specify that, because it was the cause of your specific problem.

and more, the OP got this problem two years ago with slackware 12.1, he surely have found alternatives (and maybe updated his distro).

Last edited by ponce; 12-18-2010 at 04:37 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
./firefox-bin :symbol lookup error:/lib/libgthread-2.0.so.0: undefined symbol: arulupsaras Linux - General 1 11-08-2008 04:48 AM
symbol lookup error: /usr/lib/libgtk-x11.2.0.so.0: undefined symbol:... IamI Slackware 17 02-29-2008 11:10 AM
Workaround: 'symbol lookup error: k3b: undefined symbol: lstat64' devdol Linux - Software 2 02-15-2008 03:36 AM
./firefox-bin: symbol lookup error: /usr/lib/libpango-1.0.so.0: undefined symbol: g_s cb8100 Slackware 3 10-05-2006 10:55 AM
Starting httpd: /usr/sbin/httpd: symbol lookup error: /usr/local/lib/libaprutil-0.so. bijuhpd Linux - Newbie 1 10-30-2005 05:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration