Make sure '/usr/local/lib' is in '/etc/ld.so.conf', if not add it and run ldconfig.
If you have a RH9, I advise you to install the RPMs instead of compiling it.
Peter Param wrote:
hi all,
I've now got it configured and compiled (on a different machine running RH 9) but now am getting runtime errors loading it:
[EMAIL PROTECTED] init.d]# newpki-server -config /etc/newpki -user newpki -detach -pidfile /var/run/newpki.pid newpki-server: error while loading shared libraries: libnewpki.so.2: cannot open shared object file: No such file or directory
libnewpki.so.2 is found in /usr/local/lib and is linked to /libnewpki.so.2.0.0
That directory:
[EMAIL PROTECTED] lib]# ls -l total 18820 -rw-r--r-- 1 root root 12068676 Sep 30 12:22 libnewpki.a -rwxr-xr-x 1 root root 774 Sep 30 12:22 libnewpki.la lrwxrwxrwx 1 root root 18 Sep 30 12:22 libnewpki.so -> libnewpki.so.2.0.0 lrwxrwxrwx 1 root root 18 Sep 30 12:22 libnewpki.so.2 -> libnewpki.so.2.0.0 -rwxr-xr-x 1 root root 7162260 Sep 30 12:22 libnewpki.so.2.0.0 drwxr-xr-x 2 root root 4096 Sep 30 14:15 mysql
config.conf is as per default, ie:
server=localhost port=3306 username=root password= localport=333 bindaddress= logfile=/var/log/newpki engine= enginecmd= debuglevel=4
...any suggestions?
cheers
Peter
********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager.
This footnote also confirms that this email message has been virus scanned and although no viruses were detected by the system, St Vincent's Hospital accepts no liability for any consequential damage resulting from email containing any computer viruses.
********************************************************************** _____________________________________________________________________ NewPKI http://www.newpki.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
-- Fr�d�ric Giudicelli http://www.newpki.org _____________________________________________________________________ NewPKI http://www.newpki.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
