[kde-freebsd] Any further help with upgrading kdeadmin-4.10.4

Anthony Jenkins scoobi_doo at yahoo.com
Sat Jul 20 21:44:50 UTC 2013


What's the contents of /usr/ports/sysutils/kdeadmin4/work/.build/kuser/CMakeFiles/kuser.dir/build.make?

$ grep  libkldap work/.build/kuser/CMakeFiles/kuser.dir/build.make
kuser/kuser: /usr/local/kde4/lib/libkldap.so.5.0.1

...and /usr/local/kde4/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake

]$  grep LIB_DIR /usr/local/kde4/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake
set(KDEPIMLIBS_LIB_DIR             "/usr/local/kde4/lib")

Can you add 'VERBOSE=1' make flag?


$ make -C /usr/ports/sysutils/kdeadmin4 MAKE_JOBS_UNSAFE=yes VERBOSE=1 build
[snip]
[ 14%] Building CXX object kuser/CMakeFiles/kuser.dir/ku_prefs.o
cd /usr/ports/sysutils/kdeadmin4/work/.build/kuser && /usr/bin/c++   -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=34 -DKDE_DEPRECATED_WARNINGS -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_REENTRANT -O2 -fno-strict-aliasing -pipe -march=athlon64 -Woverloaded-virtual -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2 -fno-strict-aliasing -pipe -march=athlon64 -DQT_NO_DEBUG -I/usr/ports/sysutils/kdeadmin4/work/.build/kuser -I/usr/ports/sysutils/kdeadmin4/work/kdeadmin-4.10.3/kuser -I/usr/ports/sysutils/kdeadmin4/work/kdeadmin-4.10.3 -I/usr/ports/sysutils/kdeadmin4/work/.build -I/usr/local/kde4/include -I/usr/local/kde4/include/KDE -I/usr/local/include/qt4/phonon -I/usr/local/include/qt4/QtXmlPatterns -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtWebKit -I/usr/local/include/qt4/QtUiTools -I/usr/local/include/qt4/QtTest -I/usr/local/include/qt4/QtSvg
 -I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtScriptTools -I/usr/local/include/qt4/QtScript -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtMultimedia -I/usr/local/include/qt4/QtHelp -I/usr/local/include/qt4/QtDesigner -I/usr/local/include/qt4/QtDeclarative -I/usr/local/include/qt4/QtDBus -I/usr/local/include/qt4/Qt3Support -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/Qt -I/usr/local/share/qt4/mkspecs/default -I/usr/local/include/qt4 -I/usr/local/include     -D_LARGEFILE64_SOURCE -o CMakeFiles/kuser.dir/ku_prefs.o -c /usr/ports/sysutils/kdeadmin4/work/.build/kuser/ku_prefs.cpp
Linking CXX executable kuser
cd /usr/ports/sysutils/kdeadmin4/work/.build/kuser && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/kuser.dir/link.txt --verbose=1
/usr/bin/c++   -O2 -fno-strict-aliasing -pipe -march=athlon64 -Woverloaded-virtual -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2 -fno-strict-aliasing -pipe -march=athlon64 -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/kde4/lib  -L/usr/local/lib/qt4  /usr/local/kde4/lib/libkio.so.7.0.1 /usr/local/kde4/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/kde4/lib:/usr/local/lib/qt4:/usr/local/lib:::::::::::::::::::: -Wl,-rpath-link,/usr/local/kde4/lib:/usr/local/lib
cd /usr/ports/sysutils/kdeadmin4/work/.build/kuser && /usr/local/bin/cmake -D_filename=/usr/ports/sysutils/kdeadmin4/work/.build/kuser/kuser.shell -D_library_path_variable=LD_LIBRARY_PATH -D_ld_library_path="/usr/ports/sysutils/kdeadmin4/work/.build/lib/./:/usr/local/kde4/lib:/usr/local/kde4/lib:/usr/local/lib/qt4" -D_executable=/usr/ports/sysutils/kdeadmin4/work/.build/kuser/kuser -P /usr/local/kde4/share/apps/cmake/modules/kde4_exec_via_sh.cmake
/usr/local/bin/cmake -E cmake_progress_report /usr/ports/sysutils/kdeadmin4/work/.build/CMakeFiles  83 84 85 86 87 88 89 90 91 92 93 94 95
[ 14%] Built target kuser


