Re: [vchkpw] Error executing vadddomain

2003-12-27 Thread Ken Jones
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


Re: [vchkpw] Error executing vadddomain

2003-12-27 Thread Chris Hanrahan
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





RE: [vchkpw] Error executing vadddomain

2003-12-27 Thread Derek Graetz
Try running 'crle' on solaris.  It will show you your path to
ld.so.conf.  But I think solaris sets it to ld.config.

-Original Message-
From: Chris Hanrahan [mailto:[EMAIL PROTECTED] 
Sent: Saturday, December 27, 2003 8:14 PM
To: Ken Jones; [EMAIL PROTECTED]
Subject: Re: [vchkpw] Error executing vadddomain


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






Re: [vchkpw] Error executing vadddomain

2003-12-27 Thread Chris Hanrahan
According to crle, the file should be /var/ld/ld.config.  However, this file
does not exist.  Following the instructions in the man page for crle, I did
crle -l /usr/local/lib -u  This created a ld.conf file and added the path
/usr/local/lib to it.  Thanks !
- Original Message - 
From: Derek Graetz [EMAIL PROTECTED]
To: 'Chris Hanrahan' [EMAIL PROTECTED]; 'Ken Jones'
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, December 27, 2003 8:02 PM
Subject: RE: [vchkpw] Error executing vadddomain


 Try running 'crle' on solaris.  It will show you your path to
 ld.so.conf.  But I think solaris sets it to ld.config.

 -Original Message-
 From: Chris Hanrahan [mailto:[EMAIL PROTECTED]
 Sent: Saturday, December 27, 2003 8:14 PM
 To: Ken Jones; [EMAIL PROTECTED]
 Subject: Re: [vchkpw] Error executing vadddomain


 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