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

Rex Dieter rdieter at math.unl.edu
Thu Apr 13 16:40:04 BST 2006


Fabrice Flore-Thebault wrote:

> Well, don't know where is the  best to tell about it :
...
> 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 (0.9.0.2-2) doesn't provide
> any 'libXrender.la' file anymore :

Yep, on systems with proper shared library support, .la files associated
with shared libs "just suck".  ;-)  There's probably a .la file somewhere
on your system that still references the now-missing libXrender.la.
grep "libXrender.la" /usr/lib/*.la
will highlight the offender(s).  Easiest quick-n-dirty fix:  
sed -i -e 's|/usr/lib/libXrender.la||' /usr/lib/*.la

-- Rex




More information about the Digikam-users mailing list