Worst case hack:
$ for lib in /usr/local/kde4/lib/libkldap.so*; do ln -sv "${lib}" /usr/local/lib/; done


Anthony

(sorry for top-posting)



----- Original Message -----
From: Sindrome <sindrome at gmail.com>
To: 'Anthony Jenkins' <scoobi_doo at yahoo.com>; rnejdl at ringofsaturn.com
Cc: kde-freebsd at kde.org
Sent: Saturday, July 20, 2013 4:15 PM
Subject: RE: [kde-freebsd] Any further help with upgrading kdeadmin-4.10.4

I de-installed and re-installed kdepimlibs4 cleanly (yet again) and still I'm having the very same issue where kdeadmin continues to try and look in /usr/local/lib for libkldap.so.5.0.1


I'm not sure if the auto script at the beginning of the build will shed some light here as it's finding other libraries in /usr/local/lib as you can see below.


make -C /usr/ports/sysutils/kdeadmin4 MAKE_JOBS_UNSAFE=yes build
===>  Found saved configuration for kdeadmin-4.8.3_1
===> Fetching all distfiles required by kdeadmin-4.10.5 for building
===>  Extracting for kdeadmin-4.10.5
=> SHA256 Checksum OK for KDE/4.10.5/kdeadmin-4.10.5.tar.xz.
===>  Patching for kdeadmin-4.10.5
===>  Applying FreeBSD patches for kdeadmin-4.10.5
===>   kdeadmin-4.10.5 depends on file: /usr/local/bin/cmake - found
===>   kdeadmin-4.10.5 depends on file: /usr/local/lib/qt4/libQtDBus.so - found
===>   kdeadmin-4.10.5 depends on file: /usr/local/bin/moc-qt4 - found
===>   kdeadmin-4.10.5 depends on file: /usr/local/bin/qmake-qt4 - found
===>   kdeadmin-4.10.5 depends on file: /usr/local/bin/rcc - found
===>   kdeadmin-4.10.5 depends on file: /usr/local/bin/uic-qt4 - found
===>   kdeadmin-4.10.5 depends on file: /usr/local/bin/automoc4 - found
===>   kdeadmin-4.10.5 depends on file: /usr/local/kde4/lib/libkdecore.so.7 - found
===>   kdeadmin-4.10.5 depends on file: /usr/local/kde4/lib/libkpimutils.so.5 - found
===>  Configuring for kdeadmin-4.10.5
===>  Performing out-of-source build
/bin/mkdir -p /usr/ports/sysutils/kdeadmin4/work/.build
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is GNU 4.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt-Version 4.8.4 (using /usr/local/bin/qmake-qt4)
-- Looking for XOpenDisplay in /usr/local/lib/libX11.so;/usr/local/lib/libXext.so;/usr/local/lib/libXft.so;/usr/local/lib/libXau.so;/usr/local/lib/libXdmcp.so;/usr/local/lib/libXpm.so
-- Looking for XOpenDisplay in /usr/local/lib/libX11.so;/usr/local/lib/libXext.so;/usr/local/lib/libXft.so;/usr/local/lib/libXau.so;/usr/local/lib/libXdmcp.so;/usr/local/lib/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/local/lib/libX11.so
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Found Threads: TRUE  
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/local/bin/automoc4  
-- Found Perl: /usr/local/bin/perl (found version "5.16.3") 
-- Found Phonon: /usr/local/kde4/include (Required is at least version "4.3.80") 
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.10 include dir: /usr/local/kde4/include
-- Found KDE 4.10 library dir: /usr/local/kde4/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/local/kde4/bin/kconfig_compiler
-- Found automoc4: /usr/local/bin/automoc4
-- Found KdepimLibs: /usr/local/lib/KdepimLibs/cmake/KdepimLibsConfig.cmake  
-- Looking for include file shadow.h
-- Looking for include file shadow.h - not found
-- Looking for include file crypt.h
-- Looking for include file crypt.h - not found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file paths.h
-- Looking for include file paths.h - found
-- Looking for crypt in crypt
-- Looking for crypt in crypt - found
-- Looking for fgetpwent
-- Looking for fgetpwent - not found
-- Looking for fgetgrent
-- Looking for fgetgrent - not found
-- Looking for fgetspent
-- Looking for fgetspent - not found
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_SHARED_LINKER_FLAGS




