From: Marco <marco@studenti.unina.it>
Subject: Re: apache 2 compiler problem
Date: Fri, 12 Apr 2002 16:13:35 +0200 [thread overview]
Message-ID: <3CB6EB8F.7050607@studenti.unina.it> (raw)
In-Reply-To: a94h95$naj$1@news.ndsu.nodak.edu
Tim Mooney wrote:
> Your libapr.so shared object requires a symbol that /sbin/loader can't find.
> It's probably having problems finding the OpenSSL library, which was likely
> built as a shared library as well. You should be able to run
>
> ldd /usr/local/apache2/lib/libapr.so
>
> and see which shared objects the loader can't find.
this is the output from ldd
# ldd /usr/local/apache2/lib/libapr.so
Main => /usr/local/apache2/lib/libapr.so
libc.so => /usr/shlib/libc.so
#
and this the output from
# odump -D /usr/local/ssl/lib/libssl.so
***DYNAMIC SECTION***
Tag Value
/usr/local/ssl/lib/libssl.so:
UNREFEXTNO: 14.
LOCAL_GOTNO: 104.
GOTSYM: 180.
LOCAL_GOTNO: 442.
GOTSYM: 517.
SONAME: libssl.so
TIME_STAMP: (0x3cb6d157) Fri Apr 12 14:21:43 2002
ICHECKSUM: 0xc6bc75ea
IVERSION: 0.9.6
CONFLICT: 0x000003ffbfeb2b80
CONFLICTNO: 1.
RLD_VERSION: 2.
HASH: 0x000003ffbfeb9520
STRTAB: 0x000003ffbfeb3cc0
SYMTAB: 0x000003ffbfeb61a0
MSYM: 0x000003ffbfeb2b90
STRSZ: 9431.
SYMENT: 24.
PLTGOT: 0x000003fffffd3cf0
SYMTABNO: 549.
BASE_ADDRESS: 0x000003ffbfeb0000
RELSZ: 9104.
RELENT: 16.
REL: 0x000003ffbfeb07f0
RPATH: /usr/local/ssl/lib
LIBLISTNO: 2.
LIBLIST: 0x000003ffbfeb07c0
NEEDED: libcrypto.so
NEEDED: libc.so
INIT: 0x000003ffbfee7550
FINI: 0x000003ffbfee7590
FLAGS: 0x00000001
# ldd /usr/local/ssl/lib/libssl.so
Main => /usr/local/ssl/lib/libssl.so
libcrypto.so => /usr/local/ssl/lib/libcrypto.so
libc.so => /usr/shlib/libc.so
>
> You either need to make sure that when libapr.so is created, the linker is
> told of additional directories to search for shared objects, or you need
> to build the search path into the underlying shared objects themselves.
the libapr.so is created I get no errors from the linker
i had also tried to set the RPATH to point to
/usr/local/ssl/lib
this is my environment :
RPATH=/usr/local/ssl/lib
USER=root
MACHTYPE=alphaev6-dec-osf5.1
SHLVL=1
SHELL=/bin/sh
HOSTTYPE=alphaev6
OSTYPE=osf5.1
HOME=/
TERM=vt100
PATH=/sbin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/bin/X11:/usr/local
_=/usr/bin/env
> I prefer the latter, because it makes it very easy to link with *and use*
> libraries that are installed in places out of the standard loader search path.
>
> Assuming that it is the OpenSSL library that the loader can't find, consider
> rebuilding your OpenSSL library using the (non-default) config target of
> `alpha-cc-rpath'. I contributed the code to make that target available,
> and I know it works because I've been using it for a long time. Once you
> have the OpenSSL library rebuilt, you should be able to run
>
> odump -D /path/to/lib/libssl.so
>
> and see an
>
> RPATH: /path/to/lib
>
> entry. Once you have that, you can rebuild Apache and it should be able to
> find OpenSSL from that point on.
>
after extracting openssl-0.9.6c.tar.gz
i configured with this command
# ./Configure alpha-cc-rpath shared
is it wrong ?
finally i have configured apache again with this options :
# ./configure --with-mpm=prefork --enable-ssl --with-ssl=/usr/local/ssl
--enable-cgi --enable-rewrite --enable-speling --enable-so
but I always get the same error from the loader
regards
Marco De Simone
prev parent reply other threads:[~2002-04-12 14:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-10 12:10 apache 2 compiler problem Marco
2002-04-11 17:31 ` Tim Mooney
2002-04-12 14:13 ` Marco [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox