Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Solved : missing ligGL.so.1 link Xchat wont build front end
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
fuzzythebear
Guru
Guru


Joined: 28 Nov 2004
Posts: 317

PostPosted: Fri Nov 23, 2007 9:44 pm    Post subject: Solved : missing ligGL.so.1 link Xchat wont build front end Reply with quote

After this afternoon's sync .. i get the following while
trying to build xchat :

checking for GTK+ - version >= 2.10.0... no
but
Installed versions: 2.12.1-r2
followed the steps as per message but still no go
so it wont build the front end ...

ideas ?

Fuzz
_________________
There's this once i thought i had made a mistake .. but i was wrong :|


Last edited by fuzzythebear on Sat Nov 24, 2007 3:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
potatoface
Guru
Guru


Joined: 18 Feb 2004
Posts: 542
Location: ::7F00:1

PostPosted: Sat Nov 24, 2007 12:01 am    Post subject: Reply with quote

have you tried to rebuild gtk?
maybe revdep-rebuild can solve your problem :roll:

regards,
potatoface
_________________
The generation of random numbers is too important to be left to chance.
Adopt an unanswered post.
Back to top
View user's profile Send private message
fuzzythebear
Guru
Guru


Joined: 28 Nov 2004
Posts: 317

PostPosted: Sat Nov 24, 2007 11:33 am    Post subject: libGL.so.1 cant be found . Chain reaction. Reply with quote

Well .. this is where it all begun i guess ..

I had trouble with X not starting and giving me nothing but a 1 inch square mouse
on a black background.After a many rebuild and poking around i replaced the ATI
driver for the latest i could lay my hands on : 8.42.3 up a notch from the latest
stable 8.39.4 that i had and was giving me trouble.

So .. here comes a batch of updates and xchat is in there and since the list is long
i dont pay attention till it's finished .. with a crash.
GTK+ wont build .. cant find libGL.so.1.
So after a many hours trying to get GTK+ to find libGL.so.1 from ATI
i realise that switching to xorg-x11 GL , then it works ..
check again .. the lib is also there from ati as per such :

/usr/lib/opengl/xorg-x11/lib/libGL.so.1.2
/usr/lib/opengl/xorg-x11/lib/libGL.so.1
/usr/lib/opengl/ati/lib/libGL.so.1.2
/usr/lib/opengl/ati/lib/libGL.so.1

and

ric@ric ~ $ ls -l /usr/lib/opengl/xorg-x11/lib/libGL.so.1
lrwxrwxrwx 1 root root 12 Nov 23 13:20 /usr/lib/opengl/xorg-x11/lib/libGL.so.1 -> libGL.so.1.2
ric@ric ~ $ ls -l /usr/lib/opengl/ati/lib/libGL.so.1
lrwxrwxrwx 1 root root 12 Nov 23 18:17 /usr/lib/opengl/ati/lib/libGL.so.1 -> libGL.so.1.2

quite the same .. but for a few hours in the date ..

So . GTK+ will use libGL.so.1 from xorg and build .. but cant find the one from ATI .
When GTK+ from X11 is rebuilt , i can build XChat just fine but that's all starting
with the wrong libGL.so.1 . A little time bomb i got to defuse.

At that point .. im a bit lost how to fix this since eselect switching that says
all's fine you got ATI open GL but just aint recognised by GTK+

Of course .. firefox cant find the library either and works only when i select
xorg-x11 .. in fact .. anything that uses libGL.so.1 cant find the library and
dosent work.

So it's a chain reaction starting with libGL.so.1 that cant be found.

Ideas ?

Fuzzy
.
_________________
There's this once i thought i had made a mistake .. but i was wrong :|
Back to top
View user's profile Send private message
fuzzythebear
Guru
Guru


Joined: 28 Nov 2004
Posts: 317

PostPosted: Sat Nov 24, 2007 3:13 pm    Post subject: The fine print : how this got solved. Reply with quote

once i got even higher up to libGL.so.1 and started the
process of elimination and checking bug reports i found
this :

http://bugs.gentoo.org/show_bug.cgi?id=199633

there's a bad soname in the driver file :evil:

truly evil ! .. but if you follow the steps and make the symlinks
manually , then make the switch to ati's openGL then gtk+
can find libGL.so.1 , then you can build xchat and then firefox and other
programs affected can also run without trouble.

OUF ! WHAT A RIDE ! :)
_________________
There's this once i thought i had made a mistake .. but i was wrong :|
Back to top
View user's profile Send private message
gr0x0rd
Apprentice
Apprentice


Joined: 12 Aug 2006
Posts: 276

PostPosted: Sat Nov 24, 2007 7:44 pm    Post subject: Reply with quote

I'm running into this same error as well. I've read the bug report and understand that I need to create these symlinks. I thought I'd created them but apparently not. I'm assuming that
Code:
If one creates the symlinks
/usr/lib/libGL.so.1 -> /usr/lib/libGL.so
/usr/lib/libGL.so.1.2 -> /usr/lib/libGL.so
the applications will work again.


actually means I have to execute the commands
Code:

ln -s /usr/lib/libGL.so.1 /usr/lib/libGL.so
ln -s /usr/lib/libGL.so.1.2 /usr/lib/libGL.so


but these give me the message "ln: creating symbolic link '/usr/lib/libGL.so': File exists".

Can someone humor me and give me the actual commands I need to issue to correct this issue?

Cheers...
_________________
~g
emerge -FML...
Back to top
View user's profile Send private message
Spudgun
n00b
n00b


Joined: 26 Oct 2007
Posts: 30

PostPosted: Sat Nov 24, 2007 11:16 pm    Post subject: Reply with quote

Getting the same problems as gr0x0rd, any help would be great!
Back to top
View user's profile Send private message
gr0x0rd
Apprentice
Apprentice


Joined: 12 Aug 2006
Posts: 276

PostPosted: Sun Nov 25, 2007 12:27 am    Post subject: Reply with quote

try this:

cd /usr/lib
ln -s libGL.so libGL.so.1
_________________
~g
emerge -FML...


Last edited by gr0x0rd on Mon Nov 26, 2007 2:14 am; edited 1 time in total
Back to top
View user's profile Send private message
fuzzythebear
Guru
Guru


Joined: 28 Nov 2004
Posts: 317

PostPosted: Sun Nov 25, 2007 12:29 am    Post subject: Reply with quote

i did
ln -s /usr/lib/libGL.so /usr/lib/libGL.so.1
and
ln -s /usr/lib/libGL.so /usr/lib/libGL.so.1.2
and finally
ln -s /usr/lib/opengl/ati/lib/libGL.so.1.2 /usr/lib/libGL.so.1.2

checked that the links were good by doing a ls -l
on them. that was all . i beleive i had one say it was already existing .

If you got more trouble please let me know.

Fuzzy
_________________
There's this once i thought i had made a mistake .. but i was wrong :|
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum