From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,afb80627b2b6908 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-04-12 07:13:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsbo.news.garr.it!newsrm.news.garr.it!NewsITBone-GARR!news.unina.it!not-for-mail From: Marco Newsgroups: comp.unix.tru64 Subject: Re: apache 2 compiler problem Date: Fri, 12 Apr 2002 16:13:35 +0200 Organization: C.D.S. Centro di Servizi Didattico Scientifico Message-ID: <3CB6EB8F.7050607@studenti.unina.it> References: <3CB42BCA.1040908@studenti.unina.it> NNTP-Posting-Host: 192.132.34.203 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.unina.it 1018620325 20147 192.132.34.203 (12 Apr 2002 14:05:25 GMT) X-Complaints-To: usenet@news.unina.it NNTP-Posting-Date: 12 Apr 2002 14:05:25 GMT User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9+) Gecko/20020408 X-Accept-Language: en-us, en Xref: archiver1.google.com comp.unix.tru64:7266 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