Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
12-08-2008, 11:07 PM
|
#1
|
Member
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99
Rep:
|
/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.
|
12-09-2008, 12:49 AM
|
#3
|
Member
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99
Original Poster
Rep:
|
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.
|
|
|
12-09-2008, 02:01 AM
|
#4
|
Member
Registered: Oct 2005
Location: San Jose, CA
Distribution: Fedora, RHEL, CentOS
Posts: 136
Rep:
|
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
|
|
|
12-09-2008, 02:16 AM
|
#5
|
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591
Rep:
|
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.
|
|
|
12-09-2008, 07:34 AM
|
#6
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,307
Rep:
|
What's this doing in the Slackware forum?
|
|
|
12-09-2008, 08:34 AM
|
#7
|
Member
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99
Original Poster
Rep:
|
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.
|
|
|
12-09-2008, 08:59 AM
|
#8
|
Member
Registered: Jul 2007
Distribution: Fedora
Posts: 527
Rep:
|
dasoberdick,
If you still haven't got an answer, I think you need to install apr and/or apr-util, both from /slackware/l/.
|
|
|
12-09-2008, 11:49 AM
|
#9
|
Member
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99
Original Poster
Rep:
|
I just did that and I still get the same error.
|
|
|
05-07-2009, 10:21 AM
|
#10
|
LQ Newbie
Registered: May 2009
Posts: 1
Rep:
|
upgrade your httpd packages (httpd, apr and apr-util) for the lastest version published in "slackware-current".
bye
|
|
2 members found this post helpful.
|
05-07-2009, 11:59 AM
|
#11
|
Senior Member
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
|
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.
|
|
|
12-17-2010, 02:53 AM
|
#12
|
LQ Newbie
Registered: Dec 2010
Posts: 2
Rep:
|
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.
|
|
|
12-17-2010, 03:09 AM
|
#13
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,271
|
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.
|
12-18-2010, 03:52 AM
|
#14
|
LQ Newbie
Registered: Dec 2010
Posts: 2
Rep:
|
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.
|
|
|
12-18-2010, 04:32 AM
|
#15
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,271
|
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.
|
|
|
All times are GMT -5. The time now is 01:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|