Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[OpenGL] No OpenGL library found [Résolu]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Gaby
Apprentice
Apprentice


Joined: 03 Aug 2005
Posts: 251

PostPosted: Thu Mar 12, 2009 10:55 am    Post subject: [OpenGL] No OpenGL library found [Résolu] Reply with quote

Bonjour,

J'essai d'installer wine mais l'emerge s'arrete sur une erreur avec la bibliothèque opengl :

La sortie d'emerge :
Code:
...
checking for XRenderSetPictureTransform in -lXrender... yes
checking for -lXrandr... libXrandr.so.2
checking for XICCallback.callback... yes
checking for GL/gl.h... yes
checking for GL/glx.h... yes
checking for GL/glext.h... yes
checking for GL/glu.h... yes
checking for up-to-date OpenGL version... yes
checking for -lGL... not found
checking for -lGL... not found
checking for -lGLU... not found
configure: error: No OpenGL library found on this system.
OpenGL and Direct3D won't be supported.
This is an error since --with-opengl was requested.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-emulation/wine-1.1.16/work/wine-1.1.16/config.log
 *
 * ERROR: app-emulation/wine-1.1.16 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 2186:  Called econf '--sysconfdir=/etc/wine' '--with-alsa' '--with-cups' '--with-esd' '--without-gnutls' '--without-hal' '--without-jack' '--with-jpeg' '--without-cms' '--without-ldap' '--without-nas' '--with-curses' '--with-opengl' '--with-oss' '--with-png' '--without-sane' '--with-openssl' '--disable-win64' '--with-x' '--without-xcomposite' '--without-xinerama' '--with-xml' '--with-xslt'
 *               ebuild.sh, line  543:  Called die
 * The specific snippet of code:
 *            die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/wine-1.1.16/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.1.16/temp/environment'.
 * This ebuild used the following eclasses from overlays:
 *   /usr/portage/eclass/multilib.eclass
 *   /usr/portage/eclass/toolchain-funcs.eclass
 *   /usr/portage/eclass/eutils.eclass
 *   /usr/portage/eclass/portability.eclass
 *

>>> Failed to emerge app-emulation/wine-1.1.16, Log file:

>>>  '/var/tmp/portage/app-emulation/wine-1.1.16/temp/build.log'

 * Messages for package app-emulation/wine-1.1.16:

 *
 * ERROR: app-emulation/wine-1.1.16 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 2186:  Called econf '--sysconfdir=/etc/wine' '--with-alsa' '--with-cups' '--with-esd' '--without-gnutls' '--without-hal' '--without-jack' '--with-jpeg' '--without-cms' '--without-ldap' '--without-nas' '--with-curses' '--with-opengl' '--with-oss' '--with-png' '--without-sane' '--with-openssl' '--disable-win64' '--with-x' '--without-xcomposite' '--without-xinerama' '--with-xml' '--with-xslt'
 *               ebuild.sh, line  543:  Called die
 * The specific snippet of code:
 *            die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/wine-1.1.16/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.1.16/temp/environment'.
 * This ebuild used the following eclasses from overlays:
 *   /usr/portage/eclass/multilib.eclass
 *   /usr/portage/eclass/toolchain-funcs.eclass
 *   /usr/portage/eclass/eutils.eclass
 *   /usr/portage/eclass/portability.eclass
 *

J'ai trouvé un bugzilla sur cette erreur mais elle semble provenir d'un probleme d'installation du driver nvidia. Pour ma part je suis sur radeonHD.
Code:
Shogun gaby # ls -l /usr/lib/*GL*
lrwxrwxrwx 1 root root     39 déc. 12 19:49 /usr/lib/libGL.la -> /usr/lib64/opengl/xorg-x11/lib/libGL.la
lrwxrwxrwx 1 root root     39 déc. 12 19:48 /usr/lib/libGL.so -> /usr/lib64/opengl/xorg-x11/lib/libGL.so
lrwxrwxrwx 1 root root     41 déc. 13 13:26 /usr/lib/libGL.so.1 -> /usr/lib64/opengl/xorg-x11/lib/libGL.so.1
-rw-r--r-- 1 root root    752 mars  9 19:30 /usr/lib/libGLU.la
lrwxrwxrwx 1 root root     11 mars  9 19:30 /usr/lib/libGLU.so -> libGLU.so.1
lrwxrwxrwx 1 root root     20 mars  9 19:30 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.070300
-rwxr-xr-x 1 root root 432648 mars  9 19:30 /usr/lib/libGLU.so.1.3.070300

Code:
Shogun gaby # eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11


Je ne sais pas trop comment résoudre ça, j'imagine qu'il ne s'agit que d'un problème de lien vers une bibliothèque mais où.
Gaby


Last edited by Gaby on Thu Mar 12, 2009 11:03 am; edited 1 time in total
Back to top
View user's profile Send private message
Gaby
Apprentice
Apprentice


Joined: 03 Aug 2005
Posts: 251

PostPosted: Thu Mar 12, 2009 11:02 am    Post subject: Reply with quote

Je m'autorépond :
Code:
Shogun gaby # eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11

Je me suis rend compte après avoir poster qu'il manquait l'étoile ... en fait le eselect ne fonctionnait pas a cause d'un lien dans /usr/lib32 qui pointait sur l'opengl ati (version driver proprio). J'ai refait le lien qui va bien et le eselect est passé et la compile est en cours.
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Thu Mar 12, 2009 12:09 pm    Post subject: Reply with quote

"J'ai refait le lien qui va bien"...

Pourquoi pas simplement "eselect opengl set 1" ?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Gaby
Apprentice
Apprentice


Joined: 03 Aug 2005
Posts: 251

PostPosted: Fri Mar 13, 2009 5:23 pm    Post subject: Reply with quote

Parceque le eselect ne fonctionnait pas. une erreur comme quoi le fichier était déjà présent ou quelque chose comme ça dans /usr/lib32.
En fouillant un peu dans ce répertoire, il y avait un lien vers une lib lié au driver ATI proprio que je n'ai plus sur ma machine donc lien mort.
j'ai refais le lien et de là j'ai pus refaire le eselect qui a résolu le problème.

Note que je ne sais pas ce que fait un eselect opengl set 1. J'ai peut etre simplement fait manuellement ce qu'il aurait dût faire. Le problème c'est que quand ca merde tu sais plus quoi faire ....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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