PATCH: lib64 support for configure

This is a discussion on PATCH: lib64 support for configure within the Modssl Users forums, part of the Web Server and Related Forums category; Hello, compiling mod_ssl on a 64-bit system failed for me because the libraries are located under lib64 paths, rather ...


Go Back   Usenet Forums > Web Server and Related Forums > Modssl Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008
Brian Shire
 
Posts: n/a
Default PATCH: lib64 support for configure


Hello,

compiling mod_ssl on a 64-bit system failed for me because the
libraries are located under lib64 paths, rather than just lib paths.
It seems like the following should be the correct fix for these
systems unless I missed some other option to change this (which I
didn't see, but please let me know if I missed it). (Perhaps a --
with-libdir option should be included as a way for people to modify
this as well.) The patch below doesn't include lib64 when SSL_BASE
is provided, so that may need to be applied as well.

Thanks!

-shire


Index: pkg.sslmod/libssl.module
================================================== =================
--- pkg.sslmod/libssl.module (revision 85384)
+++ pkg.sslmod/libssl.module (working copy)
@@ -410,7 +410,7 @@
#
if [ ".$SSL_BASE" = .SYSTEM ]; then
SSL_LIBDIR=""
- for p in . /lib /usr/lib /usr/local/lib; do
+ for p in . /lib64 /usr/lib64 /lib /usr/lib /usr/local/lib; 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: . /lib64 /usr/lib64 /lib /usr/lib /usr/
local/lib" 1>&2
exit 1
fi
else

__________________________________________________ ____________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:29 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0