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-11 10:40:13 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!vixen.cso.uiuc.edu!hardy.tc.umn.edu!news.nodak.edu!not-for-mail From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Newsgroups: comp.unix.tru64 Subject: Re: apache 2 compiler problem Date: 11 Apr 2002 17:31:17 GMT Organization: North Dakota Higher Education Computing Network (NDHECN) Message-ID: References: <3CB42BCA.1040908@studenti.unina.it> NNTP-Posting-Host: dogbert.cc.ndsu.nodak.edu Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: news.ndsu.nodak.edu 1018546277 23891 134.129.106.23 (11 Apr 2002 17:31:17 GMT) X-Complaints-To: abuse@nodak.edu NNTP-Posting-Date: 11 Apr 2002 17:31:17 GMT X-Newsreader: trn 4.0-test74 (May 26, 2000) Originator: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Xref: archiver1.google.com comp.unix.tru64:7256 In article <3CB42BCA.1040908@studenti.unina.it>, Marco wrote: > # /usr/local/apache2/bin/apachectl start > 186251:/usr/local/apache2/bin/httpd: /sbin/loader: Fatal Error: call to > unresolved symbol from /usr/local/apache2/lib/libapr.so (pc=0x300000266d0) > /usr/local/apache2/bin/apachectl start: httpd could not be started 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. 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. 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. Tim -- Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J6, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164