NetXMS Support Forum

English Support => General Support => Topic started by: folkene on March 24, 2010, 05:52:48 PM

Title: Probleme with libnetxms.so.0
Post by: folkene on March 24, 2010, 05:52:48 PM
Hello everybody,

I have a big probleme and I don't know why? I explain myself:
I was following the install guide to install netxms server under linux (UBUNTU). When I run nxdbmgr, I have had the error:
"/usr/local/bin/nxdbmgr: error while loading shared libraries: libnetxms.so.0: cannot open shared object file: No such file or directory". The libnetxms.so.0 is in  "/usr/local/lib".

Thanks for all
Title: Re: Probleme with libnetxms.so.0
Post by: Alex Kirhenshtein on March 24, 2010, 10:17:37 PM
Please check that file /etc/ld.so.conf.d/libc.conf contains line "/usr/local/lib" and then run "ldconfig" as root (it will produce no output).

After that run "ldconfig -p|grep libnetxms" to verify, output should be like this:root@b08s02ur:~# ldconfig -p|grep libnetxms
        libnetxms.so.0 (libc6,x86-64) => /usr/local/lib/libnetxms.so.0
        libnetxms.so (libc6,x86-64) => /usr/local/lib/libnetxms.so


If this will not help, please post output of "ldd /usr/local/bin/nxdbmgr".
Title: Re: Probleme with libnetxms.so.0
Post by: folkene on March 25, 2010, 10:34:31 AM
thanks for the answers  ;)

Unfortunately, when I ran nxdbmgr, I received the error "Unable to load and initialize database driver ".
Does someone know why?


Sorry for my wrong english
Title: Re: Probleme with libnetxms.so.0
Post by: Alex Kirhenshtein on March 26, 2010, 12:19:54 AM
Check "DBDriver" parameter in netxmsd.conf, is should point to correct driver, for example:
DBDriver = /user/local/lib/libnxddr_sqlite.so