<snip>

[ 13%] Building CXX object kuser/CMakeFiles/kuser.dir/ku_prefs.o
cd /usr/ports/sysutils/kdeadmin4/work/.build/kuser && /usr/bin/c++   -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=34 -DKDE_DEPRECATED_WARNINGS -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_REENTRANT -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 -I/usr/ports/sysutils/kdeadmin4/work/.build/kuser -I/usr/ports/sysutils/kdeadmin4/work/kdeadmin-4.10.5/kuser -I/usr/ports/sysutils/kdeadmin4/work/kdeadmin-4.10.5 -I/usr/ports/sysutils/kdeadmin4/work/.build -I/usr/local/kde4/include -I/usr/local/kde4/include/KDE -I/usr/local/include/qt4/phonon -I/usr/local/include/qt4/QtXmlPatterns -I/usr/local/include/qt4/QtXml
 -I/usr/local/include/qt4/QtWebKit -I/usr/local/include/qt4/QtUiTools -I/usr/local/include/qt4/QtTest -I/usr/local/include/qt4/QtSvg -I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtScriptTools -I/usr/local/include/qt4/QtScript -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtMultimedia -I/usr/local/include/qt4/QtHelp -I/usr/local/include/qt4/QtDesigner -I/usr/local/include/qt4/QtDeclarative -I/usr/local/include/qt4/QtDBus -I/usr/local/include/qt4/Qt3Support -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/Qt -I/usr/local/share/qt4/mkspecs/default -I/usr/local/include/qt4 -I/usr/local/include     -D_LARGEFILE64_SOURCE  -D_LARGEFILE64_SOURCE -o CMakeFiles/kuser.dir/ku_prefs.o -c /usr/ports/sysutils/kdeadmin4/work/.build/kuser/ku_prefs.cpp
make: don't know how to make /usr/local/lib/libkldap.so.5.0.1. Stop
*** [kuser/CMakeFiles/kuser.dir/all] Error code 2

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





-----Original Message-----
From: Anthony Jenkins [mailto:scoobi_doo at yahoo.com] 
Sent: Saturday, July 20, 2013 2:35 PM
To: Sindrome; rnejdl at ringofsaturn.com
Cc: kde-freebsd at kde.org
Subject: Re: [kde-freebsd] Any further help with upgrading kdeadmin-4.10.4

Try reinstalling deskutils/kdepimlibs4 first.  It provides libkldap and specifies its paths in /usr/local/kde4/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake.


Anthony Jenkins

________________________________
From: Sindrome <sindrome at gmail.com>
To: rnejdl at ringofsaturn.com
Cc: kde-freebsd at kde.org
Sent: Saturday, July 20, 2013 2:00 PM
Subject: Re: [kde-freebsd] Any further help with upgrading kdeadmin-4.10.4


Hi Rusty,

Thanks for responding.  

This is the output of what is related to libk* in /usr/local/lib currently

(foobar:106:/usr/local/lib) ls libkld*
ls: No match.
Exit 1

(foobar:106:/usr/local/kde4/lib) ls libkld* libkldap.so@       libkldap.so.5@     libkldap.so.5.0.1*

I did recompile kdepimlibs and kdelibs cleanly. I just did a make clean  but kdeadmin is still trying to find libkdap.so.5.0.1 in /usr/local/lib.  This is the root of my problem. 

