Installing KRename on Slackware: libGL.la is not a valid libtool archive
12th August 2007
When ‘make’ing krename (after ./configure, of course), it failed with an error message like:
libtool: link: `/usr/libGL.la’ is not a valid libtool archive
After reading this topic (in Russian), I found that libGL.la is a configuration file for libGL.so.
This configuration file is created when installing ATI or nVidia video drivers – they replace the bundled libGL.so and create libGL.la.
The solution to the “absent libGL.la” file is, thus, either to install ATI/nVidia drivers (if you have ATI/nVidia video card), or to manually create “fake” libGL.la.
Here is the sample of “fake” libGL.la (to copy-paste, click the “Plain text” header) :
- # libGL.la - a libtool library file
- # Generated by nvidia-installer: 1.0.7 (for use by libtool)
- #
- # Please DO NOT delete this file!
- # It is necessary for linking the library.
- # The name that we can dlopen(3).
- dlname='libGL.so'
- # Names of this library.
- library_names='libGL.so.1 libGL.so'
- # Libraries that this one depends upon.
- dependency_libs=' -L/usr/X11R6/lib -lm -lXext -lX11 -ldl'
- # Version information for libGL.
- current=1
- age=0
- revision=0
- # Is this an already installed library?
- installed=yes
- # Files to dlopen/dlpreopen
- dlopen=''
- dlpreopen=''
- # Directory that this library needs to be installed in:
- libdir='/usr/lib'
This worked perfectly in my case – KRename compiled and was installed.
As discussed in the source forum, similar manipulation might be needed to install Knemo, kkbswitch and some other programs.
Thanks to Hottab for help with this problem, and for the Ukrainian distribution of slackware, called DeepStyle.
December 29th, 2009 at 16:30
cool, ty very much, this solved my problem too with ati card