You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by CJ <un...@yahoo.com> on 2003/11/14 16:18:18 UTC

[users@httpd] need help with apache2. Will not start

I receive the following erro but i have the
libdb-3.3.so.0 on the system and linked to libdb.a


ls -al libdb.a
lrwxrwxrwx   1 root     system           14 Nov 14
10:13 libdb.a -> libdb-3.3.so.0
 So why wont this start? 

./apachectl start
exec(): 0509-036 Cannot load program
/opt/freeware/apach2/bin/httpd because of the
following errors:
        0509-022 Cannot load module
/opt/freeware/apach2/lib/libaprutil-0.so.
        0509-150   Dependent module
/usr/local/lib/libdb.a(libdb-3.3.so.0) could not be
loaded.
        0509-152   Member libdb-3.3.so.0 is not found
in archive 
root@outland:/opt/freeware/apach2/bin> ./apachectl
start
exec(): 0509-036 Cannot load program
/opt/freeware/apach2/bin/httpd because of the
following errors:
        0509-022 Cannot load module
/opt/freeware/apach2/lib/libaprutil-0.so.
        0509-150   Dependent module
/usr/local/lib/libdb.a(libdb-3.3.so.0) could not be
loaded.
        0509-152   Member libdb-3.3.so.0 is not found
in archive 





=====
Blessed are the pessimists, for they make backups!
Tell me and I forget. Show me and I remember. Involve me and I learn."
10101010011100101001001000011010000001000100101010101010
0011001010100010110010101000010001010000

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] need help with apache2. Will not start

Posted by Kyle Dent <kd...@seaglass.com>.
On Fri, 14 Nov 2003, CJ wrote:

> I receive the following erro but i have the
> libdb-3.3.so.0 on the system and linked to libdb.a
>
> ls -al libdb.a
> lrwxrwxrwx   1 root     system           14 Nov 14
> 10:13 libdb.a -> libdb-3.3.so.0
>  So why wont this start?
>
> ./apachectl start
> exec(): 0509-036 Cannot load program
> /opt/freeware/apach2/bin/httpd because of the
> following errors:
>         0509-022 Cannot load module
> /opt/freeware/apach2/lib/libaprutil-0.so.
>         0509-150   Dependent module
> /usr/local/lib/libdb.a(libdb-3.3.so.0) could not be
> loaded.
>         0509-152   Member libdb-3.3.so.0 is not found
> in archive
> root@outland:/opt/freeware/apach2/bin> ./apachectl
> start
> exec(): 0509-036 Cannot load program
> /opt/freeware/apach2/bin/httpd because of the
> following errors:
>         0509-022 Cannot load module
> /opt/freeware/apach2/lib/libaprutil-0.so.
>         0509-150   Dependent module
> /usr/local/lib/libdb.a(libdb-3.3.so.0) could not be
> loaded.
>         0509-152   Member libdb-3.3.so.0 is not found
> in archive

It looks like your runtime linker can't find the shared library.
The best thing is to include the location when you build Apache.
Seems like you're using IRIX. If so, you need the -rpath option
in addition to the -L option for locating libraries when you
compile.

If you're using configure, include the option in the LDFLAGS
environment variable when you run it. With the IRIX compiler:

  $ LDFLAGS="-rpath/usr/local/lib" ./configure ...

(Where the dots are the rest of your normal options.)

If you're using gcc, do this instead:

  $ LDFLAGS="-Wl,-rpath/usr/local/lib" ./configure ...

If you're not on IRIX, check your linker's man page ld(1) to see
what option you need to include a runtime library search path.

Kyle


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org