/usr/local/bin is not a library PATH. The library PATH must mention the location of that file, which I doubt you manually placed in a bin directory.
From: Sheldon Campbell [mailto:campbell_sjc at hotmail.com] Sent: Wednesday, December 11, 2013 05:46 PM To: xymon at xymon.com <xymon at xymon.com> Subject: [Xymon] xymonnet error - will not start due to pcre
Hi
Hope someone can offer insight into this issue whereby the xymonnet.log continues to report the following error.
exec(): 0509-036 Cannot load program xymonnet because of the following errors: 0509-150 Dependent module ../lib/libpcre.a(libpcre.so.1) could not be loaded. 0509-022 Cannot load module ../lib/libpcre.a(libpcre.so.1). 0509-026 System error: A file or directory in the path name does not exist.
I have tried setting the following to LIBRARY PATH's but this has not helped
export LD_LIBRARY_PATH="/usr/local/bin" export LIBPATH="/usr/local/bin"