httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "O'DELL, TODD E (ATTOPS)" <to2...@att.com>
Subject RE: [users@httpd] Runtime definitions missing for 2.2.8 on AIX 5.3
Date Thu, 14 Feb 2008 21:08:28 GMT
Update:
After rebuilding Expat several times I explicitly disabled the static
build and enabled the shared ( though it's supposed to be shared by
default ) and the size changed and I'm now able to get different errors:


httpd: Syntax error on line 55 of
/web/apache/production/conf/httpd.conf: Cannot load
/web/apache/production/modules/mod_ssl.so into server: rtld: 0712-001
Symbol main was referenced\n      from module
/apps/support/packages/lib/libssl.so(), but a runtime definition\n
of the symbol was not found.\nrtld: 0712-001 Symbol main was
referenced\n      from module /apps/support/packages/lib/libcrypt
o.so(), but a runtime definition\n      of the symbol was not
found.\nrtld: 0712-002 fatal error: exiting.

The other mod's are loading fine. Does anyone know of a way to 'look at'
a library and know if it's shared or static? Those OpenSSL libs ought to
be shared but I'll have to look into that.

Todd

-----Original Message-----
From: O'DELL, TODD E (ATTOPS) 
Sent: Thursday, February 14, 2008 9:31 AM
To: users@httpd.apache.org
Subject: [users@httpd] Runtime definitions missing for 2.2.8 on AIX 5.3

I'm able to build the 2.2.8 Apache on a AIX 5.3 server. It will compile
and install but when I go to start it I get this:

exec(): 0509-036 Cannot load program httpd because of the following
errors:
rtld: 0712-001 Symbol XML_ParserFree was referenced
      from module /web/apache/production/lib/libaprutil-1.so(), but a
runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol XML_ParserCreate was referenced
      from module /web/apache/production/lib/libaprutil-1.so(), but a
runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol XML_SetUserData was referenced
      from module /web/apache/production/lib/libaprutil-1.so(), but a
runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol XML_SetElementHandler was referenced
      from module /web/apache/production/lib/libaprutil-1.so(), but a
runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol XML_SetCharacterDataHandler was referenced
      from module /web/apache/production/lib/libaprutil-1.so(), but a
runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol XML_Parse was referenced
      from module /web/apache/production/lib/libaprutil-1.so(), but a
runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol XML_GetErrorCode was referenced
      from module /web/apache/production/lib/libaprutil-1.so(), but a
runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol XML_ErrorString was referenced
      from module /web/apache/production/lib/libaprutil-1.so(), but a
runtime definition
      of the symbol was not found.
rtld: 0712-002 fatal error: exiting.

I'm on an AIX 5.3 server w/ the IBM XL C compiler.
vac.C                      8.0.0.0  COMMITTED  IBM XL C Compiler

The configure portion
CC="/usr/vac/bin/cc_r";
OBJECT_MODE=64
LDFLAGS="$LDFLAGS -L/apps/support/packages/lib"
LD_LIBRARY_PATH="/apps/support/packages/lib"
INCLUDE="-I/apps/support/packages/include"
CPPFLAGS="-I/apps/support/packages/include"

export CC
export OBJECT_MODE
export LDFLAGS
export LD_LIBRARY_PATH
export INCLUDE
export CPPFLAGS

./configure \
--prefix=/web/apache/production \
--enable-so \
--enable-rewrite=shared \
--enable-info=shared \
--enable-status=shared \
--enable-deflate=shared \
--with-z=/apps/support/packages \
--enable-ssl=shared \
--with-ssl=/apps/support/packages \
--with-expat=/apps/support/packages \
--disable-userdir \
--disable-autoindex

I have the openssl, expat and z libraries at /apps/support/packages/lib.

I'm fairly certain the Expat library is not included properly. I have
LIBPATH set to point to the location the libexpat.a is located. But I
thought that even if the Expat was shared shouldn't the compile and/or
link fail? Mainly what I'm wondering is there something I could check?
Does this simply mean the library was not found to load? 

I'm including the following files for reference:
Here's the configure running, make, and make install.
 <<config2.2.8-0214.log>> 

Any thoughts on this would be great!

Todd E. O'Dell
Assoc Tech Support Analysis Network
AT&T Operations
Room 1118
500 E. 8th
Kansas City, MO 64106
Office: (816)275-3626
to2958@att.com




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


Mime
View raw message