[Digikam-users] Digikam from svn fails to compile because of absence of libXrender.la

Gerhard Kulzer gerhard at kulzer.net
Thu Apr 13 13:43:23 BST 2006

On Wednesday 12 April 2006 19:46, Fabrice Flore-Thebault wrote:
> Hello,
> Well, don't know where is the  best to tell about it :
> I have no succes in my tentative to compile Digikam from svn on debian/ppc
> (unstable+experimental).
> As I understand it, the issue is related to libxrender and libtool :
> ----
> Making all in jpegutils
> make[4]: entrant dans le
> répertoire « /srv/fab/svn-src/graphics/digikam/libs/jpegutils »
> /bin/sh ../../../libtool --silent --tag=CXX --mode=link
> g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
> -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2
> -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
> -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
> -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o libjpegutils.la 
> -L/usr/share/qt3/lib -L/usr/lib    -R /usr/lib -R /usr/lib -R
> /usr/share/qt3/lib -R /usr/lib jpegmetadata.lo exifrotate.lo transupp.lo
> -ljpeg -lkexif
> grep: /usr/lib/libXrender.la: No such file or directory
> /bin/sed: can't read /usr/lib/libXrender.la: No such file or directory
> libtool: link: `/usr/lib/libXrender.la' is not a valid libtool archive
> make[4]: *** [libjpegutils.la] Erreur 1
> ----
> The fact is that libxrender-dev ( doesn't provide
> any 'libXrender.la' file anymore :
> /usr/share/doc/libxrender-dev/changelog.Debian.gz :
>   * In accordance with all other X libraries, stop shipping Libtool .la
> file.
> If the problem is known, is there a known solution ?
> What is possible to do to go ahead without this .la file ?

I don't know the reasons for this disappearance, it seems to be motivated.
The easiest workaround is to copy the libXrender.la to /usr/lib from your 
previous deb. Its a small file (842 B)


for your convenience if you don't have and obsolete deb, here is the content 
of libXrender.la: I think it should work for ppc

# libXrender.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.5.6 (1.1220.2.95 2004/04/11 05:50:42) 
Debian: 215 $
# Please DO NOT delete this file!
# It is necessary for linking the library.
# The name that we can dlopen(3).
# Names of this library.
library_names='libXrender.so.1.3.0 libXrender.so.1 libXrender.so'
# The name of the static archive.
# Libraries that this one depends upon.
dependency_libs=' -L/usr/X11R6/lib -lX11'
# Version information for libXrender.
# Is this an already installed library?
# Should we warn about portability when linking against -modules?
# Files to dlopen/dlpreopen
# Directory that this library needs to be installed in:

More information about the Digikam-users mailing list