[SunHELP] Apache problem on Solaris 8 SPARC box
Chris Pinnock
cjep at fawlty.net
Tue Nov 19 02:15:59 CST 2002
On Mon, Nov 18, 2002 at 09:26:10PM -0800, wade chy wrote:
> Hi All
> I have downloaded and installed Apache-1.3.27 from
> sunfreeware.com on a Solaris 8 sparc box. It requires
> openssl-0.9.6g. I have downloaded and installed it
> also. When I tried to start Apache, I get an error
> msg:
>
> Executing /etc/init.d/apache start ..
> httpd starting.
> ld.so.1: /usr/local/apache/bin/httpd: fatal:
> libexpat.so.0: open failed: No such file or directory
> Killed
> /usr/local/apache/bin/apachectl start: httpd could not
> be started
>
> As per instruction from sunfreeware.com my PATH is
> /usr/sbin:/usr/local/bin:/usr/bin:/usr/local/apache/bin:/usr/local/openssl/bin:
>
> LD_LIBRARY_PATH is /usr/loca/openssl/lib
> perl is in /usr/local/bin/perl
Where is your libexpat.so.0? Is it in /usr/local/lib?
If the library is on your system and cannot be found, you can fix this
in several ways:
1. Use
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/openssl/lib
export LD_LIBRARY_PATH
2. Use the crle command to fix a global runtime library path.
crle -u -l /usr/local/lib:/usr/local/openssl/lib
3. Setup the library dependencies at compile time by passing linker
flags:
-Wl,-R/usr/local/lib -Wl,-R/usr/local/openssl/lib
best wishes, Chris
More information about the SunHELP
mailing list