LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-18-2008, 04:04 AM   #1
Hendronicus
Member
 
Registered: Feb 2006
Location: Oldsmar, Fl. USA
Distribution: Slackware, Ubuntu
Posts: 173

Rep: Reputation: 38
How do I get libGL.la for Slack 11


I'm trying to compile KDE 3.5.10 on Slackware 11. Everything was going well until I tried to compile the kdebindings. It keeps asking for libGL.la. I have libGL.so and its aliases and I have libGL.a, but I do not have libGL.la. I have searched this forum and the web and am even more confused. I am not using any proprietary drivers. (they don't work with my card) I built the latest Mesa but I haven't installed it yet because it didn't build this lib. This is the ghost lib or something, because I've found about 20 wrong versions of what it is and where it is. If anybody has this I'll gladly give you my email addy and maybe you could mail it to me. Thanks in advance.
 
Old 10-18-2008, 06:12 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,273

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
"libGL.la" is a short textfile (if there).
First try is to make an empty textfile : libGL.la

If KDE doesn't eat that, take any look-a-like file
and edit it for your libGL.

This is libGL.la from Debian Etch :
Quote:
# 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.100.14.11 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=100.14.11

# 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'
Regards
 
Old 10-18-2008, 12:59 PM   #3
Hendronicus
Member
 
Registered: Feb 2006
Location: Oldsmar, Fl. USA
Distribution: Slackware, Ubuntu
Posts: 173

Original Poster
Rep: Reputation: 38
Thank you! I was getting answers that were something like that, except that none of them just came out and told me it was some kind of text file. I mean, I knew that .la meant "libtool archive" I just didn't know how to make one. I'm going to try the blank file thing, alright, but is there a way to auto-generate such a thing with libtool? I would love to be able to do that.
 
Old 10-22-2008, 11:55 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,273

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
It is much easier to write it yourself.
( I usually do that, if required )

Else find a lib, which has lib.la included
and try to trace, how it is done.

I searched the internet and found no "libtool method"

Regards
 
Old 10-22-2008, 01:56 PM   #5
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
but is there a way to auto-generate such a thing with libtool? I would love to be able to do that.
To create an empty LibGL.la file :

Code:
libtool --mode=link gcc -g -O -o libGL.la /usr/lib/libGL.so
I'm not sure how useful this will be being empty but without the original build details for libGL I don't know what parameters to give to libtool.
 
Old 10-24-2008, 12:58 AM   #6
Hendronicus
Member
 
Registered: Feb 2006
Location: Oldsmar, Fl. USA
Distribution: Slackware, Ubuntu
Posts: 173

Original Poster
Rep: Reputation: 38
Thanks everyone! The blank file did not work nor did the one from Debian, but I found one from Ark that did. Now I have KDE 3.5.10 running on Slack 11! I've decided to play with libtool awhile and sort out how to do this for any lib, as well. - Just in case.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No libGL hylke Linux - Newbie 2 10-07-2005 03:40 AM
libGL.so.1 ET TuxFreak Linux - Games 11 08-22-2005 01:33 PM
libGL.so.1(LIBGL) for SuSE 9.1? darkmatter333 Suse/Novell 1 12-17-2004 11:23 PM
LibGL.so.1 hacker 8991 Linux - Hardware 17 12-15-2003 12:57 PM
libgl trpn Linux - Hardware 0 03-05-2003 10:21 PM


All times are GMT -5. The time now is 04:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration