openssl problem?

2007-10-12 Thread Giannis Mantzouranis

Hello all
I compiled successfuly openssl 0.9.8f maked the tests and installed it.
I compiled openssh 4.7.p1 with the above
But when I try to compile qpopper 4.0.9 with ssl support at the end make 
outputs the following:


gcc   pop_dele.o pop_dropcopy.o pop_get_command.o pop_get_subcommand.o 
pop_init.o pop_last.o pop_list.o pop_log.o pop_lower.o pop_msg.o pop_parse.o 
pop_pass.o pop_quit.o pop_rset.o pop_send.o pop_stat.o pop_updt.o pop_user.o 
pop_xtnd.o pop_xmit.o popper.o pop_bull.o xtnd_xlst.o pop_uidl.o mktemp.o 
pop_rpop.o pop_apop.o md5.o pop_auth.o pop_pope.o pop_extend.o scram.o 
hmac.o base64.o pop_util.o get_sub_opt.o msg_ptr.o drac.o pop_config.o 
pop_tls.o pop_tls_openssl.o pop_tls_sslplus.o sslplus_utils.o main.o 
pop_cache.o genpath.o  -o popper ../mmangle/libmangle.a \

   -I../common ../common/libcommon.a \
   -lcrypt -L/usr/local/ssl/lib -lssl -lcrypto
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x35): In function 
`dlfcn_load':

: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x95): In function 
`dlfcn_load':

: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xbc): In function 
`dlfcn_load':

: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x147): In function 
`dlfcn_bind_var':

: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x172): In function 
`dlfcn_bind_var':

: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x237): In function 
`dlfcn_bind_func':

: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x262): In function 
`dlfcn_bind_func':

: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x50b): In function 
`dlfcn_unload':

: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[1]: *** [popper] Error 1
make[1]: Leaving directory `/home/src/qpopper4.0.9/popper'
make: *** [popper_server] Error 2

Is it an openssl error? Or is it a qpopper error? Or is it a operating 
system error. I compiled these on a slackware linux 10.2

Thanks in advance

Giannis Mantzouranis 


__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   [EMAIL PROTECTED]


Re: openssl problem?

2007-10-12 Thread Giannis Mantzouranis

Thanks a lot guys IT WORKS!

Giannis Mantzouranis
- Original Message - 
From: Marek Marcola [EMAIL PROTECTED]

To: openssl-users@openssl.org
Sent: Friday, October 12, 2007 10:42 PM
Subject: Re: openssl problem?



Hello,

I compiled successfuly openssl 0.9.8f maked the tests and installed it.
I compiled openssh 4.7.p1 with the above
But when I try to compile qpopper 4.0.9 with ssl support at the end make
outputs the following:

gcc   pop_dele.o pop_dropcopy.o pop_get_command.o pop_get_subcommand.o
pop_init.o pop_last.o pop_list.o pop_log.o pop_lower.o pop_msg.o 
pop_parse.o
pop_pass.o pop_quit.o pop_rset.o pop_send.o pop_stat.o pop_updt.o 
pop_user.o

pop_xtnd.o pop_xmit.o popper.o pop_bull.o xtnd_xlst.o pop_uidl.o mktemp.o
pop_rpop.o pop_apop.o md5.o pop_auth.o pop_pope.o pop_extend.o scram.o
hmac.o base64.o pop_util.o get_sub_opt.o msg_ptr.o drac.o pop_config.o
pop_tls.o pop_tls_openssl.o pop_tls_sslplus.o sslplus_utils.o main.o
pop_cache.o genpath.o  -o popper ../mmangle/libmangle.a \
-I../common ../common/libcommon.a \
-lcrypt -L/usr/local/ssl/lib -lssl -lcrypto
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x35): In function
`dlfcn_load':
: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x95): In function
`dlfcn_load':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xbc): In function
`dlfcn_load':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x147): In function
`dlfcn_bind_var':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x172): In function
`dlfcn_bind_var':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x237): In function
`dlfcn_bind_func':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x262): In function
`dlfcn_bind_func':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x50b): In function
`dlfcn_unload':
: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[1]: *** [popper] Error 1
make[1]: Leaving directory `/home/src/qpopper4.0.9/popper'
make: *** [popper_server] Error 2

Is it an openssl error? Or is it a qpopper error? Or is it a operating
system error. I compiled these on a slackware linux 10.2

Try to add -ldl to your popper compilation.

Best regards,
--
Marek Marcola [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   [EMAIL PROTECTED]



__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   [EMAIL PROTECTED]