You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/09/18 23:41:55 UTC

DO NOT REPLY [Bug 12790] New: - pcre fails to build with linked libssl.so.0.9.6g

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=12790>.
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=12790

pcre fails to build with linked libssl.so.0.9.6g

           Summary: pcre fails to build with linked libssl.so.0.9.6g
           Product: Apache httpd-2.0
           Version: 2.0.40
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: ann.keane@noaa.gov


When compiling apache with openssl.0.9g compiled as a shared library, apache
configured with:

./configure --enable-mods-shared="ssl" --with-ssl=/usr/local/ssl

pcre fails to build with the error:

/bin/sh /root/httpd-2.0.40/srclib/apr/libtool --silent --mode=link gcc  -g -O2 -
pthread -DNO_DBM_REWRITEMAP    -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD
_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER   -I/root/
httpd-2.0.40/srclib/apr/include -I/root/httpd-2.0.40/srclib/apr-util/include -I.
 -I/root/httpd-2.0.40/os/unix -I/root/httpd-2.0.40/server/mpm/prefork -I/root/ht
tpd-2.0.40/modules/http -I/root/httpd-2.0.40/modules/filters -I/root/httpd-2.0.4
0/modules/proxy -I/root/httpd-2.0.40/include -I/usr/local/ssl/include/openssl -I
/usr/local/ssl/include -I/root/httpd-2.0.40/modules/dav/main -export-dynamic -L/
usr/local/ssl/lib   -o dftables -L/usr/local/ssl/lib dftables.lo -lssl -lcrypto
./dftables > /root/httpd-2.0.40/srclib/pcre/chartables.c
./dftables: error while loading shared libraries: libssl.so.0.9.6: cannot open s
hared object file: No such file or directory
make[3]: *** [/root/httpd-2.0.40/srclib/pcre/chartables.c] Error 127
make[3]: Leaving directory `/root/httpd-2.0.40/srclib/pcre'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/httpd-2.0.40/srclib/pcre'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/httpd-2.0.40/srclib'
make: *** [all-recursive] Error 1  

This is a RH linux 7.3.  libssl.so.0.9.6 from the latest openssl.0.9g and is
located in /usr/local/ssl. The build has no trouble finding it when openssl is
compiled static and mod_ssl is compiled static.

I can work around this by using a static version of openssl and compiling apache
with '--enable-ssl'.  A previous bug listing notes that apache cannot be
compiled with a shared libssl and a static mod_ssl or a static libssl and a dso
mod_ssl.

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

Looking forward to working with 2.0.

Thanks-
Ann

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org