if on a terapaths install or run, you get

Can't load '/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/RRDs/RRDs.so' for module RRDs: librrd.so.2: cannot open shared object file: No such file or directory at /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/DynaLoader.pm line 230.

This is because the library RRDs.so cannot find the librrd.so.2 dynamic library.

this can be verified by running:

[ytl@nettest13 ~]$ ldd /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/RRDs/RRDs.so
        librrd.so.2 => not found
        libm.so.6 => /lib64/tls/libm.so.6 (0x00002ae6004f3000)
        libc.so.6 => /lib64/tls/libc.so.6 (0x00002ae600679000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)

all you need to do is include the path of the librrd.so.2 into your library path:

export LD_LIBRARY_PATH=/opt/terapaths-monitoring/lib/

and that's it!

  • No labels