| View previous topic :: View next topic |
| Author |
Message |
fuzzythebear Guru


Joined: 28 Nov 2004 Posts: 303
|
Posted: Fri Nov 23, 2007 4:44 pm Post subject: Solved : missing ligGL.so.1 link Xchat wont build front end |
|
|
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 10:15 am; edited 1 time in total |
|
| Back to top |
|
 |
potatoface Guru


Joined: 18 Feb 2004 Posts: 518 Location: Austria
|
Posted: Fri Nov 23, 2007 7:01 pm Post subject: |
|
|
have you tried to rebuild gtk?
maybe revdep-rebuild can solve your problem
regards,
potatoface _________________ The generation of random numbers is too important to be left to chance.
Adopt an unanswered post. |
|
| Back to top |
|
 |
fuzzythebear Guru


Joined: 28 Nov 2004 Posts: 303
|
Posted: Sat Nov 24, 2007 6:33 am Post subject: libGL.so.1 cant be found . Chain reaction. |
|
|
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 |
|
 |
fuzzythebear Guru


Joined: 28 Nov 2004 Posts: 303
|
Posted: Sat Nov 24, 2007 10:13 am Post subject: The fine print : how this got solved. |
|
|
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
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 |
|
 |
gr0x0rd Apprentice


Joined: 12 Aug 2006 Posts: 152
|
Posted: Sat Nov 24, 2007 2:44 pm Post subject: |
|
|
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
* living proof that you WIN with GIN. * |
|
| Back to top |
|
 |
Spudgun n00b

Joined: 26 Oct 2007 Posts: 30
|
Posted: Sat Nov 24, 2007 6:16 pm Post subject: |
|
|
| Getting the same problems as gr0x0rd, any help would be great! |
|
| Back to top |
|
 |
gr0x0rd Apprentice


Joined: 12 Aug 2006 Posts: 152
|
Posted: Sat Nov 24, 2007 7:27 pm Post subject: |
|
|
try this:
cd /usr/lib
ln -s libGL.so libGL.so.1 _________________ ~g
* living proof that you WIN with GIN. *
Last edited by gr0x0rd on Sun Nov 25, 2007 9:14 pm; edited 1 time in total |
|
| Back to top |
|
 |
fuzzythebear Guru


Joined: 28 Nov 2004 Posts: 303
|
Posted: Sat Nov 24, 2007 7:29 pm Post subject: |
|
|
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 |
|
 |
|