Hi all...

I had a segment fault error in executing demo file-prime.c
(/openssl-0.9.7.b/demos/prime/prime.c) in Solaris 8.
Lately, I found out bc was missing before installing openssl.
So I installed GNU bc and re-installed openssl with
"./Configure solaris64-sparcv9-cc" option.
Make test and make install was successful.

After that, I had a problem in compiling prime.c as follows.

-------------------------------------------------------------------------
cc -o prime prime.o -L/usr/local/openssl/lib -lcrypto -lsocket -lnsl
ld: warning: file /usr/local/openssl/lib/libcrypto.a<bn_lib.o>: wrong ELF
class:
 ELFCLASS64
Undefined                               first referenced
  symbol                                     in file
BN_free                                      prime.o
BN_generated_prime                   prime.o
BN_print_fp                                 prime.o
ld: fatal: Symbol referencing errors. No output written to prime
*** Error code 1
make: Fatal error: Command failed for target 'prime'
-------------------------------------------------------------------------

Testing environments are as follows...

1. Solaris 8 and Sun Enterprise 250
2. Forte 6 up 2 C compiler
3. OpenSSL 0.9.7b

What to do? Plz, help...

Thanks.



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to