trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: February 2011

kdebase: kde-config: error while loading shared libraries: libkdecore.so.4 (file not found?)

From: "David C. Rankin" <drankinatty@...>
Date: Sun, 06 Feb 2011 20:20:33 -0600
Serghei, All:

	In my clean vbox environment, I have successfully (I think) built:

qt3
pyqt3
tqtinterface
arts
kdelibs

	But now, I have a new kdebase error that kills the build at the very beginning. 
I have taken some time to collect as much information as I can to hopefully 
isolate the problem. First, the kdebase error:

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- 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 termios.h
-- Looking for termios.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- checking for one of the modules 'hal'
-- checking for one of the modules 'xrender'
-- Looking for glXChooseVisual in GL
-- Looking for glXChooseVisual in GL - found
-- checking for one of the modules 'glib-2.0'
-- Looking for getifaddrs
-- Looking for getifaddrs - found
-- Looking for X11/XKBlib.h
-- Looking for X11/XKBlib.h - found
-- Looking for XkbLockModifiers in X11
-- Looking for XkbLockModifiers in X11 - found
-- Looking for XkbSetPerClientControls in X11
-- Looking for XkbSetPerClientControls in X11 - found
-- checking for 'Qt'
-- Performing Test HAVE_PATCHED_QT3
-- Performing Test HAVE_PATCHED_QT3 - Success
--   found patched Qt, version 3.3.8
-- checking for one of the modules 'TQt'
-- checking for 'TDE'
/opt/trinity/bin/kde-config: error while loading shared libraries: 
libkdecore.so.4: cannot open shared object file: No such file or directory
CMake Error at cmake/modules/TDEMacros.cmake:20 (message):
   #################################################

    Unable to run kde-config!
    KDELIBS are correctly installed?
    Path to kde-config are corect?

   #################################################
Call Stack (most recent call first):
   cmake/modules/FindTDE.cmake:34 (tde_message_fatal)
   ConfigureChecks.cmake:128 (find_package)
   CMakeLists.txt:114 (include)


-- Configuring incomplete, errors occurred!
     Aborting...

	OK, well did libkdecore.so.4 get built and installed correctly? Yes!

ls -al /opt/trinity/lib/libkdecore.so*
lrwxrwxrwx 1 root root      15 Feb  6 15:36 /opt/trinity/lib/libkdecore.so -> 
libkdecore.so.4
lrwxrwxrwx 1 root root      19 Feb  6 15:36 /opt/trinity/lib/libkdecore.so.4 -> 
libkdecore.so.4.2.0
-rwxr-xr-x 1 root root 3008080 Feb  6 15:37 /opt/trinity/lib/libkdecore.so.4.2.0

	So why is kdebase saying it can't be found? Here are my build arguments:

   [[ ${PATH%%:*} =~ /opt/trinity/bin ]] || export PATH=/opt/trinity/bin:$PATH
   export CMAKE_PREFIX_PATH=/opt/qt
   export CMAKE_INCLUDE_PATH=/opt/qt/include:/opt/qt/include/tqt
   export KDEDIR=/opt/trinity
   trinity_prefix="/opt/trinity"

   cd ${srcdir}
   cmake ../ \
     -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
     -DWITH_QT3=ON \
     -DQTDIR=/opt/qt \
     -DBUILD_ALL=ON
   make VERBOSE=1

	Anything stick out as needing to be tweaked? To help see if I have everything 
built that I should, I have created file lists of all packages that can be 
viewed or grepped to see if everything got installed that needed to be:

http://www.3111skyline.com/dl/dt/trinity/arch/flist/trinity-qt3-list.txt

http://www.3111skyline.com/dl/dt/trinity/arch/flist/trinity-pyqt3-list.txt

http://www.3111skyline.com/dl/dt/trinity/arch/flist/trinity-tqtinterface-list.txt

http://www.3111skyline.com/dl/dt/trinity/arch/flist/trinity-arts-list.txt

http://www.3111skyline.com/dl/dt/trinity/arch/flist/trinity-kdelibs-list.txt

	Let me know if I can send anything else that will help. Thanks.

-- 
David C. Rankin, J.D.,P.E.