You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by t-systems-fitz <t-...@web.de> on 2003/05/16 13:27:20 UTC

[users@httpd] apache with my own libraries

Hello,

I have problems with running apache with ssl on a solaris 2.8 box. I use
apache 1.3.27, apache-ssl 1.48 and openssl 0.9.7. I absolute don't want to
use the ssl-libraries of the system (openssl 0.9.6), so I compiled openssl
0.9.7 with option shared and installed the libraries under /opt/apache/lib.
Now I configure apache-ssl like that:

LDFLAGS=-R/opt/apache/lib
./configure --prefix=/opt/apache --enable-module=proxy --enable-module=so --
enable-rule=SHARED_CORE

Unfortunately so so compiled httpsd doesn't start:

ld.so.1: /opt/apache/bin/httpsd: fatal: libssl.so.0.9.7: open failed: No
such file or directory

But if I use ldd I can see:

ldd /opt/apache/bin/httpsd
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libssl.so.0.9.7 =>       /opt/apache/lib/libssl.so.0.9.7
        libcrypto.so.0.9.7 =>    /opt/apache/lib/libcrypto.so.0.9.7
        libc.so.1 =>     /usr/lib/libc.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libthread.so.1 =>        /usr/lib/libthread.so.1
        /usr/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1

so ldd knows the corret path of my ss-libraries.

I don't want to set the LD_LIBRARY_PATH (this would work) and I don't want
to use and update the system-libraries (no root rights).

How can I compile apache that it uses my own libraries in /opt/apache/lib
????

best regards fitz



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org