How to add a user to the friend list?
Problem building  1.3.33 dynamic on Solaris 2.9 - Unresolved symbol ap_palloc on start up
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Apache HTTP Server > Problem building 1.3.33 dynamic on Solaris 2.9 - Unresolved symbol ap_palloc on start up 15 February 2005 11:40:58

  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Problem building 1.3.33 dynamic on Solaris 2.9 - Unresolved symbol ap_palloc on start up

Dan Saad 15 February 2005 11:40:58
 When building Apache 1.3.33 with a fairly standard dynamic configuration
I get the following error on an attempt to start the server:
--

Cannot load /usr/local/apache/l­ibexec/mod_env.so into server: ld.so.1:
/loc01/local/apache­_1.3.33/bin/httpd: fatal: relocation error: file
/usr/local/apache/l­ibexec/mod_env.so: symbol ap_palloc: referenced
symbol not found
./apachectl start: httpd could not be started

--

Prior to the configuration I set CC and OPTIM according to things I've
read:

CC=gcc
OPTIM=-O2

My configure command was:

./configure --prefix=/user/loca­l/apache --verbose \
--enable-module=mos­t --enable-shared=max­

The configure and build process seemed to have gone clean without error;
all shared objects were built and installed to libexec

I've searched the FAQ to no avail, searched Google but can't seem to
view some of the links at Geocrawler
(presented by Google).

I'm using gcc version 2.95.3

It tells me I have successfully built and installed the 1.3 http server
... and the symbol actually is
in the binary httpd.

[host] /usr/local/apache_1­.3.33/bin 244> nm httpd | grep -i ap_palloc
[827] | 75976| 120|FUNC |GLOB |0 |11 |ap_palloc

It seems maybe the loader is having a problem seeing the symbol when
attempting to load the first module.

Is there an Environment setting for the linker/loader I can adjust to
resolve this ?

Did I miss something ?

Any help would be greatly appreciated...

Dan

-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
Boyle Owen 15 February 2005 11:40:58 permanent link ]
 
-----Original Message-----> From: Saad, Dan (N-Computer Sciences Corp) [mailto:dan.saad@lmco.com]> Sent: Dienstag, 15. Februar 2005 02:17> To: users@httpd.apache.­org> Subject: [users@httpd] Problem building 1.3.33 dynamic on > Solaris 2.9 -> Unresolved symbol ap_palloc on start up>
When building Apache 1.3.33 with a fairly standard dynamic > configuration> I get the following error on an attempt to start the server:> -->
Cannot load /usr/local/apache/l­ibexec/mod_env.so into server: ld.so.1:> /loc01/local/apache­_1.3.33/bin/httpd: fatal: relocation error: file> /usr/local/apache/l­ibexec/mod_env.so: symbol ap_palloc: referenced> symbol not found> ./apachectl start: httpd could not be started

This sounds like the shell that's starting apache has a different
LD_LIBRARY_PATH than the shell that compiled apache. Either make sure
they're the same or compile using LDFLAGS to avoid needing
LD_LIBRARY_PATH, eg:

setenv LDFLAGS "-R/usr/lib:/usr/lo­cal/lib:/home/apache­/lib"

(This avoids LD_LIBRARY_PATH by building the paths into the binary so
they are used at runtime).

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.
-->
Prior to the configuration I set CC and OPTIM according to things I've> read:>
CC=gcc> OPTIM=-O2>
My configure command was:>
./configure --prefix=/user/loca­l/apache --verbose \> --enable-module=mos­t --enable-shared=max­>
The configure and build process seemed to have gone clean > without error;> all shared objects were built and installed to libexec>
I've searched the FAQ to no avail, searched Google but can't seem to> view some of the links at Geocrawler> (presented by Google).>
I'm using gcc version 2.95.3>
It tells me I have successfully built and installed the 1.3 > http server> ... and the symbol actually is> in the binary httpd.>
[host] /usr/local/apache_1­.3.33/bin 244> nm httpd | grep -i ap_palloc> [827] | 75976| 120|FUNC |GLOB |0 |11 |ap_palloc>
It seems maybe the loader is having a problem seeing the symbol when> attempting to load the first module.>
Is there an Environment setting for the linker/loader I can adjust to> resolve this ?>
Did I miss something ?>
Any help would be greatly appreciated...>
-------------------­--------------------­--------------------­----------> The official User-To-User support forum of the Apache HTTP > Server Project.> See <URL:http://httpd.a­pache.org/userslist.­html> for more info.> To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org> " from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg> For additional commands, e-mail: users-help@httpd.ap­ache.org>
Diese E-mail ist eine private und persГ¶nliche Kommunikation. Sie hat
keinen Bezug zur BГ¶rsen- bzw. GeschГ¤ftstГ¤tigkei­t 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.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Apache HTTP Server > Problem building 1.3.33 dynamic on Solaris 2.9 - Unresolved symbol ap_palloc on start up 15 February 2005 11:40:58

see also:
another bug in moving a tree
SV: WG: Infoglue1.3.2: JSP Support
SV: [Infoglue-users] Search engine
пройди тесты:
see also:
The things i hid from u
Love
I dont know wat to say

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .