Install issue - libssl.so open failed
list Christopher White
All, I'm trying to compile hobbit, and have gotten most of the way there, but now am running into this error when doing a 'make install' (the make itself worked fine): cd etcfiles; ../../build/merge-lines columndoc.csv /opt/hobbit/server/etc/columndoc.csv cd etcfiles; (echo "bb-hosts"; echo "hobbit-alerts.cfg"; echo "bbcombotest.cfg") | ../../build/setup-newfiles /opt/hobbit/server/etc/ ld.so.1: ../../build/setup-newfiles: fatal: libssl.so.0.9.7: open failed: No such file or directory Killed make[1]: *** [install-cfg] Error 137 make[1]: Leaving directory `/home/cwhite/hobbit/hobbit-4.0-RC6/hobbitd' make: *** [install-hobbitd] Error 2 libssl.so.0.9.7 is available: # locate libssl.so.0.9.7 /usr/local/ssl/lib/libssl.so.0.9.7 Any ideas? I didn't see anything about this referenced in any prior messages. Thanks all. CW
list Asif Iqbal
▸
On Wed, Mar 23, 2005 at 02:34:48PM, Christopher White wrote:
All, I'm trying to compile hobbit, and have gotten most of the way there, but now am running into this error when doing a 'make install' (the make itself worked fine): cd etcfiles; ../../build/merge-lines columndoc.csv /opt/hobbit/server/etc/columndoc.csv cd etcfiles; (echo "bb-hosts"; echo "hobbit-alerts.cfg"; echo "bbcombotest.cfg") | ../../build/setup-newfiles /opt/hobbit/server/etc/ ld.so.1: ../../build/setup-newfiles: fatal: libssl.so.0.9.7: open failed: No such file or directory Killed make[1]: *** [install-cfg] Error 137 make[1]: Leaving directory `/home/cwhite/hobbit/hobbit-4.0-RC6/hobbitd' make: *** [install-hobbitd] Error 2
Try OpenSSL section of your Makefile should like this and then make;make install # OpenSSL settings SSLFLAGS = -DBBGEN_SSL # Change the following line if compiler complains about a missing ssl.h SSLINCDIR = -I/usr/local/ssl/include SSLLIBS = -L/usr/local/ssl/lib -lssl -lcrypto RPATHVAL += /usr/local/ssl/lib
▸
libssl.so.0.9.7 is available: # locate libssl.so.0.9.7 /usr/local/ssl/lib/libssl.so.0.9.7 Any ideas? I didn't see anything about this referenced in any prior messages. Thanks all. CW
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"..there are two kinds of people: those who work and those who take the credit...try
to be in the first group;...less competition there." - Indira Gandhi
list Henrik Størner
▸
On Wed, Mar 23, 2005 at 02:34:48PM -0600, Christopher White wrote:
All, I'm trying to compile hobbit, and have gotten most of the way there, but now am running into this error when doing a 'make install' (the make itself worked fine): cd etcfiles; ../../build/merge-lines columndoc.csv /opt/hobbit/server/etc/columndoc.csv cd etcfiles; (echo "bb-hosts"; echo "hobbit-alerts.cfg"; echo "bbcombotest.cfg") | ../../build/setup-newfiles /opt/hobbit/server/etc/ ld.so.1: ../../build/setup-newfiles: fatal: libssl.so.0.9.7: open failed: No such file or directory
The "setup-newfiles" uses an MD5 hash to see if any existing files are a previous version of the standard Hobbit file; if they are, then it is safe to replace them with the current version. Try doing (as root): LD_LIBRARY_PATH=/usr/local/ssl/lib/libssl.so.0.9.7 export LD_LIBRARY_PATH make install Regards, Henrik
list Christopher White
▸
The "setup-newfiles" uses an MD5 hash to see if any existing files are a previous version of the standard Hobbit file; if they are, then it is safe to replace them with the current version. Try doing (as root): LD_LIBRARY_PATH=/usr/local/ssl/lib/libssl.so.0.9.7 export LD_LIBRARY_PATH make install
Almost worked -- just needed to change the LD_LIBRARY_PATH to not include the actual library ;) LD_LIBRARY_PATH=/usr/local/ssl/lib/ After that, the install went fine. Thanks! :) CW