NetXMS Support Forum

English Support => General Support => Topic started by: joey on February 04, 2015, 04:34:51 AM

Title: CentOS 5.12 local lib issues
Post by: joey on February 04, 2015, 04:34:51 AM
Howdy Gang,

I'm having a wee bit of an issue on getting the agent to run on CentOS 5.12.

make install put the agent in /usr/local/bin


./nxagentd: error while loading shared libraries: libappagent.so.1: cannot open shared object file: No such file or directory


and it put the lib in /usr/local/lib but the bin can't see the lib. I even tried running it from the lib directory.

Can anyone please point me in the right direction?

Having someone smarter than I am build an agent .rpm would be a dream but I'll take whatever I can get. I have 5 of these CentOS servers to do.
Title: Re: CentOS 5.12 local lib issues
Post by: Victor Kirhenshtein on February 04, 2015, 11:32:08 AM
Hi,

try to add /usr/local/lib to ld.so.conf and run ldconfig.

Best regards,
Victor
Title: Re: CentOS 5.12 local lib issues
Post by: joey on February 05, 2015, 05:23:33 AM
Gads.. I forgot to run ldconfig.  Thanks.  I'm so used to packages these days I forget how to do this old-school. :-)