[SunHELP] Help on ld.so.1
Adams, Christopher
sunhelp at sunhelp.org
Fri Mar 2 12:13:26 CST 2001
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C0A344.7E15ED66
Content-Type: text/plain;
charset="windows-1252"
Eduardo,
It looks like it is your LD_LIBRARY_PATH environment variable. Seems a
library that the httpd daemon is dependant on is being superseded by another
library that is being loaded first. ld.so.1 is reporting a loading problem
with the shared object file mod_env.so because it's not being loaded first.
Double check your LD_LIBRARY_PATH to see if it contains a path to mod_env.so
Your LD_LIBRARY_PATH should probably contain /space/apache/apache1/libexec
in it. I can probably help you further if I knew what your LD_LIBRARY_PATH
looked like. If you really aren't sure about when the library is getting
loaded and what's getting loaded first then try starting up Apache with this
command in front of the executable 'ldd' then type the command to start up
Apache. This will tell you which libraries are getting loaded first and in
what order. Really what you should do if you aren't to keen on Solaris 2.7
system libraries is to just try playing with your LD_LIBRARY_PATH by
rearranging some of the order in it. Make a backup copy just in case.
If none of this helps you, then send me a copy of your LD_LIBRARY_PATH and I
will take a look at it.
Good Luck
Christopher Adams
Starbase Corp.
Santa Ana, Ca.
Tele: 714-445-4447
E-Mail: cadams at Starbase.com
-----Original Message-----
From: Eduardo Valido Cabrera [mailto:evalido at gmv.es]
Sent: Thursday, March 01, 2001 8:50 AM
To: sunhelp at sunhelp.org
Subject: [SunHELP] Help on ld.so.1
Hello,
I have several problems building Apache with DSO support in SunOS 5.7
After I built it, when I try to start the Apache server, it reports the
following message:
Cannot load /space/apache/apache1/libexec/mod_env.so into server:
ld.so.1: /space/apache/apache1/bin/httpd: fatal: relocation error: file
/space/apache/apache1/libexec/mod_env.so: symbol ap_palloc: referenced
symbol not found
./apachectl start: httpd could not be started
I would appreciate it if you help me.
Thanks in advance.
Eduardo.
_______________________________________________
SunHELP maillist - SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp
------_=_NextPart_001_01C0A344.7E15ED66
Content-Type: text/html;
charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dwindows-1252">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2448.0">
<TITLE>RE: [SunHELP] Help on ld.so.1</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Eduardo,</FONT>
</P>
<P><FONT SIZE=3D2>It looks like it is your LD_LIBRARY_PATH environment =
variable. Seems a library that the httpd daemon is dependant on =
is being superseded by another library that is being loaded =
first. ld.so.1 is reporting a loading problem with the shared =
object file mod_env.so because it's not being loaded first. =
Double check your LD_LIBRARY_PATH to see if it contains a path to =
mod_env.so Your LD_LIBRARY_PATH should probably contain =
/space/apache/apache1/libexec in it. I can probably help you =
further if I knew what your LD_LIBRARY_PATH looked like. If you =
really aren't sure about when the library is getting loaded and what's =
getting loaded first then try starting up Apache with this command in =
front of the executable 'ldd' then type the command to start up =
Apache. This will tell you which libraries are getting loaded =
first and in what order. Really what you should do if you aren't =
to keen on Solaris 2.7 system libraries is to just try playing with =
your LD_LIBRARY_PATH by rearranging some of the order in it. Make =
a backup copy just in case.</FONT></P>
<P><FONT SIZE=3D2>If none of this helps you, then send me a copy of =
your LD_LIBRARY_PATH and I will take a look at it.</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Good Luck</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=3D2>Christopher Adams</FONT>
<BR><FONT SIZE=3D2>Starbase Corp.</FONT>
<BR><FONT SIZE=3D2>Santa Ana, Ca.</FONT>
<BR><FONT SIZE=3D2>Tele: 714-445-4447</FONT>
<BR><FONT SIZE=3D2>E-Mail: cadams at Starbase.com</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Eduardo Valido Cabrera [<A =
HREF=3D"mailto:evalido at gmv.es">mailto:evalido at gmv.es</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, March 01, 2001 8:50 AM</FONT>
<BR><FONT SIZE=3D2>To: sunhelp at sunhelp.org</FONT>
<BR><FONT SIZE=3D2>Subject: [SunHELP] Help on ld.so.1</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Hello,</FONT>
<BR><FONT SIZE=3D2>I have several problems building Apache with DSO =
support in SunOS 5.7</FONT>
</P>
<P><FONT SIZE=3D2>After I built it, when I try to start the Apache =
server, it reports the</FONT>
<BR><FONT SIZE=3D2>following message:</FONT>
</P>
<P><FONT SIZE=3D2>Cannot load /space/apache/apache1/libexec/mod_env.so =
into server:</FONT>
<BR><FONT SIZE=3D2>ld.so.1: /space/apache/apache1/bin/httpd: fatal: =
relocation error: file</FONT>
<BR><FONT SIZE=3D2>/space/apache/apache1/libexec/mod_env.so: symbol =
ap_palloc: referenced</FONT>
<BR><FONT SIZE=3D2>symbol not found</FONT>
<BR><FONT SIZE=3D2>./apachectl start: httpd could not be started</FONT>
</P>
<P><FONT SIZE=3D2>I would appreciate it if you help me.</FONT>
</P>
<P><FONT SIZE=3D2>Thanks in advance.</FONT>
</P>
<P><FONT SIZE=3D2>Eduardo.</FONT>
</P>
<P><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>SunHELP maillist - =
SunHELP at sunhelp.org</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://www.sunhelp.org/mailman/listinfo/sunhelp" =
TARGET=3D"_blank">http://www.sunhelp.org/mailman/listinfo/sunhelp</A></F=
ONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C0A344.7E15ED66--
More information about the SunHELP
mailing list