Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2836 - bug 2050 is still a bug - here's more info
Summary: bug 2050 is still a bug - here's more info
Status: RESOLVED DUPLICATE of bug 2050
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://wxpython.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-18 19:28 UTC by Phil K
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil K 2002-05-18 19:28:57 UTC
I'm encountering the same problem as in Bug 2050, namely a not-found libGLU
prevents wxPython from ebuilding. I believe it is due to the location of my GLU
library, since I am indeed using the nvidia driver.

The nvidia libraries live in /usr/lib
but the GLU libraries are in /usr/X11R6/lib

The command 'emerge wxPython' fails with the message:

gcc -shared build/temp.linux-i686-2.2/contrib/glcanvas/gtk/glcanvas.o -o
build/lib.linux-i686-2.2/wxPython/glcanvasc.so -L/usr/lib -lwx_gtk_gl-2.3 -lGL
-lGLU -lwx_gtk-2.3
/usr/i686-pc-linux-gnu/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 17, Exitcode 1

I'm using an up-to-the-minute updated Gentoo system, with python version 2.2.1

Probably the fix is to change the ebuild file to tell the C compiler to also
look in /usr/X11R6/lib by adding the -L/usr/X11R6/lib right after the -L/usr/lib
option that is already in there --- but I don't know where to add this, as I
don't see any compiler options being specified in the ebuild file
(wxPython-2.3.2.1.ebuild)

Thanks
- Phil K.
Comment 1 Arcady Genkin (RETIRED) gentoo-dev 2002-05-24 02:54:17 UTC
When you see that an unfixed bug is closed, the right thing to do is to reopen
the old bug.

Thanks for the report

*** This bug has been marked as a duplicate of 2050 ***