Xymon Mailing List Archive search

Install issue - libssl.so open failed

4 messages in this thread

list Christopher White · Wed, 23 Mar 2005 14:34:48 -0600 (CST) ·
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 · Wed, 23 Mar 2005 15:59:11 -0500 ·
quoted from Christopher White
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
quoted from Christopher White

  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 · Wed, 23 Mar 2005 22:38:22 +0100 ·
quoted from Christopher White
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 · Thu, 24 Mar 2005 07:17:30 -0600 (CST) ·
quoted from Henrik Størner
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