Xymon Mailing List Archive search

problems load larrd library - rc-03

6 messages in this thread

list Marco Avvisano · Wed, 23 Feb 2005 10:53:51 +0100 ·
I always problem to load larrd libraries :

hobbitd_larrd: error while loading shared libraries: librrd.so.0: cannot
open shared object file: No such file or directory
2005-02-23 09:45:19 Worker process died with exit code 32512, terminating


i resolve adding add these lines in hobbitserver.cfg

# aggiunto
LD_LIBRARY_PATH="/usr/local/rrdtool-1.0.49/lib"
export LD_LIBRARY_PATH
RUNTIMEDEFS="LD_LIBRARY_PATH=/usr/local/rrdtool-1.0.49/lib"

my SO is Red Hat Enterprise Linux ES release 3 (Taroon Update 3)

Marco
list Henrik Størner · Wed, 23 Feb 2005 12:27:35 +0100 ·
quoted from Marco Avvisano
On Wed, Feb 23, 2005 at 10:53:51AM +0100, Marco Avvisano wrote:
I always problem to load larrd libraries :
my SO is Red Hat Enterprise Linux ES release 3 (Taroon Update 3)
Could you try the attached updated configure-script and Makefile's:
Save it to /tmp, then run

 cd hobbit-4.0-RC3
 tar zxf /tmp/makesfiles.tar.gz
 rm Makefile
 ./configure 
 make
 su -c "make install"

This adds the needed "-Wl,--rpath" options to the linker-command,
so it should be able to find the runtime shared libraries without
having to mess with LD_LIBRARY_PATH.

Let me know if this helps.

(This should work for all Linux- and *BSD systems).


Henrik
Attachments (1)
list Marco Avvisano · Wed, 23 Feb 2005 12:57:48 +0100 ·
I try your adds, and now the only error  in my larrd  data log is:

2005-02-23 12:56:29 xfree: Trying to free a NULL pointer2005-02-23 12:56:29
Worker process died with exit code 134, terminating

Core files are always generated

I could not see the rrd graphs. In my http error log i see this error
quoted from Marco Avvisano

error while loading shared libraries: librrd.so.0: cannot open shared object
file: No such file or directory.

thanks for help

Marco
quoted from Henrik Størner

----- Original Message ----- 
From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Wednesday, February 23, 2005 12:27 PM
Subject: Re: [hobbit] problems load larrd library - rc-03

On Wed, Feb 23, 2005 at 10:53:51AM +0100, Marco Avvisano wrote:
I always problem to load larrd libraries :
my SO is Red Hat Enterprise Linux ES release 3 (Taroon Update 3)
Could you try the attached updated configure-script and Makefile's:
Save it to /tmp, then run

 cd hobbit-4.0-RC3
 tar zxf /tmp/makesfiles.tar.gz
 rm Makefile
 ./configure
 make
 su -c "make install"

This adds the needed "-Wl,--rpath" options to the linker-command,
so it should be able to find the runtime shared libraries without
having to mess with LD_LIBRARY_PATH.

Let me know if this helps.

(This should work for all Linux- and *BSD systems).


Henrik
----

list Henrik Størner · Wed, 23 Feb 2005 13:25:12 +0100 ·
quoted from Marco Avvisano
On Wed, Feb 23, 2005 at 12:57:48PM +0100, Marco Avvisano wrote:
I try your adds, and now the only error  in my larrd  data log is:

2005-02-23 12:56:29 xfree: Trying to free a NULL pointer2005-02-23 12:56:29
Worker process died with exit code 134, terminating

Core files are always generated
Send me one of them (directly, no need to bother the list) together 
with the ~hobbit/server/bin/hobbitd_larrd binary.
quoted from Marco Avvisano
I could not see the rrd graphs. In my http error log i see this error

error while loading shared libraries: librrd.so.0: cannot open shared object
file: No such file or directory.
What does "ldd ~hobbit/server/bin/hobbitgraph.cgi" say ?


