DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8629>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8629

make fails to detect libexpat.so correctly

           Summary: make fails to detect libexpat.so correctly
           Product: Apache httpd-2.0
           Version: 2.0.35
          Platform: PC
               URL: na
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: [EMAIL PROTECTED]


I tried to compile apache 2.035 on a linux system with libtool-1.4-8,
automake-1.4p5-2, expat-1.95.2-1. The configure process appears to properly
setect my expat libraries, however when I try a make the process stops at:

make[3]: Entering directory `/mnt/raid/local/tmp/httpd-2.0.35/srclib/pcre'
[snip]
/bin/sh /mnt/raid/local/tmp/httpd-2.0.35/srclib/apr/libtool --silent --mode=link
gcc  -g -O2 -pthread    -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-D_SVID_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER   -I.
-I/mnt/raid/local/tmp/httpd-2.0.35/os/unix
-I/mnt/raid/local/tmp/httpd-2.0.35/server/mpm/prefork
-I/mnt/raid/local/tmp/httpd-2.0.35/modules/http
-I/mnt/raid/local/tmp/httpd-2.0.35/modules/proxy
-I/mnt/raid/local/tmp/httpd-2.0.35/include
-I/mnt/raid/local/tmp/httpd-2.0.35/srclib/apr/include
-I/mnt/raid/local/tmp/httpd-2.0.35/srclib/apr-util/include
-I/usr/include/openssl -I/mnt/raid/local/tmp/httpd-2.0.35/modules/dav/main
-I/mnt/raid/local/tmp/httpd-2.0.35/srclib/apr-util/include -export-dynamic    -o
dftables  dftables.lo -lm -lcrypt -lnsl -ldl -lssl -lcrypto -ldb1
/usr/lib/libexpat.la
gcc: /usr/local/lib/libexpat.so: No such file or directory

For some reason the build process is looking for libexpat.so in the wrong place,
its in /usr/lib/. Why does it even need this dynmaic library it appears to be
linking to libexpat.la. Anyway if I create a dynmic link in /usr/local/lib/ to
libexpat.so, the build prcess finishes correctly

Reply via email to