Hi, I am compiling the latest 6.0 alpha from the linphone-desktop git repo.

Can someone please help me resolve the missing symbols error?  I receive the 
error message (following the 2nd cmake):
cmake fails:
[ 83%] Linking CXX executable ../bin/linphone6
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_free_urldesc@OPENLDAP_2.200'
...
There are a number of undefined references.  Above I only provided the 1st 
(full listing, below).

I have done my best to carefully follow the pre-reqs outlined in the README and 
the docker directory (referenced in the README).

Fedora 40
rpm -qa | grep -i openldap
openldap-compat-2.6.8-2.fc40.x86_64
openldap-2.6.8-2.fc40.x86_64
openldap-devel-2.6.8-2.fc40.x86_64
openldap-2.6.8-2.fc40.i686

Ref. FedoraForum.org discussion & details: 
https://forums.fedoraforum.org/showthread.php?334300
Issue #850 
URL:https://github.com/BelledonneCommunications/linphone-desktop/issues/850

Full output of error messages:
[ 83%] Linking CXX executable ../bin/linphone6
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_free_urldesc@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_sasl_bind@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_parse_sasl_bind_result@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_init_fd@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ber_sockbuf_add_io@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_memfree@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ber_memvfree@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_start_tls@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_search_ext@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_msgfree@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_msgtype@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_parse_result@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_url_parse@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_err2string@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_set_option@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ber_bvfree@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_abandon_ext@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_get_dn_ber@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_get_attribute_ber@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_get_option@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ber_memfree@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ber_free@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_unbind_ext@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_pvt_url_scheme2proto@OPENLDAP_2.200'
/usr/bin/ld: /usr/lib64/libcurl.so.4: undefined reference to 
`ldap_result@OPENLDAP_2.200'
collect2: error: ld returned 1 exit status
gmake[2]: *** [Linphone/CMakeFiles/Linphone.dir/build.make:6709: bin/linphone6] 
Error 1
gmake[1]: *** [CMakeFiles/Makefile2:5011: Linphone/CMakeFiles/Linphone.dir/all] 
Error 2
gmake: *** [Makefile:156: all] Error 2

_______________________________________________
Linphone-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to