Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-22-2004, 12:43 PM   #1
LQ Newbie
Registered: Mar 2004
Location: Calgary, Alberta, Canada
Distribution: Red hat, Freebsd, Solaris, etc.
Posts: 4

Rep: Reputation: 0
Question Updating Apache 2.0

I'm attempting to update an apache build on my server to 2.0.49. They've been done before a by a friend of mine, however it wasn't done right because I discovered when I do an ldd on httpd the libraries are still pointing at the libraries from the original install of Red Hat 9. here's the output of the ldd:

[xxxxx@xxxxxx bin]$ ldd httpd => /usr/lib/ (0x40034000) => /usr/lib/ (0x40042000) => /usr/lib/ (0x40071000) => /usr/local/apache/2.0.48/lib/ (0x40139000) => /usr/lib/ (0x4014f000) => /lib/ (0x40157000) => /usr/lib/ (0x401ff000) => /usr/local/apache/2.0.48/lib/ (0x4021f000) => /lib/tls/ (0x40240000) => /lib/ (0x4024d000) => /lib/tls/ (0x4025f000) => /lib/ (0x40281000) => /lib/ (0x402af000) => /lib/ (0x402c4000) => /lib/tls/ (0x42000000)
/lib/ => /lib/ (0x40000000)

My question is, how do I get it pointing at the right library files for this upgrade. I have already upgraded openssl on the system.
Old 03-22-2004, 10:07 PM   #2
Senior Member
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
If your installing from source you first have to remove the rpm version.
update with a rpm version. Try on
Old 03-23-2004, 10:41 AM   #3
LQ Newbie
Registered: Mar 2004
Location: Calgary, Alberta, Canada
Distribution: Red hat, Freebsd, Solaris, etc.
Posts: 4

Original Poster
Rep: Reputation: 0
actually, I didn't need to remove the rpm version. I discovered late last night that you can avoid that by changing the LD files before you configure the apache install, you can avoid a few problems. This is what I did:

export LD_RUN_PATH="/usr/local/openssl/current/lib:/usr/local/apache/<ver>/lib"
export LDFLAGS="-L/usr/local/openssl/current/lib -R/usr/local/openssl/current/lib"
export LD_LIBRARY_PATH="/usr/local/openssl/current/lib:/usr/local/apache/<ver>/lib"

Then I ran my configure:
./configure --prefix=/usr/local/apache/<ver> --enable-so --enable-mods-shared=<whatever mods you need> --with-ssl=/usr/local/openssl/current --with-mpm=worker

and what do you know, it used the right libraries.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Updating Apache rbl Linux - Newbie 1 09-12-2005 11:03 AM
Updating Apache 1.3 on Solaris cackley Solaris / OpenSolaris 2 12-26-2004 08:04 AM
Updating PHP on apache Daredevil Programming 3 05-25-2004 08:40 AM
updating apache! eros Linux - Software 0 01-05-2004 01:11 AM
Apache Web site updating? munzza Linux - Newbie 1 05-17-2002 02:51 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:59 PM.

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