Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2014 23:27:25 +0200
From:      olli hauer <ohauer@gmx.de>
To:        Mathieu Arnold <mat@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r361294 - in head/www/apache22: . files
Message-ID:  <53C056BD.7080206@gmx.de>
In-Reply-To: <3EA3824870AA723765109C1F@atuin.in.mat.cc>
References:  <201407082131.s68LVnVj008783@svn.freebsd.org> <8612910DC9EAD4272CAA72D9@atuin.in.mat.cc> <53C04A97.7000409@gmx.de> <3EA3824870AA723765109C1F@atuin.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2014-07-11 22:59, Mathieu Arnold wrote:
> +--On 11 juillet 2014 22:35:35 +0200 olli hauer <ohauer@gmx.de> wrote:
> | What ist the output of the following commands
> |
> |# devel/apr
> |  $ ldd /usr/local/lib/apr-util-1/apr_crypto_openssl.so
> 
> root@ns1:/root # ldd /usr/local/lib/apr-util-1/apr_crypto_openssl.so
> /usr/local/lib/apr-util-1/apr_crypto_openssl.so:
>         libssl.so.8 => /usr/local/lib/libssl.so.8 (0x801203000)
>         libcrypto.so.8 => /usr/local/lib/libcrypto.so.8 (0x801469000)
>         libc.so.7 => /lib/libc.so.7 (0x80081b000)
>         libthr.so.3 => /lib/libthr.so.3 (0x801843000)

Thats good

> 
> |# www/apache22 buid and stage directory
> |  $ ldd work/httpd-2.2.27/modules/ssl/.libs/mod_ssl.so
> |  $ ldd work/stage/usr/local/libexec/apache22/mod_ssl.so
> 
> I don't have the original one, so I'm running this from a poudriere
> testport -i:
> 
> root@pkg:/root # ldd
> /wrkdirs/usr/ports/www/apache22/work/httpd-2.2.27/modules/ssl/.libs/mod_ssl.so
> /wrkdirs/usr/ports/www/apache22/work/httpd-2.2.27/modules/ssl/.libs/mod_ssl.so:
>         libssl.so.6 => /usr/lib/libssl.so.6 (0x801231000)
>         libcrypto.so.6 => /lib/libcrypto.so.6 (0x801486000)
>         libcrypt.so.5 => /lib/libcrypt.so.5 (0x801827000)
>         libthr.so.3 => /lib/libthr.so.3 (0x801a46000)
>         libc.so.7 => /lib/libc.so.7 (0x80081a000)
> root@pkg:/root # ldd
> /wrkdirs/usr/ports/www/apache22/work/stage/usr/local/libexec/apache22/mod_ssl.so
> /wrkdirs/usr/ports/www/apache22/work/stage/usr/local/libexec/apache22/mod_ssl.so:
>         libssl.so.6 => /usr/lib/libssl.so.6 (0x801231000)
>         libcrypto.so.6 => /lib/libcrypto.so.6 (0x801486000)
>         libcrypt.so.5 => /lib/libcrypt.so.5 (0x801827000)
>         libthr.so.3 => /lib/libthr.so.3 (0x801a46000)
>         libc.so.7 => /lib/libc.so.7 (0x80081a000)
> root@pkg:/root # grep SSL /etc/make.conf
> WITH_OPENSSL_PORT=yes

Thats not OK,

> 
> Also, from that building jail, the apr is good:
> 
> root@pkg:/root # ldd /usr/local/lib/apr-util-1/apr_crypto_openssl.so
> /usr/local/lib/apr-util-1/apr_crypto_openssl.so:
>         libssl.so.8 => /usr/local/lib/libssl.so.8 (0x801203000)
>         libcrypto.so.8 => /usr/local/lib/libcrypto.so.8 (0x801469000)
>         libc.so.7 => /lib/libc.so.7 (0x80081a000)
>         libthr.so.3 => /lib/libthr.so.3 (0x801843000)
> 

It's a long time ago but I remember such failures because OPENSSLBASE was not set at configure time to correct path.
(I suspect thats also the reason why some ports have a fix .include Mk/bsd.openssl.mk)

Will try to find a solution




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53C056BD.7080206>