Autarchy of the Private Cave

Tiny bits of bioinformatics, [web-]programming etc

  • Related entries

    No related content found.

    • Archives

    • Recent comments

    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) :

    1. # libGL.la - a libtool library file
    2. # Generated by nvidia-installer: 1.0.7 (for use by libtool)
    3. #
    4. # Please DO NOT delete this file!
    5. # It is necessary for linking the library.
    6.  
    7. # The name that we can dlopen(3).
    8. dlname='libGL.so'
    9.  
    10. # Names of this library.
    11. library_names='libGL.so.1 libGL.so'
    12.  
    13. # Libraries that this one depends upon.
    14. dependency_libs=' -L/usr/X11R6/lib -lm -lXext -lX11 -ldl'
    15.  
    16. # Version information for libGL.
    17. current=1
    18. age=0
    19. revision=0
    20.  
    21. # Is this an already installed library?
    22. installed=yes
    23.  
    24. # Files to dlopen/dlpreopen
    25. dlopen=''
    26. dlpreopen=''
    27.  
    28. # Directory that this library needs to be installed in:
    29. 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.

    Share

    One Response to “Installing KRename on Slackware: libGL.la is not a valid libtool archive”

    1. Ru4n Says:

      cool, ty very much, this solved my problem too with ati card

    Leave a Reply

    XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>