Here's the current output from trying to build kdeadmin and you can see it continues to still try and find libkldap.so.5.0.1 in /usr/local/lib rather than in /usr/local/kde4/lib where it currently resides.


[ 13%] Building CXX object kuser/CMakeFiles/kuser.dir/ku_prefs.o
cd /usr/ports/sysutils/kdeadmin4/work/.build/kuser && /usr/bin/c++   -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=34 -DKDE_DEPRECATED_WARNINGS -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_REENTRANT -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 -I/usr/ports/sysutils/kdeadmin4/work/.build/kuser -I/usr/ports/sysutils/kdeadmin4/work/kdeadmin-4.10.5/kuser -I/usr/ports/sysutils/kdeadmin4/work/kdeadmin-4.10.5 -I/usr/ports/sysutils/kdeadmin4/work/.build -I/usr/local/kde4/include -I/usr/local/kde4/include/KDE -I/usr/local/include/qt4/phonon -I/usr/local/include/qt4/QtXmlPatterns -I/usr/local/include/qt4/QtXml 
 -I/usr/local/include/qt4/QtWebKit -I/usr/local/include/qt4/QtUiTools -I/usr/local/include/qt4/QtTest -I/usr/local/include/qt4/QtSvg -I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtScriptTools -I/usr/local/include/qt4/QtScript -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtMultimedia -I/usr/local/include/qt4/QtHelp -I/usr/local/include/qt4/QtDesigner -I/usr/local/include/qt4/QtDeclarative -I/usr/local/include/qt4/QtDBus -I/usr/local/include/qt4/Qt3Support -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/Qt -I/usr/local/share/qt4/mkspecs/default -I/usr/local/include/qt4 -I/usr/local/include     -D_LARGEFILE64_SOURCE  -D_LARGEFILE64_SOURCE -o CMakeFiles/kuser.dir/ku_prefs.o -c /usr/ports/sysutils/kdeadmin4/work/.build/kuser/ku_prefs.cpp
make: don't know how to make /usr/local/lib/libkldap.so.5.0.1. Stop
*** [kuser/CMakeFiles/kuser.dir/all] Error code 2

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.



From: Rusty Nejdl [mailto:rnejdl at ringofsaturn.com]
Sent: Friday, July 19, 2013 5:45 PM
To: Sindrome
Cc: kde-freebsd at kde.org
Subject: RE: [kde-freebsd] Any further help with upgrading kdeadmin-4.10.4

If you removed it then it shouldn't be picked up.  But the warnings below show that so if you removed it then please show the current error.  Barring that, I suggest you recompile kdepimlibs since that is what generates libkdap.so.5.0.1 Rusty On 2013-07-19 16:08, Sindrome wrote:
It doesn’t exist. I deleted it manually because when I did a script to see what package was responsible/linked to it nothing came back.  This is why kdeadmin is failing it continues to look in that /usr/local/lib and those libraries aren’t there at all.  I’m just looking to find what is the root cause for the kdeadmin script not finding the libraries in the proper place so it will build 

From: Rusty Nejdl [mailto:rnejdl at ringofsaturn.com]
Sent: Friday, July 19, 2013 2:30 PM
To: Sindrome
Cc: kde-freebsd at kde.org
Subject: RE: [kde-freebsd] Any further help with upgrading kdeadmin-4.10.4

Troy,
You may have two sets of libraries.  Can you confirm if this file exists?
/usr/local/lib/libkldap.so.5.0.1

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.

Rusty
On 2013-07-19 14:14, Sindrome wrote:
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: kde-freebsd-bounces at kde.org [mailto:kde-freebsd-bounces at kde.org] On Behalf Of Rusty Nejdl
Sent: Friday, July 19, 2013 12:02 PM
To: kde-freebsd at kde.org
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
kde-freebsd at kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information









_______________________________________________
kde-freebsd mailing list
kde-freebsd at kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information



More information about the kde-freebsd mailing list