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).
- # 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.
- # Is this an already installed library?
- # Files to dlopen/dlpreopen
- # Directory that this library needs to be installed in:
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.