Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/usr//usr/lib64/libGL.so ??? [Solved?]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
xenionsh
n00b
n00b


Joined: 12 Jul 2008
Posts: 2

PostPosted: Sat Jul 12, 2008 5:03 pm    Post subject: /usr//usr/lib64/libGL.so ??? [Solved?] Reply with quote

It seems that whenever I emerge or otherwise compile anything that uses libGL.so, I get an error message something like(nautilus in this example):
Code:
x86_64-pc-linux-gnu-gcc -O2 -pipe -o .libs/nautilus nautilus-shell-interface-stubs.o nautilus-shell-interface-skels.o nautilus-shell-interface-common.o ephy-spinner.o nautilus-application.o nautilus-bookmark-list.o nautilus-bookmarks-window.o nautilus-connect-server-dialog.o nautilus-connect-server-dialog-nonmain.o nautilus-desktop-window.o nautilus-emblem-sidebar.o nautilus-file-management-properties.o nautilus-first-time-druid.o nautilus-history-sidebar.o nautilus-image-properties-page.o nautilus-information-panel.o nautilus-location-bar.o nautilus-location-dialog.o nautilus-location-entry.o nautilus-main.o nautilus-navigation-action.o nautilus-navigation-bar.o nautilus-navigation-window-menus.o nautilus-navigation-window.o nautilus-notes-viewer.o nautilus-pathbar.o nautilus-places-sidebar.o nautilus-property-browser.o nautilus-query-editor.o nautilus-search-bar.o nautilus-self-check-functions.o nautilus-shell.o nautilus-side-pane.o nautilus-sidebar-title.o nautilus-spatial-window.o nautilus-throbber.o nautilus-trash-bar.o nautilus-window-bookmarks.o nautilus-window-manage-views.o nautilus-window-menus.o nautilus-window-toolbars.o nautilus-window.o nautilus-x-content-bar.o nautilus-zoom-control.o -pthread  ../src/file-manager/.libs/libnautilus-file-manager.a ../libnautilus-private/.libs/libnautilus-private.a /var/tmp/portage/gnome-base/nautilus-2.22.4/work/nautilus-2.22.4/libnautilus-extension/.libs/libnautilus-extension.so -L/usr/lib64 -L/usr/X11R6/lib /usr/lib64/libgsf-1.so -lbz2 /usr/lib64/libcroco-0.6.so /usr/lib64/libgnome-keyring.so /usr/lib64/libjpeg.so -luuid /usr/lib64/libdbus-glib-1.so -lnsl /usr/lib64/libdbus-1.so -lssl -lcrypto -lresolv -lutil /usr/lib64/libesd.so /usr/lib64/libasound.so /usr/lib64/libaudiofile.so /usr/lib64/libORBitCosNaming-2.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libexpat.so /usr/lib64/libglitz-glx.so /usr/lib64/libglitz.so /usr//usr/lib64/libGL.so /usr/lib64/libXext.so /usr/lib64/libpng12.so -lz /usr/lib64/libXrender.so /usr/lib64/libpixman-1.so -lpthread /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libeel-2.so /usr/lib64/libgailutil.so /usr/lib64/libglade-2.0.so /usr/lib64/libxml2.so /usr/lib64/librsvg-2.so /usr/lib64/libgnome-desktop-2.so /usr/lib64/libgnomeui-2.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libbonoboui-2.so /usr/lib64/libgnomevfs-2.so /usr/lib64/libgnomecanvas-2.so /usr/lib64/libgnome-2.so /usr/lib64/libpopt.so /usr/lib64/libbonobo-2.so /usr/lib64/libbonobo-activation.so /usr/lib64/libart_lgpl_2.so /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libgconf-2.so /usr/lib64/libORBit-2.so /usr/lib64/libgthread-2.0.so -lrt /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so /usr/lib64/libstartup-notification-1.so /usr/lib64/libX11.so /usr/lib64/libexif.so -lm  -Wl,--rpath -Wl,/usr/${libdir}
x86_64-pc-linux-gnu-gcc: /usr//usr/lib64/libGL.so: No such file or directory
make[4]: *** [nautilus] Error 1
make[4]: Leaving directory `/var/tmp/portage/gnome-base/nautilus-2.22.4/work/nautilus-2.22.4/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnome-base/nautilus-2.22.4/work/nautilus-2.22.4/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gnome-base/nautilus-2.22.4/work/nautilus-2.22.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/nautilus-2.22.4/work/nautilus-2.22.4'
make: *** [all] Error 2

Or when I compile a .tar.gz of compiz:
Code:
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -D_FORTIFY_SOURCE=2 -module -avoid-version -no-undefined  -o libsvg.la -rpath /usr/local/lib/compiz svg.lo ../libdecoration/libdecoration.la -lcairo -lrsvg-2 -lgdk_pixbuf-2.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   
grep: /usr//usr/${libdir}/libGL.la: No such file or directory
/bin/sed: can't read /usr//usr/${libdir}/libGL.la: No such file or directory
libtool: link: `/usr//usr/${libdir}/libGL.la' is not a valid libtool archive

I tried re-emerging libtool, portage, binutils, and maybe some other things I'm forgetting... Any ideas why it's using 2+ sets of /usr/ ? :(
/usr/lib64/libGL.so and .la are both there


Last edited by xenionsh on Sun Jul 13, 2008 4:53 am; edited 1 time in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sat Jul 12, 2008 11:31 pm    Post subject: Reply with quote

You probably need to set (or reset) your OpenGL impl. with 'eselect opengl'.
Back to top
View user's profile Send private message
xenionsh
n00b
n00b


Joined: 12 Jul 2008
Posts: 2

PostPosted: Sun Jul 13, 2008 4:52 am    Post subject: Reply with quote

I tried that, didn't work... The files were already there in /usr. I (kind of) managed to fix it with
Code:
ln -s /usr /usr//usr

so hopefully I won't have any more problems...?
EDIT: It started to complain about /usr//usr/${libdir}/libGL.la -- fixed with
Code:
ln -s /usr/lib64 /usr/\$\{libdir\}

(and re-emerging mesa :roll: )
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sun Jul 13, 2008 1:43 pm    Post subject: Reply with quote

That "fix" has a good chance of eventually breaking your system.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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