I got configure to work by using the following:

./configure --with-openssl-lib=/usr/local/ssl/lib
--with-openssl-include=/usr/local/ssl/include/
--with-newpki-include=/root/pki/src --with-mysql-lib=/usr/local/lib/mysql


However now make exits with an error:


c++ -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/local/share/locale\"-
 I/root/pki/src -I/usr/local/ssl/include/  -Wall -g -O2 -c -o
newpki_server-SQL_Conn.o `test -f './SQL/SQL_Conn.cpp' || echo
'./'`./SQL/SQL_Conn.cpp
c++  -g -O2  -L/usr/local/lib/mysql -Wl,-rpath -Wl,/usr/local/lib/mysql
-L/usr/local/ssl/lib -Wl,-rpath -Wl,/usr/local/ssl/lib  -o newpki-server 
newpki_server-Entity.o newpki_server-Entity_PKI.o
newpki_server-Entity_PKI_ASN1.o newpki_server-Entity_REPOSITORY.o
newpki_server-Entity_REPOSITORY_ASN1.o newpki_server-RepStore.o
newpki_server-Entity_BACKUP.o newpki_server-Entity_BACKUP_ASN1.o
newpki_server-BackupStore.o newpki_server-Entity_SERVER.o
newpki_server-Entity_CA.o newpki_server-Entity_CA_ASN1.o
newpki_server-Entity_RA.o newpki_server-Entity_RA_ASN1.o
newpki_server-Entity_PUBLICATION.o newpki_server-Entity_PUBLICATION_ASN1.o
newpki_server-Entity_KEYSTORE.o newpki_server-Entity_KEYSTORE_ASN1.o
newpki_server-AuthModule.o newpki_server-CA_Handler.o newpki_server-Conf.o
newpki_server-EntityLog.o newpki_server-MAIN.o newpki_server-PKIX_Central.o
newpki_server-SOCK_SERVER.o newpki_server-SockServerADMIN.o
newpki_server-SockServerOCSP.o newpki_server-X509_ACL_Validator.o
newpki_server-SmtpClient.o newpki_server-MIME.o newpki_server-Entity_ASN1.o
newpki_server-UserHandle.o newpki_server-PlugCA.o newpki_server-AsynchJobs.o
newpki_server-NewPKIStore.o newpki_server-RaStore.o newpki_server-CaStore.o
newpki_server-PublicationMethod.o newpki_server-PubStore.o
newpki_server-AutoSynchLDAP.o newpki_server-ClientLDAP.o
newpki_server-OcspServers.o newpki_server-MailInfo.o
newpki_server-CA_Handler_ASN1.o newpki_server-AsynchJobs_ASN1.o
newpki_server-NewPKIStore_ASN1.o newpki_server-RaStore_ASN1.o
newpki_server-RepStore_ASN1.o newpki_server-SQL.o newpki_server-SQL_Conn.o-
 lnewpki -lldap -lmysqlclient -ldl -lpthread -lssl -lcrypto
/usr/bin/ld: cannot find -lnewpki
collect2: ld returned 1 exit status
make[3]: *** [newpki-server] Error 1
make[3]: Leaving directory `/root/newpki-server-2.0.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/newpki-server-2.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/newpki-server-2.0.0'
make: *** [all] Error 2


>>> [EMAIL PROTECTED] 09/28/04 05:45PM >>>

Peter Param wrote:
> hi all,
> 
> has anybody got this running in linux for 2.0.0-beta4?  I'm having
problems
> running configure.  I've got openssl and mysql installed ok.  When i run
> configure its existing out on:
> 
> configure: error: libmysqlclient not found

Where did you install the mysql libraries ?

> 
> 
> my configure is as follows:
> 
> ./configure --with-openssl-lib=/usr/local/ssl/lib
> --with-openssl-include=/usr/local/ssl/include/
> --with-newpki-include=/root/pki/src
> 
> 
> any advise would be greatly appreciated!


Regards,
-- 
Fr�d�ric Giudicelli
http://www.newpki.org 
_____________________________________________________________________
NewPKI                                          http://www.newpki.org 
User Support Mailing List                     [EMAIL PROTECTED] 
Automated List Manager                           [EMAIL PROTECTED]


**********************************************************************
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]

Reply via email to