Message: previous - next
Month: September 2011

Re: [trinity-devel] kdebase problem: Library files for '' not found in paths

From: Francois Andriot <francois.andriot@...>
Date: Sun, 04 Sep 2011 20:46:13 +0200
Le 04/09/2011 20:13, Timothy Pearson a écrit :
> Did you set -DLIB_SUFFIX="64" ?
> I just looked through the CMake files and it appears that if that flag is
> set (and it is a relatively standard CMake flag if you Google it) that the
> libraries should be installed into lib64/.
> Also make sure that LIB_INSTALL_DIR is not being overridden via a CMake
> flag anywhere in your build scripts.
Yes I already have -DLIB_SUFFIX="64" .
most of my cmake command is auto-generated by rpmbuild macros.
I just have to add the optionnal features (-DWITH_XXX=ON) ...

The actual command for configuring kdebase 3.5.13 on RHEL6 is :


then after the "make install", libraries are copied to 
/opt/trinity/lib64 as expected.
Alas, kwin (and other kdebase stuffs) still keep looking at 
/opt/trinity/lib for ".la" files ...

FYI, please note that with TDE 3.5.12 , I get the exact opposite behaviour:
If I try to force "/opt/trinity/lib" for the libraries (no problem with 
then my ./configure is :

  ./configure --build=x86_64-redhat-linux-gnu 
--host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu 
--program-prefix= --prefix=/opt/trinity --exec-prefix=/opt/trinity 
--bindir=/opt/trinity/bin --sbindir=/opt/trinity/sbin --sysconfdir=/etc 
--datadir=/opt/trinity/share --includedir=/opt/trinity/include 
--libdir=/opt/trinity/lib --libexecdir=/opt/trinity/libexec 
--localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man 
--infodir=/usr/share/info --disable-rpath --enable-new-ldflags 
--disable-dependency-tracking --disable-debug --disable-warnings 
--enable-final --with-pam=yes --with-kdm-pam=kdm 
--with-kcp-pam=kcheckpass --with-kss-pam=kscreensaver --with-libraw1394 
--with-openexr --with-samba --with-xinerama --with-xscreensaver 
--without-shadow --with-extra-includes=/opt/trinity/include/tqt

Then after "make install", the libraries are installed under 
/opt/trinity/lib as expected, BUT this time kwin & co are searching the 
".la" files under /opt/trinity/lib64 !!!

To sum up things:
TDE 3.5.12 (autotools) only works with /opt/trinity/lib64
TDE 3.5.13 (cmake) only works with /opt/trinity/lib

What an headache ! :-)

Francois Andriot