How to force preferred library search path for Apache

This is a discussion on How to force preferred library search path for Apache within the Linux Web Servers forums, part of the Web Server and Related Forums category; Can someone tell me how to force a default path of "/usr/local/" to a new Apache installation. ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-24-2008
L. D. James
 
Posts: n/a
Default How to force preferred library search path for Apache

Can someone tell me how to force a default path of "/usr/local/" to a
new Apache installation.

I just install everything new and keep getting the error message:

libtool: link: cannot find the library `/usr/lib/libgdbm.la'

All Perl and all the libraries and packages have been installed to /
usr/local. The libgdbm.la file is in /usr/local/lib.

The system is a brand new hard drive with a new installation of Fedora
Core 8. I prefer not to bother with /usr/lib for my custom
installations because I don't want to interfere with the already
configuration of things such as sendmail and all the other distro
defaults.

I have installed the following packages and set them all to point to /
usr/local:
perl-5.8.8.tar.gz: /usr/local
httpd-2.2.8.tar.bz2: /usr/local
libtool-1.5.26.tar.gz: /usr/local
gdbm-1.8.3.tar.gz: /usr/local

I set the following link library flag:

export LDFLAGS="-L/usr/local/lib"

I cleaned and attempted to compile apache as such:

make distclean
../configure --libdir=/usr/local/lib
make

The configure completes without errors. The "make" errors with:
libtool: link: cannot find the library `/usr/lib/libgdbm.la'
Is there something else that I can do to force apache to forget /usr/
lib and use /usr/local/lib instead?
Thanks in advance for anyone with advice. Is there something hard
coded about apache that makes it totally depended on looking at /usr/
lib?
-- L. James
--
L. D. James
ljames@apollo3.com
www.apollo3.com/~ljames
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:19 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0