Well, I add /opt/csw/lib with crle command, but am getting the same
error.
Configuration file [version 4]: /var/ld/ld.config Default Library Path (ELF): /lib:/usr/lib:/opt/csw/lib
Trusted Directories (ELF): /lib/secure:/usr/lib/secure (system
default)
procmail: [24766] Thu Oct 15 10:42:45 2009
procmail: Executing
"/apps/xymon/server/bin/hobbit-mailack,--env=/apps/xymon/server/etc/hobb
itserver.cfg"
2009-10-15 10:42:45 xgetenv: Cannot find value for variable
LD_LIBRARY_PATH
-----Original Message-----
From: Ryan Novosielski [mailto:user-ae4522577e16@xymon.invalid] Sent: Monday, October 12, 2009 9:34 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit-mailack problem
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Kevin Kelly wrote:
I am getting the following error and would appreciate any help to get
this resolve!
Folder: /apps/xymon/server/bin/hobbit-mailack --env=/apps/xymon/serv
1093
ld.so.1: hobbit-mailack: fatal: libpcre.so.0: open failed: No such
file
or directory
I have added the following to default profile and to hobbitcgi.cfg &
hobbitserver.cfg:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/csw/lib:/usr/sfw/lib;export
LD_LIBRARY_PATH
# ldd /apps/xymon/server/bin/hobbit-mailack
libpcre.so.0 => /opt/csw/lib/libpcre.so.0
libresolv.so.2 => /usr/lib/libresolv.so.2
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
librt.so.1 => /usr/lib/librt.so.1
libc.so.1 => /usr/lib/libc.so.1
libthread.so.1 => /usr/lib/libthread.so.1
libiconv.so.2 => /opt/csw/lib/libiconv.so.2
libncurses.so.5 => /opt/csw/lib/libncurses.so.5
libmp.so.2 => /usr/lib/libmp.so.2
libmd.so.1 => /usr/lib/libmd.so.1
libscf.so.1 => /usr/lib/libscf.so.1
libaio.so.1 => /usr/lib/libaio.so.1
libdoor.so.1 => /usr/lib/libdoor.so.1
libuutil.so.1 => /usr/lib/libuutil.so.1
libgen.so.1 => /usr/lib/libgen.so.1
libm.so.2 => /usr/lib/libm.so.2
/platform/SUNW,T5140/lib/libc_psr.so.1
/platform/SUNW,T5140/lib/libmd_psr.so.1
Bear in mind, the user executing procmail will be running this program,
not the webserver. Like I told you before, I'd resolve this with crle,
not an environment variable, unless you absolutely cannot do that.
- --
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II
|$&| |__| | | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFK0z5dmb+gadEcsb4RAr8RAKC5q/W6VMi7mF8yMsJ/BcbJieaKqgCfX29k
jSBsDr1TCGf7wCrmdl3X3AU=
=jiUG
-----END PGP SIGNATURE-----
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email _____________________________________________________________________