[AG-TECH] Work Around for OpenSSL dependancey problem on RH 9
Mark C. Ballew
ballew at dri.edu
Mon Jul 28 14:12:11 CDT 2003
> I can't imagine anybody elese has not run into this, but is there a
> workaround for installing AG 2.0 on RH 9, the installer script errors
> due to the fact that RH 9 uses a version of the OpenSSL libraries that
> are later than the ones the PYOpenSSL_AG package requires
> (libcrypto.so.2 and libssl.so.2).
I ran into the same problem trying to install under Redhat 9. The
solution was to snatch Redhat's patch for pyOpenSSL and apply it to the
pyOpenSSL_AG tarball:
cd /tmp
wget
ftp://ftp.rpmfind.net/linux/rawhide/1.0/SRPMS/SRPMS/pyOpenSSL-0.5.1-7.src.rpm
wget
rpm -ivh
pyOpenSSL-0.5.1-7.src.rpmhttp://www-unix.mcs.anl.gov/fl/research/accessgrid/software/required/SRPMS/pyOpenSSL_AG-0.5.1-1.src.rpm
rpm -ivh pyOpenSSL_AG-0.5.1-1.src.rpm
cd /usr/src/redhat/SOURCES
tar zxvf pyOpenSSL_AG-0.5.1.tar.gz
cd pyOpenSSL_AG-0.5.1
patch -p1 < ../pyOpenSSL-0.5.1-openssl097.patch
rpmbuild -ba pyOpenSSL.spec
(wait...wait...)
rpm -ivh /usr/src/redhat/RPMS/i386/pyOpenSSL_AG-0.5.1-1.i386.rpm
Done! I reran the install.sh script from the AccessGrid distribution,and
everything went smoothly.
Here is the Redhat patch:
--- pyOpenSSL-0.5.1/setup.py.openssl097 2003-01-03 14:43:15.000000000
-0500
+++ pyOpenSSL-0.5.1/setup.py 2003-01-03 14:43:08.000000000 -0500
@@ -61,6 +61,10 @@
if sys.platform == 'darwin':
IncludeDirs = ['/sw/include']
LibraryDirs = ['/sw/lib']
+# Doesn't make use of pkgconfig easily, so fudge it
+elif os.name == 'posix':
+ IncludeDirs = ['/usr/kerberos/include']
+ LibraryDirs = ['/usr/kerberos/lib']
def mkExtension(name):
import string
--
Mark C. Ballew ballew at dri.edu
ACES Project System Administrator 775-673-7322
Desert Research Institute PGP:0xB2A33008
More information about the ag-tech
mailing list