LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 07-07-2002, 04:00 AM   #1
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
Shared library Porblem


Well, I had some weird problems compiling glut for my Slackware box - so I took the risk and took the suse compiled ones and copied them to /usr/lib. It worked - tuxracer compiled fine using these libraries, but next morning, when booting up I get the errormessage :
ldconfig: libglut.so.3 is not a symbolic link.
I know I have somehow to update a library database, but does anyone know how to do this. Just running ldconfig doesn't do the job.
 
Old 07-07-2002, 04:30 AM   #2
RefriedBean
Member
 
Registered: Jun 2002
Location: N 37° 33.327 E 126° 55.650
Distribution: Gentoo, Slackware, OpenZaurus
Posts: 186

Rep: Reputation: 31
Hi there!
I've had a lot of trouble trying to compile GLUT in Linux, but eventually I found out that they are available as a SlackPack on the Slackware FTP site. Just install them, it works GREAT.

So just get the .tgz from ftp.slackware.com/pub/slackware/slackware-8.1/pasture/libglut-3.7/
and install them like so :
cd /pathwhereyoudownloadedglut
installpkg libglut-3.7-i386-1.tgz
run ldconfig, log out, and back in, and voila!

Good Luck!
RefriedBean
 
Old 07-07-2002, 05:11 AM   #3
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Original Poster
Rep: Reputation: 30
Well, I managed to compile it now - however they reside still in /usr/src/glut/lib/glut. I don't really wish to keep all the sources since I only need the libraries. And hey, SuSE has got them in /usr/lib, so I wouldn't think that it is not duable in Slack
Still no ideas?
 
Old 07-08-2002, 11:16 PM   #4
zelgadis
Member
 
Registered: Apr 2002
Location: Venezuela
Distribution: slackware 8.0
Posts: 67

Rep: Reputation: 15
see if the file:

/etc/ld.so.conf

have the path to the libraries:

/usr/lib

if not, add this and rerun ldconfig.

for more information: man ldconfig. ^_^
 
Old 07-09-2002, 08:56 AM   #5
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Original Poster
Rep: Reputation: 30
Hmmm... now it's working. /usr/lib was in ld.so.conf
The problem was, that the library was directly copied from my SuSE box, so didn't like it. I managed to compile Glut from source and now after running ldconfig - no complaints.
 
Old 07-10-2002, 10:19 PM   #6
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 32
You have to be carefull coping system files/lib between distro's unless you know what version of GLIBC they were
compiles against.
 
Old 07-11-2002, 04:12 AM   #7
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by pickledbeans
You have to be carefull coping system files/lib between distro's unless you know what version of GLIBC they were
compiles against.
OH, you're correct - although the "wrong" GLUT worked while playing tuxracer, I don't get the error after having it compiled from source - and thanks for the info
 
  


Reply



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
Where can I get every shared library at? Balkman Linux - General 2 08-28-2004 10:56 PM
help shared library jingle_mj Linux - Newbie 1 08-13-2004 04:36 PM
help shared library jingle_mj Programming 4 08-13-2004 04:13 AM
help shared library jingle_mj Linux - General 1 08-13-2004 03:11 AM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:17 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
Open Source Consulting | Domain Registration