LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-09-2010, 11:41 AM   #1
Ricio
Member
 
Registered: Sep 2003
Location: Colombia
Distribution: Debian
Posts: 220

Rep: Reputation: 30
Exclamation CentOS 64 bits postfix ldap compilation error


Hello everyone,

Ive been trying to setup a mail server with a ldap backend but I have a problem compiling postfix 2.7.0 with ldap support.

When I do this:
Code:
make makefiles CCARGS="-I/usr/include -DHAS_LDAP" AUXLIBS="/usr/lib/libldap.a /usr/lib/liblber.a"
make
And get this error
Code:
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xe99): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
/libldap.a(controls.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(abandon.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(sasl.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(unbind.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(filter.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(free.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(getentry.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(getattr.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(getvalues.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(request.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(os-ip.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(url.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(init.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(options.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(print.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(util-int.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(charray.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(tls.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(os-local.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(utf-8.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(extended.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(cyrus.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(getdn.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/libldap.a(schema.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/liblber.a(decode.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/liblber.a(encode.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/liblber.a(io.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/liblber.a(bprint.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/liblber.a(memory.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/liblber.a(options.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/liblber.a(sockbuf.o)' is incompatible with i386:x86-64 output
/usr/lib/libldap.a(os-ip.o): In function `ldap_int_select':
(.text+0x10): undefined reference to `_GLOBAL_OFFSET_TABLE_'
/usr/lib/libldap.a(os-ip.o): In function `ldap_int_select':
(.text+0x1f): undefined reference to `ldap_int_global_options'
/usr/lib/libldap.a(os-ip.o): In function `ldap_int_select':
(.text+0x71): undefined reference to `poll'
/usr/lib/libldap.a(os-ip.o): In function `ldap_int_select':
(.text+0xb4): undefined reference to `ldap_log_printf'
/usr/lib/libldap.a(os-ip.o): In function `ldap_int_select':
(.text+0xe3): undefined reference to `__assert_fail'
/usr/lib/libldap.a(os-ip.o): In function `ldap_free_select_info':
(.text+0xfb): undefined reference to `_GLOBAL_OFFSET_TABLE_'
/usr/lib/libldap.a(os-ip.o): In function `ldap_free_select_info':
(.text+0x111): undefined reference to `ber_memfree_x'
/usr/lib/libldap.a(os-ip.o): In function `ldap_new_select_info':
(.text+0x12b): undefined reference to `_GLOBAL_OFFSET_TABLE_'
/usr/lib/libldap.a(os-ip.o): In function `ldap_new_select_info':
(.text+0x14a): undefined reference to `ber_memcalloc_x'
/usr/lib/libldap.a(os-ip.o): In function `ldap_is_read_ready':
(.text+0x172): undefined reference to `_GLOBAL_OFFSET_TABLE_'
/usr/lib/libldap.a(os-ip.o): In function `ldap_is_read_ready':
(.text+0x192): undefined reference to `ber_sockbuf_ctrl'
/usr/lib/libldap.a(os-ip.o): In function `ldap_is_write_ready':
(.text+0x1f2): undefined reference to `_GLOBAL_OFFSET_TABLE_'
/usr/lib/libldap.a(os-ip.o): In function `ldap_is_write_ready':
(.text+0x212): undefined reference to `ber_sockbuf_ctrl'
/usr/lib/libldap.a(os-ip.o): In function `ldap_mark_select_clear':
(.text+0x272): undefined reference to `_GLOBAL_OFFSET_TABLE_'
/usr/lib/libldap.a(os-ip.o): In function `ldap_mark_select_clear':
(.text+0x292): undefined reference to `ber_sockbuf_ctrl'
/usr/lib/libldap.a(os-ip.o): In function `ldap_mark_select_read':
(.text+0x2e3): undefined reference to `_GLOBAL_OFFSET_TABLE_'
/usr/lib/libldap.a(os-ip.o): In function `ldap_mark_select_read':
(.text+0x303): undefined reference to `ber_sockbuf_ctrl'
/usr/lib/libldap.a(os-ip.o): In function `ldap_mark_select_write':
(.text+0x3a3): undefined reference to `_GLOBAL_OFFSET_TABLE_'
/usr/lib/libldap.a(os-ip.o): In function `ldap_mark_select_write':
(.text+0x3c3): undefined reference to `ber_sockbuf_ctrl'
/usr/lib/libldap.a(os-ip.o): In function `ldap_host_connected_to':
(.text+0x466): undefined reference to `_GLOBAL_OFFSET_TABLE_'
/usr/lib/libldap.a(os-ip.o): In function `ldap_host_connected_to':
(.text+0x4a5): undefined reference to `memset'
/usr/lib/libldap.a(os-ip.o): In function `ldap_host_connected_to':
(.text+0x4c9): undefined reference to `ber_sockbuf_ctrl'
/usr/lib/libldap.a(os-ip.o): In function `ldap_host_connected_to':
(.text+0x4e5): undefined reference to `getpeername'
/usr/lib/libldap.a(os-ip.o): In function `ldap_host_connected_to':
(.text+0x52f): undefined reference to `ldap_int_hostname'
/usr/lib/libldap.a(os-ip.o): In function `ldap_host_connected_to':
(.text+0x541): undefined reference to `ber_strdup_x'
/usr/lib/libldap.a(os-ip.o): In function `ldap_host_connected_to':
(.text+0x5ce): undefined reference to `ldap_pvt_get_hname'
/usr/lib/libldap.a(os-ip.o): In function `ldap_host_connected_to':
(.text+0x5ff): undefined reference to `ber_strdup_x'
/usr/lib/libldap.a(os-ip.o): In function `ldap_host_connected_to':
(.text+0x66a): undefined reference to `ber_strdup_x'
/usr/lib/libldap.a(os-ip.o): In function `ldap_host_connected_to':
(.text+0x674): undefined reference to `__stack_chk_fail_local'
/usr/lib/libldap.a(os-ip.o): In function `ldap_pvt_ndelay_off':
(.text+0x690): undefined reference to `_GLOBAL_OFFSET_TABLE_'
/usr/lib/libldap.a(os-ip.o): In function `ldap_pvt_ndelay_off':
(.text+0x6c7): undefined reference to `ldap_log_printf'
/usr/lib/libldap.a(os-ip.o): In function `ldap_pvt_ndelay_off':
(.text+0x6d7): undefined reference to `ber_pvt_socket_set_nonblock'
/usr/lib/libldap.a(os-ip.o): In function `ldap_pvt_close_socket':
(.text+0x700): undefined reference to `_GLOBAL_OFFSET_TABLE_'
/usr/lib/libldap.a(os-ip.o): In function `ldap_pvt_close_socket':
(.text+0x737): undefined reference to `ldap_log_printf'
/usr/lib/libldap.a(os-ip.o): In function `ldap_pvt_close_socket':
(.text+0x747): undefined reference to `shutdown'
/usr/lib/libldap.a(os-ip.o): In function `ldap_pvt_close_socket':
(.text+0x74f): undefined reference to `close'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0x77c): undefined reference to `_GLOBAL_OFFSET_TABLE_'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0x7eb): undefined reference to `ldap_log_printf'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0x847): undefined reference to `ldap_log_printf'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0x8c1): undefined reference to `__snprintf_chk'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0x8e1): undefined reference to `getaddrinfo'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0x929): undefined reference to `socket'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0x95d): undefined reference to `ldap_log_printf'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0x975): undefined reference to `fcntl'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0x9b6): undefined reference to `ldap_log_printf'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xa48): undefined reference to `ldap_log_printf'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xa80): undefined reference to `ldap_log_printf'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xa96): undefined reference to `ber_pvt_socket_set_nonblock'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xabd): undefined reference to `connect'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xb4b): undefined reference to `ldap_log_printf'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xb60): undefined reference to `freeaddrinfo'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xb91): undefined reference to `inet_ntop'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xbc5): undefined reference to `ldap_log_printf'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xbef): undefined reference to `inet_ntop'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xc23): undefined reference to `ldap_log_printf'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xc5f): undefined reference to `ldap_log_printf'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xcb2): undefined reference to `setsockopt'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xce5): undefined reference to `setsockopt'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xd20): undefined reference to `ldap_log_printf'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xd2a): undefined reference to `__errno_location'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xde1): undefined reference to `poll'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xe2d): undefined reference to `ldap_log_printf'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xe59): undefined reference to `getpeername'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xe82): undefined reference to `read'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xe99): undefined reference to `sys_nerr'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xea7): undefined reference to `sys_errlist'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xeda): undefined reference to `ldap_log_printf'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xf10): undefined reference to `ldap_log_printf'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xf4a): undefined reference to `ber_sockbuf_ctrl'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xf62): undefined reference to `freeaddrinfo'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xf99): undefined reference to `ldap_log_printf'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xfd4): undefined reference to `ldap_log_printf'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xfea): undefined reference to `__stack_chk_fail_local'
/usr/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xff2): undefined reference to `gai_strerror'
/usr/lib/libldap.a(os-ip.o): In function `ldap_int_timeval_dup':
(.text+0x1036): undefined reference to `_GLOBAL_OFFSET_TABLE_'
/usr/lib/libldap.a(os-ip.o): In function `ldap_int_timeval_dup':
(.text+0x1058): undefined reference to `ber_memalloc_x'
/usr/lib/libldap.a(os-ip.o): In function `ldap_int_timeval_dup':
(.text+0x1075): undefined reference to `memmove'
/usr/lib/libldap.a(os-ip.o): In function `ldap_int_timeval_dup':
(.text+0x10d0): undefined reference to `__assert_fail'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_get_my_dn':
(.text+0xf9): undefined reference to `SSL_get_certificate'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_get_my_dn':
(.text+0x10a): undefined reference to `X509_get_subject_name'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_get_strength':
(.text+0x159): undefined reference to `SSL_get_current_cipher'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_get_strength':
(.text+0x169): undefined reference to `SSL_CIPHER_get_bits'
/usr/lib/libldap.a(tls.o): In function `sb_tls_close':
(.text+0x286): undefined reference to `SSL_shutdown'
/usr/lib/libldap.a(tls.o): In function `update_flags':
(.text+0x311): undefined reference to `SSL_get_error'
/usr/lib/libldap.a(tls.o): In function `sb_tls_write':
(.text+0x4d5): undefined reference to `SSL_write'
/usr/lib/libldap.a(tls.o): In function `sb_tls_write':
(.text+0x4e6): undefined reference to `SSL_get_error'
/usr/lib/libldap.a(tls.o): In function `sb_tls_read':
(.text+0x5b5): undefined reference to `SSL_read'
/usr/lib/libldap.a(tls.o): In function `sb_tls_read':
(.text+0x5c6): undefined reference to `SSL_get_error'
/usr/lib/libldap.a(tls.o): In function `sb_tls_ctrl':
(.text+0x6cb): undefined reference to `SSL_pending'
/usr/lib/libldap.a(tls.o): In function `sb_tls_remove':
(.text+0x75b): undefined reference to `SSL_free'
/usr/lib/libldap.a(tls.o): In function `sb_tls_setup':
(.text+0x82a): undefined reference to `BIO_new'
/usr/lib/libldap.a(tls.o): In function `sb_tls_setup':
(.text+0x83f): undefined reference to `SSL_set_bio'
/usr/lib/libldap.a(tls.o): In function `tls_get_cert':
(.text+0xf7d): undefined reference to `SSL_get_verify_result'
/usr/lib/libldap.a(tls.o): In function `tls_get_cert':
(.text+0xf89): undefined reference to `SSL_get_peer_certificate'
/usr/lib/libldap.a(tls.o): In function `tls_get_cert':
(.text+0xf9f): undefined reference to `SSL_version'
/usr/lib/libldap.a(tls.o): In function `tls_get_cert':
(.text+0xfbe): undefined reference to `ssl3_send_alert'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x10ba): undefined reference to `X509_get_ext_by_NID'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x10d4): undefined reference to `X509_get_ext'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x10dc): undefined reference to `X509V3_EXT_d2i'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x1124): undefined reference to `sk_num'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x1178): undefined reference to `sk_value'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x1196): undefined reference to `ASN1_STRING_data'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x11a7): undefined reference to `ASN1_STRING_length'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x1228): undefined reference to `GENERAL_NAMES_free'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x123b): undefined reference to `GENERAL_NAMES_free'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x1256): undefined reference to `X509_get_subject_name'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x1272): undefined reference to `X509_NAME_get_text_by_NID'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x1362): undefined reference to `X509_free'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x13a5): undefined reference to `ASN1_STRING_data'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x13b6): undefined reference to `ASN1_STRING_length'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_get_peer_hostname':
(.text+0x1703): undefined reference to `X509_get_subject_name'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_get_peer_hostname':
(.text+0x171f): undefined reference to `X509_NAME_get_text_by_NID'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_get_peer_hostname':
(.text+0x173e): undefined reference to `X509_free'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_get_peer_hostname':
(.text+0x1763): undefined reference to `X509_free'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_get_peer_dn':
(.text+0x17a1): undefined reference to `X509_get_subject_name'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_get_peer_dn':
(.text+0x17c8): undefined reference to `X509_free'
/usr/lib/libldap.a(tls.o): In function `tls_report_error':
(.text+0x182e): undefined reference to `ERR_get_error_line'
/usr/lib/libldap.a(tls.o): In function `tls_report_error':
(.text+0x1846): undefined reference to `ERR_error_string_n'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1934): undefined reference to `SSLv23_method'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1941): undefined reference to `SSL_CTX_new'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x196b): undefined reference to `SSL_CTX_set_session_id_context'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x198a): undefined reference to `SSL_CTX_set_cipher_list'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x19e0): undefined reference to `SSL_CTX_load_verify_locations'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1a5a): undefined reference to `ERR_peek_error'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1aca): undefined reference to `SSL_CTX_use_PrivateKey_file'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1b2e): undefined reference to `SSL_CTX_set_default_verify_paths'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1b49): undefined reference to `SSL_load_client_CA_file'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1b6c): undefined reference to `SSL_add_dir_cert_subjects_to_stack'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1b98): undefined reference to `SSL_CTX_set_client_CA_list'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1ba5): undefined reference to `SSL_CTX_free'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1c21): undefined reference to `SSL_CTX_use_certificate_file'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1c98): undefined reference to `sk_free'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1d1a): undefined reference to `SSL_CTX_check_private_key'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1d8d): undefined reference to `BIO_new_file'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1dbb): undefined reference to `PEM_read_bio_DHparams'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1de3): undefined reference to `DH_size'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1e07): undefined reference to `BIO_free'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1e5a): undefined reference to `SSL_CTX_set_verify'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1e72): undefined reference to `SSL_CTX_set_tmp_rsa_callback'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1e94): undefined reference to `SSL_CTX_set_tmp_dh_callback'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1eb0): undefined reference to `SSL_CTX_get_cert_store'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1ed8): undefined reference to `X509_STORE_set_flags'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1ee4): undefined reference to `sk_new_null'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1f65): undefined reference to `X509_STORE_set_flags'
/usr/lib/libldap.a(tls.o): In function `alloc_handle':
(.text+0x1f8f): undefined reference to `SSL_new'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_accept':
(.text+0x205d): undefined reference to `SSL_accept'
/usr/lib/libldap.a(tls.o): In function `tls_tmp_dh_cb':
(.text+0x2200): undefined reference to `DH_generate_parameters'
/usr/lib/libldap.a(tls.o): In function `tls_tmp_dh_cb':
(.text+0x225b): undefined reference to `BIO_new_mem_buf'
/usr/lib/libldap.a(tls.o): In function `tls_tmp_dh_cb':
(.text+0x2289): undefined reference to `PEM_read_bio_DHparams'
/usr/lib/libldap.a(tls.o): In function `tls_tmp_dh_cb':
(.text+0x2296): undefined reference to `BIO_free'
/usr/lib/libldap.a(tls.o): In function `tls_tmp_rsa_cb':
(.text+0x22e9): undefined reference to `RSA_generate_key'
/usr/lib/libldap.a(tls.o): In function `tls_verify_cb':
(.text+0x237b): undefined reference to `X509_STORE_CTX_get_current_cert'
/usr/lib/libldap.a(tls.o): In function `tls_verify_cb':
(.text+0x2385): undefined reference to `X509_STORE_CTX_get_error'
/usr/lib/libldap.a(tls.o): In function `tls_verify_cb':
(.text+0x2390): undefined reference to `X509_STORE_CTX_get_error_depth'
/usr/lib/libldap.a(tls.o): In function `tls_verify_cb':
(.text+0x239b): undefined reference to `X509_get_subject_name'
/usr/lib/libldap.a(tls.o): In function `tls_verify_cb':
(.text+0x23a5): undefined reference to `X509_get_issuer_name'
/usr/lib/libldap.a(tls.o): In function `tls_verify_cb':
(.text+0x23bf): undefined reference to `X509_NAME_oneline'
/usr/lib/libldap.a(tls.o): In function `tls_verify_cb':
(.text+0x23d9): undefined reference to `X509_NAME_oneline'
/usr/lib/libldap.a(tls.o): In function `tls_verify_cb':
(.text+0x245f): undefined reference to `CRYPTO_free'
/usr/lib/libldap.a(tls.o): In function `tls_verify_cb':
(.text+0x246b): undefined reference to `CRYPTO_free'
/usr/lib/libldap.a(tls.o): In function `tls_verify_cb':
(.text+0x24c7): undefined reference to `X509_verify_cert_error_string'
/usr/lib/libldap.a(tls.o): In function `tls_info_cb':
(.text+0x2577): undefined reference to `SSL_state_string_long'
/usr/lib/libldap.a(tls.o): In function `tls_info_cb':
(.text+0x2657): undefined reference to `SSL_alert_type_string_long'
/usr/lib/libldap.a(tls.o): In function `tls_info_cb':
(.text+0x2662): undefined reference to `SSL_alert_desc_string_long'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init':
(.text+0x2741): undefined reference to `SSL_load_error_strings'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init':
(.text+0x2746): undefined reference to `SSL_library_init'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_init':
(.text+0x274b): undefined reference to `X509V3_add_standard_extensions'
/usr/lib/libldap.a(tls.o): In function `ldap_int_tls_start':
(.text+0x2808): undefined reference to `SSL_connect'
/usr/lib/libldap.a(tls.o): In function `ldap_int_tls_start':
(.text+0x2988): undefined reference to `ERR_peek_error'
/usr/lib/libldap.a(tls.o): In function `ldap_int_tls_start':
(.text+0x29c0): undefined reference to `ERR_error_string'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_destroy':
(.text+0x2c2c): undefined reference to `SSL_CTX_free'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_destroy':
(.text+0x2c3b): undefined reference to `EVP_cleanup'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_destroy':
(.text+0x2c47): undefined reference to `ERR_remove_state'
/usr/lib/libldap.a(tls.o): In function `ldap_pvt_tls_destroy':
(.text+0x2c4c): undefined reference to `ERR_free_strings'
/usr/lib/libldap.a(cyrus.o): In function `sb_sasl_write':
(.text+0x165): undefined reference to `sasl_encode'
/usr/lib/libldap.a(cyrus.o): In function `sb_sasl_write':
(.text+0x1b2): undefined reference to `sasl_errstring'
/usr/lib/libldap.a(cyrus.o): In function `sb_sasl_read':
(.text+0x454): undefined reference to `sasl_decode'
/usr/lib/libldap.a(cyrus.o): In function `sb_sasl_read':
(.text+0x58b): undefined reference to `sasl_errstring'
/usr/lib/libldap.a(cyrus.o): In function `sb_sasl_setup':
(.text+0x6f7): undefined reference to `sasl_getprop'
/usr/lib/libldap.a(cyrus.o): In function `ldap_int_sasl_external':
(.text+0x796): undefined reference to `sasl_setprop'
/usr/lib/libldap.a(cyrus.o): In function `ldap_int_sasl_external':
(.text+0x7b1): undefined reference to `sasl_setprop'
/usr/lib/libldap.a(cyrus.o): In function `.L139':
(.text+0x88a): undefined reference to `sasl_getprop'
/usr/lib/libldap.a(cyrus.o): In function `.L212':
(.text+0xb98): undefined reference to `sasl_setprop'
/usr/lib/libldap.a(cyrus.o): In function `ldap_int_sasl_close':
(.text+0xeae): undefined reference to `sasl_dispose'
/usr/lib/libldap.a(cyrus.o): In function `ldap_int_sasl_close':
(.text+0xec5): undefined reference to `sasl_dispose'
/usr/lib/libldap.a(cyrus.o): In function `ldap_int_sasl_init':
(.text+0x104d): undefined reference to `sasl_version'
/usr/lib/libldap.a(cyrus.o): In function `ldap_int_sasl_init':
(.text+0x10e4): undefined reference to `sasl_client_init'
/usr/lib/libldap.a(cyrus.o): In function `ldap_int_sasl_open':
(.text+0x11cd): undefined reference to `sasl_client_new'
/usr/lib/libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
(.text+0x13a5): undefined reference to `sasl_dispose'
/usr/lib/libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
(.text+0x1512): undefined reference to `sasl_setprop'
/usr/lib/libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
(.text+0x15e2): undefined reference to `sasl_client_start'
/usr/lib/libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
(.text+0x1786): undefined reference to `sasl_errdetail'
/usr/lib/libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
(.text+0x192e): undefined reference to `sasl_client_step'
/usr/lib/libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
(.text+0x19df): undefined reference to `sasl_errdetail'
/usr/lib/libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
(.text+0x1ac4): undefined reference to `sasl_errdetail'
/usr/lib/libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
(.text+0x1b5b): undefined reference to `sasl_getprop'
/usr/lib/libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
(.text+0x1bb1): undefined reference to `sasl_getprop'
/usr/lib/libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
(.text+0x1c50): undefined reference to `sasl_dispose'
/usr/lib/libldap.a(getdn.o): In function `ldap_X509dn2bv':
(.text+0x2322): undefined reference to `X509_NAME_entry_count'
/usr/lib/libldap.a(getdn.o): In function `ldap_X509dn2bv':
(.text+0x2339): undefined reference to `X509_NAME_get_entry'
/usr/lib/libldap.a(getdn.o): In function `ldap_X509dn2bv':
(.text+0x240b): undefined reference to `X509_NAME_get_entry'
/usr/lib/libldap.a(getdn.o): In function `ldap_X509dn2bv':
(.text+0x2415): undefined reference to `X509_NAME_ENTRY_get_object'
/usr/lib/libldap.a(getdn.o): In function `ldap_X509dn2bv':
(.text+0x2423): undefined reference to `X509_NAME_ENTRY_get_data'
/usr/lib/libldap.a(getdn.o): In function `ldap_X509dn2bv':
(.text+0x24d4): undefined reference to `OBJ_obj2txt'
/usr/lib/libldap.a(getdn.o): In function `.L759':
(.text+0x26fa): undefined reference to `OBJ_obj2nid'
/usr/lib/libldap.a(getdn.o): In function `.L759':
(.text+0x270a): undefined reference to `OBJ_nid2sn'
collect2: ld devolvió el estado de salida 1
make: *** [error] Error 1
make: *** [update] Error 1
Has anyone had this problem before?? Could you help me out solving this one?
What am I doing wrong?

Thank you!
 
Old 05-09-2010, 10:52 PM   #2
Ricio
Member
 
Registered: Sep 2003
Location: Colombia
Distribution: Debian
Posts: 220

Original Poster
Rep: Reputation: 30
Got it working with this:
Code:
make makefiles CCARGS="-I/usr/local/include -DHAS_LDAP"
AUXLIBS="-L/usr/local/lib -lldap -L/usr/local/lib -llber"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Compilation Error saif.sicsr Linux - Server 1 02-26-2009 06:40 AM
Postfix Compilation Error saif.sicsr Linux - Server 4 02-25-2009 06:23 PM
kernel compilation error in centos 5.1 megerdin Linux - Kernel 6 07-06-2008 06:23 AM
LDAP error in postfix dougnc Linux - Software 4 07-19-2007 11:12 AM
Postfix compilation error Swift&Smart Linux - Software 1 12-28-2004 02:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration