You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Delaporte, Olivier" <ol...@idt.com> on 2004/06/23 00:21:48 UTC

RE: [users@httpd] Cannot successfully build Apache 2.049 on Solar is 9

Hello

Thank you for your reply: it makes perfect sense to me, but I do not know
how to do it. I tried to start Apache with the bash shell and with including
the apache/lib path in LD_LIBRARY_PATH, but still got the same error
message.

Regards

Olivier Delaporte

---------------------------------------------
Olivier Delaporte
Unix Systems Administrator
IDT  M/S C9-070
2975 Stender Way
Santa Clara, CA 95054
408-654-6443




-----Original Message-----
From: Boyle Owen [mailto:Owen.Boyle@swx.com] 
Sent: Friday, June 18, 2004 1:20 AM
To: users@httpd.apache.org
Subject: RE: [users@httpd] Cannot successfully build Apache 2.049 on Solaris
9


Plain text please...

Looks like a library which was on the LD_LIBRARY_PATH of the shell you
compiled apache with is not on the LD_LIBRARY_PATH of the shell you start
apache with.

Set the LD_LIBRARY_PATH in the start-up shell to match that of the compile
shell or set LDFLAGS during compilation and avoid using LD_LIBRARY_PATH
altogether.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 


Explanation:

When you compile a program, the code frequently calls routines in external
libraries. To find those libs, the shell will look in the directories listed
on its LD_LIBRARY_PATH (do "echo $LD_LIBRARY_PATH" to see it). When you then
run the compiled binary (probably in a different shell), it will encounter
the reference to the lib and look in its LD_LIBRARY_PATH for the lib. If the
LD_LIBRARY_PATHs are different across the two shells, you'll get the kind of
error you see. This is typical for apache where you might compile under your
own userid but run httpd as root. Setting both LD_LIBRARY_PATHs the same
should fix it.

Alternatively, before you compile, set the shell environment variable
"LDFLAGS" to point to the dirs with the libs (ie, same as LD_LIBRARY_PATH).
This causes the path to the lib to be stored along with the symbol reference
so that when the binary is executed, it will have the path built in and so
will find the lib without having to consult LD_LIBRARY_PATH.







-----Original Message-----
From: Delaporte, Olivier [mailto:olivier.delaporte@idt.com]
Sent: Donnerstag, 17. Juni 2004 22:08
To: users@httpd.apache.org
Subject: [users@httpd] Cannot successfully build Apache 2.049 on Solaris 9


Hello 
I am trying to build Apache 2.049 on Solaris 9 using gcc 3.1. I use the
following command to configure the server: 
../configure --prefix=/usr/local/apache --enable-mods-shared=most 
Make 
Make install. 
When I try to start the Apache server, I get the following error
message: 
# ./apachectl start 
Syntax error on line 237 of 
/apps/apache2/conf/httpd.conf: 
Cannot load /apps/apache2/modules/mod_auth_digest.so 
into server: ld.so.1: /apps/apache2/bin/httpd: fatal: relocation error: file

/apps/apache2/modules/mod_auth_digest.so: symbol 
__floatdidf: referenced symbol not found 
Any ideas as to what I am missing. 
Thank you 


--------------------------------------------- 
Olivier Delaporte 
Unix Systems Administrator 
IDT  M/S C9-070 
2975 Stender Way 
Santa Clara, CA 95054 
408-654-6443 
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen
Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of
a private and personal nature. It is not related to the exchange or business
activities of the SWX Group. Le présent e-mail est un message privé et
personnel, sans rapport avec l'activité boursière du Groupe SWX.

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please notify the sender urgently and
then immediately delete the message and any copies of it from your system.
Please also immediately destroy any hardcopies of the message. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. The sender's company
reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of the sender's company. 



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

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