<div dir="ltr"><div>I'm having the exact same error I had last month when I had a long thread about my inability to upgrade kdeadmin from 4.10.1 to 4.10.3. I got to the root cause of it which was kdeadmin was dependant on openldap-client 2.3. At the time I had 2.4 installed and it kept failing. Once I de-installed 2.4 and went back to 2.3 kdeadmin built properly. <br>
<br>So now only a month later I'm at 4.10.4 and trying to upgrade to 4.10.5 and having the same problem again.<br><br>kdeadmin-4.10.4 < needs updating (port has 4.10.5)<br><br>The issue is that the openldap 2.3 port has been deprecated and removed from the ports tree and kdeadmin has not been upgraded to point to the openldap24-client port properly so it won't build again. <br>
<br></div>Can someone upgrade the dependency in the kdeadmin 4.10.5 port to build properly with the current openldap24-client. You can see below it's still looking for the 2.3 library.<br><div><div><br><br></div><div>
Here's the output from the following command.<br></div><div><br>make -C /usr/ports/sysutils/kdeadmin4 MAKE_JOBS_UNSAFE=yes build<br><br><br>/usr/bin/c++ -O2 -pipe -fno-strict-aliasing -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG CMakeFiles/kuser.dir/kuser_automoc.o CMakeFiles/kuser.dir/ku_mainwidget.o CMakeFiles/kuser.dir/ku_mainview.o CMakeFiles/kuser.dir/ku_edituser.o CMakeFiles/kuser.dir/ku_editgroup.o CMakeFiles/kuser.dir/ku_usermodel.o CMakeFiles/kuser.dir/ku_groupmodel.o CMakeFiles/kuser.dir/ku_deluser.o CMakeFiles/kuser.dir/ku_user.o CMakeFiles/kuser.dir/ku_group.o CMakeFiles/kuser.dir/ku_main.o CMakeFiles/kuser.dir/ku_misc.o CMakeFiles/kuser.dir/ku_pwdlg.o CMakeFiles/kuser.dir/ku_adduser.o CMakeFiles/kuser.dir/ku_configdlg.o CMakeFiles/kuser.dir/ku_global.o CMakeFiles/kuser.dir/sid.o CMakeFiles/kuser.dir/ku_userfiles.o CMakeFiles/kuser.dir/ku_groupfiles.o CMakeFiles/kuser.dir/ku_userldap.o CMakeFiles/kuser.dir/ku_groupldap.o CMakeFiles/kuser.dir/ku_usersystem.o CMakeFiles/kuser.dir/ku_groupsystem.o CMakeFiles/kuser.dir/ku_selectconn.o CMakeFiles/kuser.dir/ku_prefs.o -o kuser -L/usr/local/lib -L/usr/local/kde4/lib -L/usr/local/lib/qt4 /usr/local/kde4/lib/libkio.so.7.0.1 /usr/local/lib/libkldap.so.5.0.1 -lkntlm -lcrypt /usr/local/kde4/lib/libkio.so.7.0.1 /usr/local/lib/qt4/libQtNetwork.so /usr/local/lib/qt4/libQtXml.so /usr/local/kde4/lib/libkdeui.so.7.0.1 /usr/local/lib/qt4/libQtGui.so /usr/local/lib/qt4/libQtSvg.so /usr/local/kde4/lib/libkdecore.so.7.0.1 /usr/local/lib/qt4/libQtDBus.so /usr/local/lib/qt4/libQtCore.so -pthread -Wl,-rpath,/usr/local/lib:/usr/local/kde4/lib:/usr/local/lib/qt4: -Wl,-rpath-link,/usr/local/lib:/usr/local/kde4/lib <br>
/usr/bin/ld: warning: libldap-2.3.so.2, needed by /usr/local/lib/libkldap.so.5.0.1, not found (try using -rpath or -rpath-link)<br>/usr/bin/ld: warning: liblber-2.3.so.2, needed by /usr/local/lib/libkldap.so.5.0.1, not found (try using -rpath or -rpath-link)<br>
/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_flatten'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_get_option'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_scanf'<br>
/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_peek_tag'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_rename'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_get_values_len'<br>
/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_controls_free'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_add_ext_s'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_parse_result'<br>
/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_rename_s'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_result'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_modify_ext_s'<br>
/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_value_free_len'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_skip_tag'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_mods_free'<br>
/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_unbind_ext'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_parse_extended_result'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_delete_ext_s'<br>
/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_init'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_next_attribute'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_compare_ext'<br>
/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_sasl_bind_s'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_memfree'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_memfree'<br>
/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_alloc_t'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_msgfree'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_parse_sasl_bind_result'<br>
/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_bvecfree'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_sasl_bind'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_search_ext'<br>
/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_initialize'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_bvfree'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_get_dn'<br>
/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_first_attribute'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_printf'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_free'<br>
/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_set_option'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_abandon_ext'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_delete_ext'<br>
/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_compare_ext_s'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_err2string'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_modify_ext'<br>
/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_add_ext'<br>/usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_start_tls_s'<br>*** [kuser/kuser] Error code 1<br><br>Stop in /usr/ports/sysutils/kdeadmin4/work/.build.<br>
*** [kuser/CMakeFiles/kuser.dir/all] Error code 1<br><br>Stop in /usr/ports/sysutils/kdeadmin4/work/.build.<br>*** [all] Error code 1<br><br>Stop in /usr/ports/sysutils/kdeadmin4/work/.build.<br>*** [do-build] Error code 1<br>
<br>Stop in /usr/ports/sysutils/kdeadmin4.<br>Exit 1<br></div></div></div>