Cecilia Cabrera wrote:
Hi, i'm compiling openca in a NetBSD 1.5.1 - spark

And i'm having this problem:

----------------------------------------------------------------------------------
/usr/local/src/openca-0.9.0/src/modules/openca-sv/src/callback.c:167:
undefined reference to `X509_NAME_print_ex'
collect2: ld returned 1 exit status
*** Error code 1

Stop.
*** Error code 1

----------------------------------------------------------------

Does anyone know why this is so?
Yes, you don't specify the prefix of the OpenSSL 0.9.7 installation. The C-compiler tries to use the headers from 0.9.6 and these headers don't include several defines of 0.9.7. Please use something like this (/usr/local/ssl is the default installation path of OpenSSL under Linux):

--with-openssl-prefix=/usr/local/ssl.

The includes will be automatically detected in /usr/local/ssl/include/openssl/

PS: i had some trouble with openca includes, but solved it with a link:

ln -s
/usr/local/src/openca-0.9.0/src/modules/openca-sv/include/openca/usr/include/openca
Could you send us a sample configuration which causes this problem? It looks like a missing path for gcc (-Ixyz) or it is a misconfiguration (since I use 0.9.x there was never such a long path in the sources of openca-sv).

Best regards

Michael
--
-------------------------------------------------------------------
Michael Bell Email (private): [EMAIL PROTECTED]
Rechenzentrum - Datacenter Email: [EMAIL PROTECTED]
Humboldt-University of Berlin Tel.: +49 (0)30-2093 2482
Unter den Linden 6 Fax: +49 (0)30-2093 2959
10099 Berlin
Germany http://www.openca.org



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to