Xymon Mailing List Archive search

hobbit compile issue

list Mike Rowell
Fri, 25 Jan 2008 11:44:25 -0000
Message-Id: <user-b89935ff03dd@xymon.invalid>

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:user-6ef9c2864140@xymon.invalid] Sent: 24 January 2008 03:53
To: user-ae9b8668bcde@xymon.invalid
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, < user-d0c05d6d01c9@xymon.invalid
<mailto:user-d0c05d6d01c9@xymon.invalid> > 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
XXX-XXX-XXXX


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


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