[hobbit] hobbit compile issue

steve.e.mcconnell at gsk.com steve.e.mcconnell at gsk.com
Thu Jan 24 05:08:29 CET 2008


Thanks to Larry and Vernon Everette for the quick replies. Your 
suggestions  (both suggested specifying LD_LIBRARY_PATH) worked like a 
charm. (moves on feeling sheepish for not thinking of that in the first 
place)

And Thank You to Henrik for a most excellent piece of software.


Thanks

steve


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



"Larry Barber" <lebarber at gmail.com> 
23-Jan-2008 22:52
Please respond to hobbit at hswn.dk

 
To
hobbit at hswn.dk
cc

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> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080123/c460e15b/attachment.html>


More information about the Xymon mailing list