On 02-05-28 10:46:17 CEST, Pramila Rani wrote:
> I installed openssl from openssl-SNAP-20020526.tar.gz.
> 
> I then downloaded openca-0.9-SNAP-20020527.tar.gz and was trying to install it. I 
>got an error during 'make install-ca'. Below are the last few lines of the error :
> 
>--------------------------------------------------------------------------------------------------------------------
> gcc -DPACKAGE_VERSION=\"0.3.1\\x0\" -I../include -I/usr/include     -g -O2 -c 
>support.c
> gcc -DPACKAGE_VERSION=\"0.3.1\\x0\" -I../include -I/usr/include     -g -O2 -c db.c
> /bin/sh ../libtool --mode=link gcc  -g -O2  -o openca-ocspd  ocspd.o ocsp_response.o 
>server.o http_request.o configuration.o support.o db.o -lcrypto -lssl -L/usr/lib 
>-L/usr    -lfl -ldl -lresolv -lnsl
> mkdir .libs
> gcc -g -O2 -o openca-ocspd ocspd.o ocsp_response.o server.o http_request.o 
>configuration.o support.o db.o  -lcrypto -lssl -L/usr/lib -L/usr -lfl -ldl -lresolv 
>-lnsl
> ocspd.o: In function `main':
> /home/pramila/openca-0.9/src/modules/openca-ocspd/src/ocspd.c:129: undefined 
>reference to `OPENSSL_add_all_algorithms_noconf'
> collect2: ld returned 1 exit status

i've got no idea, it works for me:

gcc -DPACKAGE_VERSION=\"0.3.1\\x0\" -I../include 
-I/usr/local/openssl-SNAP-20020526/include     -g -O2 -c support.c
gcc -DPACKAGE_VERSION=\"0.3.1\\x0\" -I../include 
-I/usr/local/openssl-SNAP-20020526/include     -g -O2 -c db.c
/bin/sh ../libtool --mode=link gcc  -g -O2  -o openca-ocspd  ocspd.o ocsp_response.o 
server.o http_request.o configuration.o support.o db.o -lcrypto -lssl 
-L/usr/local/openssl-SNAP-20020526/lib -L/usr/local/openssl-SNAP-20020526    -lfl -ldl 
-lresolv -lnsl 
mkdir .libs
gcc -g -O2 -o openca-ocspd ocspd.o ocsp_response.o server.o http_request.o 
configuration.o support.o db.o  -lcrypto -lssl -L/usr/local/openssl-SNAP-20020526/lib 
-L/usr/local/openssl-SNAP-20020526 -lfl -ldl -lresolv -lnsl

openssl-SNAP-20020526 as you can see, and the openca from cvs.

rj

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to