hi:
when i compiled
/openssl-0.9.6/demos/ssl/cli serv
it just say:
is there any library
lost?
cc -I/home/wenwen/openssl-0.9.6/include -o cli cli.o
-L/home/wenwen/openssl-0.9.6/libssl.a
-L/home/wenwen/openssl-0.9.6/libcrypto.a
cli.o: In function `main': cli.o(.text+0xa): undefined reference to `SSL_library_init' cli.o(.text+0xf): undefined reference to `SSLv2_client_method' cli.o(.text+0x1c): undefined reference to `SSL_load_error_strings' cli.o(.text+0x28): undefined reference to `SSL_CTX_new' cli.o(.text+0x51): undefined reference to `ERR_print_errors_fp' cli.o(.text+0x106): undefined reference to `SSL_new' cli.o(.text+0x12b): undefined reference to `SSL_set_fd' cli.o(.text+0x137): undefined reference to `SSL_connect' cli.o(.text+0x150): undefined reference to `ERR_print_errors_fp' cli.o(.text+0x166): undefined reference to `SSL_get_current_cipher' cli.o(.text+0x171): undefined reference to `SSL_CIPHER_get_name' cli.o(.text+0x18d): undefined reference to `SSL_get_peer_certificate' cli.o(.text+0x1c6): undefined reference to `X509_get_subject_name' cli.o(.text+0x1d1): undefined reference to `X509_NAME_oneline' cli.o(.text+0x206): undefined reference to `Free' cli.o(.text+0x216): undefined reference to `X509_get_issuer_name' cli.o(.text+0x221): undefined reference to `X509_NAME_oneline' cli.o(.text+0x256): undefined reference to `Free' cli.o(.text+0x262): undefined reference to `X509_free' cli.o(.text+0x283): undefined reference to `SSL_write' cli.o(.text+0x29c): undefined reference to `ERR_print_errors_fp' cli.o(.text+0x2c1): undefined reference to `SSL_read' cli.o(.text+0x2da): undefined reference to `ERR_print_errors_fp' cli.o(.text+0x31a): undefined reference to `SSL_shutdown' cli.o(.text+0x332): undefined reference to `SSL_free' cli.o(.text+0x33e): undefined reference to `SSL_CTX_free' collect2: ld returned 1 exit status make: *** [cli] Error 1 |
- Re: No Library Found! wenwen-unitop
- Re: No Library Found! Frédéric Viollet
- Re: No Library Found! Alexey Prohorenko
- RE: No Library Found! SeshaKalyan Manyam
- Re: No Library Found! Frédéric Viollet