trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] tdebase Build Failure: tde-config: error while loading shared libraries: libtdecore.so.4

From: "David C. Rankin" <drankinatty@...>
Date: Sun, 18 Mar 2012 20:15:56 -0500
On 03/18/2012 07:41 PM, David C. Rankin wrote:
> Tim, Serghei, Darrell,
> 
>   After moving tqtinterface and libart_lgpl to /usr to facilitate build of
> tdeutils, tdebase fails to build. This looks like a cmake error:
> 
> -- Looking for XkbSetPerClientControls in X11 - found
> -- checking for one of the modules 'arts'
> -- checking for one of the modules 'tqt'
> --   tmoc path: /usr/bin/tmoc
> --   moc path: /opt/tqt3/bin/moc
> --   uic path: /opt/tqt3/bin/uic
> --   tqt-replace path: /usr/bin/tqt-replace
> -- Performing Test HAVE_USABLE_TQT
> -- Performing Test HAVE_USABLE_TQT - Success
> -- checking for 'TDE'
> -- checking for one of the modules 'tqt'
> /opt/trinity/bin/tde-config: error while loading shared libraries:
> libtdecore.so.4: cannot open shared object file: No such file or directory
> CMake Error at cmake/modules/TDEMacros.cmake:23 (message):
>   #################################################
> 
>    Unable to run tde-config!
>    TDELIBS are correctly installed?
>    Path to tde-config are corect?
> 
>   #################################################
> Call Stack (most recent call first):
>   cmake/modules/TDEMacros.cmake:93 (tde_message_fatal)
>   cmake/modules/FindTDE.cmake:35 (tde_execute_process)
>   ConfigureChecks.cmake:217 (find_package)
>   CMakeLists.txt:145 (include)
> 
> 
> -- Configuring incomplete, errors occurred!
> 
>   The strange part is both tde-config and libtdecore.so.4 are right where they
> should be:
> 
> 19:25 nirvana:/mnt/nv1/home/chroot> find david/opt/ -name tde-config
> david/opt/trinity/bin/tde-config
> 
> 19:25 nirvana:/mnt/nv1/home/chroot> find david/opt/ -name libtdecore.so.4
> david/opt/trinity/lib/libtdecore.so.4
> 
> 19:26 nirvana:/mnt/nv1/home/chroot> l david/opt/trinity/lib/libtdecore.so.4
> lrwxrwxrwx 1 root root 19 Mar 18 19:18 david/opt/trinity/lib/libtdecore.so.4 ->
> libtdecore.so.4.2.0
> 
> 19:32 nirvana:/mnt/nv1/home/chroot> l david/opt/trinity/lib/libtdecore.so.4.2.0
> -rwxr-xr-x 1 root root 3289624 Mar 18 19:18
> david/opt/trinity/lib/libtdecore.so.4.2.0
> 
>   Is there some path disconnect in installing tqtinterface to /usr that causes
> problem with tdebase finding tde-config as installed by tdelibs in /opt?
> 

I think I found it -- ldconfig issue...

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