NetXMS Support Forum

English Support => General Support => Topic started by: nsdSysGuy on January 20, 2015, 09:47:23 PM

Title: /usr/bin/nxagentd: error while loading shared libraries: libnxsnmp.so.1
Post by: nsdSysGuy on January 20, 2015, 09:47:23 PM

matthew@infoguard:/$ sudo /etc/init.d/nxagentd start
/usr/bin/nxagentd: error while loading shared libraries: libnxsnmp.so.1: cannot open shared object file: No such file or directory
matthew@infoguard:/$ uname -a
Linux infoguard 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:23:46 UTC 2014 i686 i686 i686 GNU/Linux
matthew@infoguard:/$


I installed the base deb package and the agent package. Can not find the missing lib anywhere. Tried installing libsnmp-dev, still nothing.

EDIT: Added two text files for the installed packages, listing installed files.

Ideas?
Title: Re: /usr/bin/nxagentd: error while loading shared libraries: libnxsnmp.so.1
Post by: Alex Kirhenshtein on January 20, 2015, 11:50:36 PM
Yep, that's a bug. You can extract these libs from netxms-server package or wait for upcoming 2.0-M2.

https://dev.raden.solutions/issues/744
Title: Re: /usr/bin/nxagentd: error while loading shared libraries: libnxsnmp.so.1
Post by: tgunr on January 21, 2015, 10:59:57 PM
Not true, I just had the same problem downloaded the server binaries and looked at package with dpkg-deb -R netxms-server-mysql_2.0~M1_i386.deb tmp and the libnxsnmp is not in there,
Title: Re: /usr/bin/nxagentd: error while loading shared libraries: libnxsnmp.so.1
Post by: tgunr on January 21, 2015, 11:08:03 PM
SOLUTION

  522  wget https://www.netxms.org/apt/dists/wheezy/beta/binary-i386/netxms-server_2.0~M1_i386.deb
  524  dpkg-deb -R netxms-server_2.0~M1_i386.deb t1
  533  mv ./t1/usr/lib/libnxsnmp.so* /usr/lib/