You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Douglas K. Fischer" <fi...@fidoki.com> on 2008/11/02 20:25:56 UTC
Re: [users@httpd] Apache 1.3.37 64bit
For posterity sake (and easy archive searching for the solution), here's
all that's needed to patch mod_ssl:
diff -PurN mod_ssl-2.8.31-1.3.41.orig/pkg.sslmod/libssl.module
mod_ssl-2.8.31-1.3.41/pkg.sslmod/libssl.module
--- mod_ssl-2.8.31-1.3.41.orig/pkg.sslmod/libssl.module 2006-05-08
03:15:37.000000000 -0400
+++ mod_ssl-2.8.31-1.3.41/pkg.sslmod/libssl.module 2008-10-17
18:57:34.000000000 -0400
@@ -410,7 +410,7 @@
#
if [ ".$SSL_BASE" = .SYSTEM ]; then
SSL_LIBDIR=""
- for p in . /lib /usr/lib /usr/local/lib; do
+ for p in . /lib /lib64 /usr/lib /usr/lib64 /usr/local/lib
/usr/local/lib64; do
if [ -f "$p/libssl.a" -o -f "$p/libssl.so" ]; then
SSL_LIBDIR="$p"
my_real_ssl_libdir="$p"
@@ -419,7 +419,7 @@
done
if [ ".$SSL_LIBDIR" = . ]; then
echo "Error: Cannot find SSL library files in any of the
following dirs:" 1>&2
- echo "Error: . /lib /usr/lib /usr/local/lib" 1>&2
+ echo "Error: . /lib /lib64 /usr/lib /usr/lib64
/usr/local/lib /usr/local/lib64" 1>&2
exit 1
fi
else
@@ -429,6 +429,9 @@
elif [ -f "$SSL_BASE/lib/libssl.a" -o -f
"$SSL_BASE/lib/libssl.so" ]; then
SSL_LIBDIR='$(SSL_BASE)/lib'
my_real_ssl_libdir="$SSL_BASE/lib"
+ elif [ -f "$SSL_BASE/lib64/libssl.a" -o -f
"$SSL_BASE/lib64/libssl.so" ]; then
+ SSL_LIBDIR='$(SSL_BASE)/lib64'
+ my_real_ssl_libdir="$SSL_BASE/lib64"
else
echo "Error: Cannot find SSL library files under $SSL_BASE"
1>&2
exit 1
Cheers,
Doug
William A. Rowe, Jr. wrote:
> André Warnier wrote:
>
>> Andre Hübner wrote:
>>
>>> Hi List,
>>>
>>> try to compile older Apache 1.3.37 on opensuse 11 64bit. I have some
>>> Problems with my configure-line.
>>> configure tries to find my base-libs in wrong folders:
>>>
>>> Error: Cannot find SSL library files in any of the following dirs:
>>> Error: . /lib /usr/lib /usr/local/lib
>>>
>>> SSL is installed but Files are located in lib64 Folder. I cannot find
>>> a configure-switch to use correct lib64 Folder.
>>> Is there something i can do now?
>>> I use also new apache 2.2.9 but older 1.3.37 i need for compatibility
>>> and for nostalgic reasons ;)
>>>
>>>
>> I'm no expert on the subject, but if it is really for nostalgic reasons,
>> and a one-off, maybe you can trick him into finding them in
>> /usr/local/lib by some judicious use of symlinks ?
>>
>
> Probably easier to just hack in the appropriate system lib paths (just
> look in configure script to determine where /usr/local/lib - one of those
> paths - originated from and add 64 flavors).
>
> ---------------------------------------------------------------------
> 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
>
>
---------------------------------------------------------------------
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