Henrik
list Asif Iqbal · Wed, 23 Feb 2005 10:15:23 -0500 ·
quoted from Henrik Størner
On Wed, Feb 23, 2005 at 01:25:12PM, Henrik Stoerner wrote:
On Wed, Feb 23, 2005 at 12:57:48PM +0100, Marco Avvisano wrote:
I try your adds, and now the only error  in my larrd  data log is:

2005-02-23 12:56:29 xfree: Trying to free a NULL pointer2005-02-23 12:56:29
Worker process died with exit code 134, terminating
I am getting the exact same error with RC3
quoted from Henrik Størner
Core files are always generated
Send me one of them (directly, no need to bother the list) together 
with the ~hobbit/server/bin/hobbitd_larrd binary.
ldd ~hobbit/server/bin/hobbitd_larrd
        libpng.so.3 =>   /usr/local/lib/libpng.so.3
        libz.so.1 =>     /usr/lib/libz.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        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/SUNW,UltraAX-i2/lib/libc_psr.so.1

I will go ahead and send you the ~hobbit/server/bin/hobbitd_larrd binary
out side the list
quoted from Henrik Størner

I could not see the rrd graphs. In my http error log i see this error

error while loading shared libraries: librrd.so.0: cannot open shared object
file: No such file or directory.
What does "ldd ~hobbit/server/bin/hobbitgraph.cgi" say ?
ldd ~hobbit/server/bin/hobbitgraph.cgi 
        libpcre.so.0 =>  /usr/local/lib/libpcre.so.0
        libpng.so.3 =>   /usr/local/lib/libpng.so.3
        libz.so.1 =>     /usr/lib/libz.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        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/SUNW,UltraAX-i2/lib/libc_psr.so.1
Henrik

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"It is not the strongest of the species that survives, not the most intelligent, but
 the one most responsive to change."    - Charles Darwin
list Marco Avvisano · Thu, 24 Feb 2005 17:48:03 +0100 ·
I apply the last patch and now all work good!

thanks


Marco
quoted from Asif Iqbal
----- Original Message ----- 
From: "Asif Iqbal" <user-c8222abeff59@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Wednesday, February 23, 2005 4:15 PM
Subject: Re: [hobbit] problems load larrd library - rc-03

On Wed, Feb 23, 2005 at 01:25:12PM, Henrik Stoerner wrote:
On Wed, Feb 23, 2005 at 12:57:48PM +0100, Marco Avvisano wrote:
I try your adds, and now the only error  in my larrd  data log is:

2005-02-23 12:56:29 xfree: Trying to free a NULL pointer2005-02-23
12:56:29
Worker process died with exit code 134, terminating
I am getting the exact same error with RC3
Core files are always generated
Send me one of them (directly, no need to bother the list) together
with the ~hobbit/server/bin/hobbitd_larrd binary.
ldd ~hobbit/server/bin/hobbitd_larrd
        libpng.so.3 =>   /usr/local/lib/libpng.so.3
        libz.so.1 =>     /usr/lib/libz.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        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/SUNW,UltraAX-i2/lib/libc_psr.so.1

I will go ahead and send you the ~hobbit/server/bin/hobbitd_larrd binary
out side the list

I could not see the rrd graphs. In my http error log i see this error

error while loading shared libraries: librrd.so.0: cannot open shared
object
file: No such file or directory.
What does "ldd ~hobbit/server/bin/hobbitgraph.cgi" say ?
ldd ~hobbit/server/bin/hobbitgraph.cgi
        libpcre.so.0 =>  /usr/local/lib/libpcre.so.0
        libpng.so.3 =>   /usr/local/lib/libpng.so.3
        libz.so.1 =>     /usr/lib/libz.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        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/SUNW,UltraAX-i2/lib/libc_psr.so.1
Henrik

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"It is not the strongest of the species that survives, not the most
intelligent, but
 the one most responsive to change."    - Charles Darwin