You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by solo turn <so...@yahoo.com> on 2003/09/18 21:27:40 UTC

configure --with-berkeley-db=/my/local/db40 does not work?

configure ./configure --prefix=/my/local --with-berkeley-db=/wfhome/local/db40 does work, compile
works, but starting http gives the error:
ld.so.1: httpd: fatal: libdb-4.0.so: open failed: No such file or directory
Killed

httpd expects libdb-4.0.so in /my/local/lib. how can i set the parameters correctly?



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Re: configure --with-berkeley-db=/my/local/db40 does not work?

Posted by Aaron Bannert <aa...@clove.org>.
On Thu, Sep 18, 2003 at 12:27:40PM -0700, solo turn wrote:
> configure ./configure --prefix=/my/local --with-berkeley-db=/wfhome/local/db40 does work, compile
> works, but starting http gives the error:
> ld.so.1: httpd: fatal: libdb-4.0.so: open failed: No such file or directory
> Killed
> 
> httpd expects libdb-4.0.so in /my/local/lib. how can i set the parameters correctly?

Try something like this:

prompt% LDFLAGS="-L/wfhome/local/db40/lib" CFLAGS="-I/wfhome/local/db40/include" ./configure --prefix=/my/local --with-berkeley-db

-aaron

Re: configure --with-berkeley-db=/my/local/db40 does not work?

Posted by Aryeh Katz <ar...@secured-services.com>.
> configure ./configure --prefix=/my/local
> --with-berkeley-db=/wfhome/local/db40 does work, compile works, but
> starting http gives the error: ld.so.1: httpd: fatal: libdb-4.0.so:
> open failed: No such file or directory Killed
> 
> httpd expects libdb-4.0.so in /my/local/lib. how can i set the
> parameters correctly?
> 
Make sure the library is in your shared library path
e.g.
export LD_LIBRARY_PATH=/my/local/lib
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com


---
Aryeh Katz
Secured-Services Inc.