httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel <dferra...@gmail.com>
Subject Re: [users@httpd] Self-compiled httpd and OpenSSL: Trying to start httpd without using LD_LIBRARY_PATH
Date Fri, 08 Apr 2016 11:18:17 GMT
They key in the OP is here:

"I've compiled Apache HTTPD 2.4.18 with the following options:
cd /basedir/installers/httpd-2.4.18
OPENSSLDIR=/basedir/openssl/1.0.2g \" <-----

You compiled httpd against openssl 1.0.2g , so it is normal you have to add
LD_LIBRARY_PATH to use it and if you don't apache will look for the ssl
libs in needs in the paths it has (your system's)

El vie., 8 abr. 2016 a las 10:41, Rainer Canavan (<
rainer.canavan@sevenval.com>) escribió:

> On Fri, Apr 8, 2016 at 12:31 AM, Yann Ylavic <ylavic.dev@gmail.com> wrote:
> > On Thu, Apr 7, 2016 at 5:21 PM, Poggenpohl, Daniel
> > <daniel.poggenpohl@fernuni-hagen.de> wrote:
> >>
> >> LDFLAGS="-L$OPENSSLDIR/lib -R $OPENSSLDIR/lib"
> >
> > I don't know which compiler you are using, but gcc's -R is not working
> > correctly (on Linux at least), whereas "-Wl,-rpath,$OPENSSLDIR/lib"
> > is...
>
> -R used to work for us on Solaris with gcc to compile/link/run our own
> httpd / php / curl / openssl stack. However, I'm not sure which linker we
> used to use. If ldd claims it's picking up the correct libraries, I'd
> assume
> it should work at runtime as well.  In case there's any doubt, lsof may
> show
> which libraries are actually used.
>
>
> rainer
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message