Coot: Difference between revisions

361 bytes added ,  11 February 2012
(shorter and more accurate)
Line 47: Line 47:
  Matched from:
  Matched from:
  Other      : libssl.so.6
  Other      : libssl.so.6
  ...
  ... (the package is repeated, and libcrypto.so.6 is also mentioned)
: Now don't just install the openssl098e-0.9.8e-17.el6.i686 and its dependencies - it is a 32bit library (the name ends with ".i686")! Installing it does not solve the problem - we need a 64bit library. Unfortunately "yum provides" does not tell us about the 64bit library (is that a yum bug?). By specifying the proper name and version 
: Now don't just install the openssl098e-0.9.8e-17.el6.i686 and its dependencies - it is a 32bit library (the name ends with ".i686")! Installing it does not solve the problem - we need a 64bit library. Unfortunately "yum provides" does not tell us about the 64bit library (is that a yum bug?). By specifying just the package name (openssl098e.x86_64 would also work, and would avoid any 32bit package)
  yum install openssl098e.x86_64
  yum install openssl098e
: we install both the required libssl.so.6 and libcrypto.so.6 - done!
: we install both libssl.so.6 and libcrypto.so.6 in their 64bit versions - done!  


* Second possibility: find out if the system already has a higher version:
* Second possibility: find out if the system already has a higher version of the two libraries:
  [root@localhost locate libssl.so
  [root@localhost locate libssl.so
  /usr/lib64/.libssl.so.1.0.0.hmac
  /usr/lib64/.libssl.so.1.0.0.hmac
Line 65: Line 65:
  ln -s /usr/lib64/libcrypto.so libcrypto.so.6
  ln -s /usr/lib64/libcrypto.so libcrypto.so.6
: The way these symlinks are made they would even work if RHEL upgrades libssl or libcrypto to higher versions. Works for me.
: The way these symlinks are made they would even work if RHEL upgrades libssl or libcrypto to higher versions. Works for me.
Final step: create /usr/local/bin/coot with
#!/bin/csh -f
setenv LANG C
exec /usr/local/src/coot-Linux-x86_64-centos-5-gtk2-python/bin/coot $*
and make it executable with
chmod a+x /usr/local/bin/coot


=== Installation on Debian/Ubuntu from debian archive files ===
=== Installation on Debian/Ubuntu from debian archive files ===
1,332

edits