[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cherokee
Subject:    Re: [Cherokee] problem compiling with ssl support under CentOS 5 +
From:       Jorge Sarmiento <jorge.sarmiento () gmail ! com>
Date:       2011-09-30 22:55:46
Message-ID: CAHZJLwuvFszsQ+skv0UgfJxmZ6kYpSP=cOfdn3RxeF6nfnRabg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Alvaro! I checked the config.log file and found this:

configure:19603: gcc -std=gnu99 -o conftest -march=nocona -O3   conftest.c
-lssl -L/opt/openssl-1.0.0e/lib  -ldl >&5
/usr/bin/ld: warning: libcrypto.so.1.0.0, needed by
/opt/openssl-1.0.0e/lib/libssl.so, not found (try using -rpath or
-rpath-link)

but the files are there:

[root@server lib]# pwd
/opt/openssl-1.0.0e/lib

[root@server lib]# ls -la
drwxr-xr-x 4 root root    4096 Sep 30 17:31 .
drwxr-xr-x 6 root root    4096 Sep 30 17:31 ..
drwxr-xr-x 2 root root    4096 Sep 30 17:31 engines
-rw-r--r-- 1 root root 3575530 Sep 30 17:31 libcrypto.a
lrwxrwxrwx 1 root root      18 Sep 30 17:31 libcrypto.so ->
libcrypto.so.1.0.0
-r-xr-xr-x 1 root root 1968482 Sep 30 17:31 libcrypto.so.1.0.0
-rw-r--r-- 1 root root  643388 Sep 30 17:31 libssl.a
lrwxrwxrwx 1 root root      15 Sep 30 17:31 libssl.so -> libssl.so.1.0.0
-r-xr-xr-x 1 root root  403713 Sep 30 17:31 libssl.so.1.0.0
drwxr-xr-x 2 root root    4096 Sep 30 17:31 pkgconfig

Any suggestion?

thanks for your time!

Jorge S.

On Fri, Sep 30, 2011 at 3:16 PM, Alvaro Lopez Ortega <alvaro@octality.com>wrote:

> Check the config.log file. It contains the internal details of every test
> performed by the configure script.
>
> --
> Sent from my HTC
>
>
> ----- Reply message -----
> From: "Jorge Sarmiento" <jorge.sarmiento@gmail.com>
> To: "cherokee" <cherokee@lists.octality.com>
> Subject: [Cherokee] problem compiling with ssl support under CentOS 5 +
> openssl-1.0.0e built from sources
> Date: Fri, Sep 30, 2011 9:26 am
>
>
> Hi,
>
> I am trying to compile cherokee (latest trunk  cherokee-1.2.99b6870) with
> SSL support under CentOS 5.7
>
> I've compiled openssl-1.0.0e from sources using:
> ./config shared --prefix=/opt/openssl-1.0.0e && make && make install
> to avoid it overwriting native CentOS 5.7 OpenSSL rpm's
>
> And I'm trying to configure Cherokee using:
> ./configure --prefix=/usr  --sysconfdir=/etc --localstatedir=/var
> --disable-ipv6 --with-ldap=no --with-mysql=no --with-geoip=no
> --with-ffmpeg=no --with-wwwroot=/var/www/cherokee/default/
> --with-libssl=/opt/openssl-1.0.0e  --enable-static=yes
> --enable-static-module=all
>
> However I keep on getting:
> OpenSSL support       no
>
> I've trying several combinations on the --with-libssl= value
> (/opt/openssl-1.0.0e /opt/openssl-1.0.0e/lib /opt/openssl-1.0.0e/include),
> but still no OpenSSL support after ./config
>
> Any ideas what I could be doing wrong?
>
> thanks!
>
> Jorge S.
>

[Attachment #5 (text/html)]

Hi Alvaro! I checked the config.log file and found this:<br><br>configure:19603: gcc \
-std=gnu99 -o conftest -march=nocona -O3     conftest.c -lssl \
-L/opt/openssl-1.0.0e/lib   -ldl &gt;&amp;5<br>/usr/bin/ld: warning: \
libcrypto.so.1.0.0, needed by /opt/openssl-1.0.0e/lib/libssl.so, not found (try using \
-rpath or -rpath-link)<br> <br>but the files are there:<br><br>[root@server lib]# \
pwd<br>/opt/openssl-1.0.0e/lib<br><br>[root@server lib]# ls -la<br>drwxr-xr-x 4 root \
root       4096 Sep 30 17:31 .<br>drwxr-xr-x 6 root root       4096 Sep 30 17:31 \
..<br> drwxr-xr-x 2 root root       4096 Sep 30 17:31 engines<br>-rw-r--r-- 1 root \
root 3575530 Sep 30 17:31 libcrypto.a<br>lrwxrwxrwx 1 root root           18 Sep 30 \
17:31 libcrypto.so -&gt; libcrypto.so.1.0.0<br>-r-xr-xr-x 1 root root 1968482 Sep 30 \
                17:31 libcrypto.so.1.0.0<br>
-rw-r--r-- 1 root root   643388 Sep 30 17:31 libssl.a<br>lrwxrwxrwx 1 root root       \
15 Sep 30 17:31 libssl.so -&gt; libssl.so.1.0.0<br>-r-xr-xr-x 1 root root   403713 \
Sep 30 17:31 libssl.so.1.0.0<br>drwxr-xr-x 2 root root       4096 Sep 30 17:31 \
pkgconfig<br> <br>Any suggestion? <br><br>thanks for your time!<br><br>Jorge \
S.<br><br><div class="gmail_quote">On Fri, Sep 30, 2011 at 3:16 PM, Alvaro Lopez \
Ortega <span dir="ltr">&lt;<a \
href="mailto:alvaro@octality.com">alvaro@octality.com</a>&gt;</span> wrote:<br> \
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex;">Check the config.log file. It contains the internal details \
                of every test performed by the configure script.<br><font \
                color="#888888"><br>
--<br>Sent from my HTC</font><div><div></div><div class="h5"><br><br><div>----- Reply \
message -----<br>From: &quot;Jorge Sarmiento&quot; &lt;<a \
href="mailto:jorge.sarmiento@gmail.com" \
                target="_blank">jorge.sarmiento@gmail.com</a>&gt;<br>
To: &quot;cherokee&quot; &lt;<a href="mailto:cherokee@lists.octality.com" \
target="_blank">cherokee@lists.octality.com</a>&gt;<br>Subject: [Cherokee] problem \
                compiling with ssl support under CentOS 5 + openssl-1.0.0e built from \
                sources<br>
Date: Fri, Sep 30, 2011 9:26 am<br><br></div><br>Hi,<div><br></div><div>I am trying \
to compile cherokee (latest trunk   cherokee-1.2.99b6870) with SSL support under \
CentOS 5.7</div><div><br></div><div>I&#39;ve compiled openssl-1.0.0e from sources \
using:</div> <div>./config shared --prefix=/opt/openssl-1.0.0e &amp;&amp; make \
&amp;&amp; make install</div> <div>to avoid it overwriting native CentOS 5.7 OpenSSL \
rpm&#39;s</div><div><br></div><div>And I&#39;m trying to configure Cherokee \
using:</div><div>./configure --prefix=/usr   --sysconfdir=/etc --localstatedir=/var \
--disable-ipv6 --with-ldap=no --with-mysql=no --with-geoip=no --with-ffmpeg=no \
--with-wwwroot=/var/www/cherokee/default/ --with-libssl=/opt/openssl-1.0.0e   \
--enable-static=yes --enable-static-module=all</div>

<div><br></div><div>However I keep on getting:</div><div><div>OpenSSL support         \
no</div></div><div><br></div><div>I&#39;ve trying several combinations on the  \
--with-libssl= value (/opt/openssl-1.0.0e  /opt/openssl-1.0.0e/lib  \
/opt/openssl-1.0.0e/include), but still no OpenSSL support after ./config</div>

<div><br></div><div>Any ideas what I could be doing \
wrong?</div><div><br></div><div>thanks!</div><div><br></div><div>Jorge S.</div> \
</div></div></blockquote></div><br>



_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic