You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mark Everett <Ma...@sas.com> on 2003/01/17 16:52:50 UTC

[users@httpd] Runtime failure of httpd v2.0.43 on Solaris 8: fatal: libaprutil-0.so.0: open failed

Greetings,

I have been unable to successfully execute apache v2.0.43 under Solaris 8.  
I have compiled under both GCC v3.2.1 and Sun's professional C compiler 
(configure options can be seen below).  When I attempt to execute the 
httpd binary, I receive an error about libaprutil-0.so.0 missing.  This
file appears as a symlink to libaprutil-0.so.0.9.2 within the lib dir.

Thanks in advance for any suggestions.

-Mark

$ ./httpd -v
ld.so.1: ./httpd: fatal: libaprutil-0.so.0: open failed: No such file or directory
Killed

Config cmd:
CC="cc" OPTIM="-O2" ./configure \
        --prefix=/opt/apache-2.0.43 \
        --enable-mods-shared=most

$ cd /opt/apache/lib
$ ll libapr*
-rw-r--r--   1 root     other    3366508 Jan 17 10:27 libapr-0.a
-rw-r--r--   1 root     other        670 Jan 17 10:27 libapr-0.la
lrwxrwxrwx   1 root     other         17 Jan 17 10:30 libapr-0.so -> libapr-0.so.0.9.2
lrwxrwxrwx   1 root     other         17 Jan 17 10:30 libapr-0.so.0 -> libapr-0.so.0.9.2
-rwxr-xr-x   1 root     other     482820 Jan 17 10:27 libapr-0.so.0.9.2
-rw-r--r--   1 root     other    2084008 Jan 17 10:27 libaprutil-0.a
-rw-r--r--   1 root     other        694 Jan 17 10:27 libaprutil-0.la
lrwxrwxrwx   1 root     other         21 Jan 17 10:30 libaprutil-0.so -> libaprutil-0.so.0.9.2
lrwxrwxrwx   1 root     other         21 Jan 17 10:30 libaprutil-0.so.0 -> libaprutil-0.so.0.9.2
-rwxr-xr-x   1 root     other     312960 Jan 17 10:27 libaprutil-0.so.0.9.2

---------------------------------------------------------------------
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] Runtime failure of httpd v2.0.43 on Solaris 8: fatal: libaprutil-0.so.0: open failed

Posted by Evan Borgstrom <ev...@mirrored.ca>.
Try using crle instead; man crle

ie:
crel -l /usr/local/lib:/usr/local/apache/lib:/usr/lib

On Fri, 2003-01-17 at 11:01, Joshua Slive wrote:
> 
> On Fri, 17 Jan 2003, Mark Everett wrote:
> 
> > Greetings,
> >
> > I have been unable to successfully execute apache v2.0.43 under Solaris 8.
> > I have compiled under both GCC v3.2.1 and Sun's professional C compiler
> > (configure options can be seen below).  When I attempt to execute the
> > httpd binary, I receive an error about libaprutil-0.so.0 missing.  This
> > file appears as a symlink to libaprutil-0.so.0.9.2 within the lib dir.
> 
> Getting Sun to find libraries has always been fun for me.  Usually I
> resort to setting the LD_LIBRARY_PATH env variable to include the relevant
> directory.
> 
> Joshua.
> 
> ---------------------------------------------------------------------
> 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
> 
-- 
Evan Borgstrom <ev...@mirrored.ca>
Mirrored.ca - Canadian Mirror Archive
ve


---------------------------------------------------------------------
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] Runtime failure of httpd v2.0.43 on Solaris 8: fatal: libaprutil-0.so.0: open failed

Posted by Zac Stevens <zt...@cryptocracy.com>.
On Fri, Jan 17, 2003 at 11:01:58AM -0500, Joshua Slive wrote:
> On Fri, 17 Jan 2003, Mark Everett wrote:
> > I have been unable to successfully execute apache v2.0.43 under Solaris 8.
> > I have compiled under both GCC v3.2.1 and Sun's professional C compiler
> > (configure options can be seen below).  When I attempt to execute the
> > httpd binary, I receive an error about libaprutil-0.so.0 missing.  This
> > file appears as a symlink to libaprutil-0.so.0.9.2 within the lib dir.
> 
> Getting Sun to find libraries has always been fun for me.  Usually I
> resort to setting the LD_LIBRARY_PATH env variable to include the relevant
> directory.

The simplest way (in this case) is building with

LDFLAGS="-R/path/to/apache/lib"

This forces the Apache libdir into dynamic linkers searchpath.  Also, check
out the following page for some notes about linking on Solaris and why
using LD_LIBRARY_PATH can cause grief down the track

http://www.dcs.warwick.ac.uk/user_guide/faq/ld_lib_path.html


Zac

---------------------------------------------------------------------
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] Runtime failure of httpd v2.0.43 on Solaris 8: fatal: libaprutil-0.so.0: open failed

Posted by Joshua Slive <jo...@slive.ca>.
On Fri, 17 Jan 2003, Mark Everett wrote:

> Greetings,
>
> I have been unable to successfully execute apache v2.0.43 under Solaris 8.
> I have compiled under both GCC v3.2.1 and Sun's professional C compiler
> (configure options can be seen below).  When I attempt to execute the
> httpd binary, I receive an error about libaprutil-0.so.0 missing.  This
> file appears as a symlink to libaprutil-0.so.0.9.2 within the lib dir.

Getting Sun to find libraries has always been fun for me.  Usually I
resort to setting the LD_LIBRARY_PATH env variable to include the relevant
directory.

Joshua.

---------------------------------------------------------------------
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