[hobbit] hobbit compile issue

Mike Rowell Mike.Rowell at Rightmove.co.uk
Fri Jan 25 12:44:25 CET 2008


Although to make sure nothing breaks if at a later date someone changes
the LD_LIBRARY_PATH you  should really compile in the paths in the
binaries by adding -R/local/apps/pcre/lib to the -L/local/apps/pcre/lib
entry in the Makefile...  

 

Mike

 

From: Larry Barber [mailto:lebarber at gmail.com] 
Sent: 24 January 2008 03:53
To: hobbit at hswn.dk
Subject: Re: [hobbit] hobbit compile issue

 

You need to add the paths to the libraries to the LD_LIBRARY_PATH
environmental variable. 

Thanks,
Larry Barber

On Jan 23, 2008 8:12 PM, < steve.e.mcconnell at gsk.com
<mailto:steve.e.mcconnell at gsk.com> > wrote:


I am trying to compile hobbit 4.2.0 on a Solaris 2.8 machine. 

my configure statement is: ./configure.server
--prefix=/local/apps/hobbit --pcreinclude /local/apps/pcre/include
--pcrelib /local/apps/pcre/lib 

the configure works, as does the make and make install, however when I
do an ldd on hobbitd I get the following: 

/local/apps/hobbit/server/bin# ldd hobbitd 
        libpcre.so.0 =>  (file not found) 
        libresolv.so.2 =>        /usr/lib/libresolv.so.2 
        libsocket.so.1 =>        /usr/lib/libsocket.so.1 
        libnsl.so.1 =>   /usr/lib/libnsl.so.1 
        libc.so.1 =>     /usr/lib/libc.so.1 
        libdl.so.1 =>    /usr/lib/libdl.so.1 
        libmp.so.2 =>    /usr/lib/libmp.so.2 
        /usr/platform/sun4u/lib/libc_psr.so.1 

libpcre.so.0 exists in /local/apps/pcre/lib

/local/apps/pcre/lib# ls -la 
total 386 
drwxr-xr-x    3 root     other         512 Jan 16 12:07 . 
drwxr-xr-x    6 root     other         512 Jan 16 09:28 .. 
-rw-r--r--    1 root     other      141744 Jan 16 12:07 libpcre.a 
-rwxr-xr-x    1 root     other         799 Jan 16 12:07 libpcre.la 
lrwxrwxrwx    1 root     other          16 Jan 16 12:07 libpcre.so ->
libpcre.so.0.0.1 
lrwxrwxrwx    1 root     other          16 Jan 16 12:07 libpcre.so.0 ->
libpcre.so.0.0.1 
-rwxr-xr-x    1 root     other      118540 Jan 16 12:07 libpcre.so.0.0.1



/local/apps/pcre/lib# gcc -v 
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.6/specs 
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77 
Thread model: posix 
gcc version 3.4.6 

I am successfully running hobbit server on a linux box, but I need to
have this install run on Solaris. 

Anyone have any suggestions? 


thanks 

steve mcconnell
gsk
unix application hosting support
919-282-3052



________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs service.


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs service. 
________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080125/1a2a7019/attachment.html>


More information about the Xymon mailing list