<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-family: Helvetica,Arial,sans-serif'>
<p>Troy,</p>
<p>You may have two sets of libraries.  Can you confirm if this file exists?</p>
<pre>/usr/local/lib/libkldap.so.5.0.1<br /><br />By the looks of the logs, that looks to be an older library that is being picked up first by the compiler and is linked against older libraries that you no longer have.<br /><br />Rusty</pre>
<p>On 2013-07-19 14:14, Sindrome wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<pre>Hi Rusty,

Thanks for the response.  In actuality my libraries are in /usr/local/kde4/lib but the kdeadmin installation script keeps trying to look in /usr/local/lib.  I’m trying to get to the bottom of why the kdeadmin installation keeps trying to look in the wrong place for the libkldap libraries.

-Troy


From: <a href="mailto:kde-freebsd-bounces@kde.org">kde-freebsd-bounces@kde.org</a> [mailto:<a href="mailto:kde-freebsd-bounces@kde.org">kde-freebsd-bounces@kde.org</a>] On Behalf Of Rusty Nejdl
Sent: Friday, July 19, 2013 12:02 PM
To: <a href="mailto:kde-freebsd@kde.org">kde-freebsd@kde.org</a>
Subject: Re: [kde-freebsd] Any further help with upgrading kdeadmin-4.10.4

In looking at your libs, they are not in the right spot and so seem to be orphaned by a previous install.  My ldap files are in 
[tethys]:/usr/ports/sysutils/kdeadmin4> locate libkldap
/usr/local/kde4/lib/libkldap.so
/usr/local/kde4/lib/libkldap.so.5
/usr/local/kde4/lib/libkldap.so.5.0.1
[tethys]:/usr/ports/sysutils/kdeadmin4>
While yours are in /usr/local/lib/
Rusty Nejdl
On 2013-07-19 11:42, Sindrome wrote:
Can anyone give me any more guidance.   I did a clean build of
kdelibs,kdepimlibs and still kdeadmin is trying to build by thinking
libkldap.so.5.0.1 is in /usr/local/lib rather than where it really is in
/usr/local/kde4/lib -- what else would be causing kdeadmin to look in
/usr/local/lib?
Here's the output from the following command. make -C /usr/ports/sysutils/kdeadmin4 MAKE_JOBS_UNSAFE=yes build /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 /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) /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) /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_flatten' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_get_option' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_scanf' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_peek_tag' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_rename' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_get_values_len' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_controls_free' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_add_ext_s' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_parse_result' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_rename_s' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_result' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_modify_ext_s' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_value_free_len' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_skip_tag' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_mods_free' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_unbind_ext' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_parse_extended_result' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_delete_ext_s' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_init' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_next_attribute' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_compare_ext' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_sasl_bind_s' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_memfree' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_memfree' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_alloc_t' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_msgfree' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_parse_sasl_bind_result' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_bvecfree' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_sasl_bind' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_search_ext' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_initialize' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_bvfree' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_get_dn' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_first_attribute' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_printf' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ber_free' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_set_option' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_abandon_ext' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_delete_ext' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_compare_ext_s' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_err2string' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_modify_ext' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_add_ext' /usr/local/lib/libkldap.so.5.0.1: undefined reference to `ldap_start_tls_s' *** [kuser/kuser] Error code 1 Stop in /usr/ports/sysutils/kdeadmin4/work/.build. *** [kuser/CMakeFiles/kuser.dir/all] Error code 1 Stop in /usr/ports/sysutils/kdeadmin4/work/.build. *** [all] Error code 1 Stop in /usr/ports/sysutils/kdeadmin4/work/.build. *** [do-build] Error code 1 Stop in /usr/ports/sysutils/kdeadmin4. Exit 1




_______________________________________________
kde-freebsd mailing list
<a href="mailto:kde-freebsd@kde.org">kde-freebsd@kde.org</a>
<a href="https://mail.kde.org/mailman/listinfo/kde-freebsd">https://mail.kde.org/mailman/listinfo/kde-freebsd</a>
See also <a href="http://freebsd.kde.org/">http://freebsd.kde.org/</a> for latest information
 
 


</pre>
</blockquote>
<p> </p>
<div> </div>
</body></html>