I couldn't find /etc/ld.so.conf on Solaris. However, when searching the man page for ld I found out that it uses two environment variables, LIBPATH and LD_LIBRARY_PATH. I set both of these to /usr/local/lib, and now I can execute vadddomain normally. Thanks ! ----- Original Message ----- From: "Ken Jones" <[EMAIL PROTECTED]> To: "Chris Hanrahan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, December 27, 2003 3:58 AM Subject: Re: [vchkpw] Error executing vadddomain
> On Friday 26 December 2003 11:10 pm, Chris Hanrahan wrote: > > I have successfully compiled vpopmail 5.2.2 on Solaris 8. However, when I > > run the vadddomain command, I receive the message "ld.so.1: ./vadddomain: > > fatal: libz.so: open failed: No such file or directory Killed". I didn't > > notice any errors during the compilation or installation vpopmail. I have > > the GNU package zlib installed. I'm new to vpopmail/qmail. My guess is > > that I am missing something that needs to be installed for vpopmail to run, > > but have no idea what. Any help appreciated. > > You need to add the directory where the zlib libraries are to > the ld configuration file. Probably /usr/local/lib but sometimes > sun pkg's put things under /opt. I can't remember which Sun > file it is. The corresponding file under linux is /etc/ld.so.conf > > Ken Jones >
