DragonFly kernel List (threaded) for 2008-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: nvidia drivers
Petr Janda wrote:
Trying to compile billiardgl to try it out I get this error:
/usr/libexec/binutils217/elf/ld: warning: libXext.so.6, needed
by /usr/obj/pkgsrc/games/billardgl/work/.buildlink/lib/libGL.so, may conflict
with libXext.so.6.4.0
/usr/libexec/binutils217/elf/ld: warning: libX11.so.6, needed
by /usr/obj/pkgsrc/games/billardgl/work/.buildlink/lib/libGL.so, may conflict
with libX11.so.6.2.0
/usr/libexec/binutils217/elf/ld: warning: libGL.so.1.0.5, needed
by /usr/obj/pkgsrc/games/billardgl/work/.buildlink/lib/libGLU.so, may
conflict with libGL.so.1
/usr/libexec/binutils217/elf/ld: warning: libGL.so.w, needed
by /usr/pkg/lib/libGL.so.1.0.5, may conflict with libGL.so.1
/usr/pkg/lib/libGLcore.so.1: undefined reference to `___toupper'
/usr/obj/pkgsrc/games/billardgl/work/.buildlink/lib/libGL.so: undefined
reference to `__error'
/usr/pkg/lib/libGLcore.so.1: undefined reference to `___runetype'
/usr/pkg/lib/libGLcore.so.1: undefined reference to `___tolower'
Whats happening here and how to fix it? I seem to be getting this on every
OpenGL game that i try to compile.
Yah, that's tricky. I solved it the following way:
- install mesa
- install nvidia drivers+libs
- have /usr/pkg/lib/libGL.so point to /usr/pkg/lib/libGL.so.1.0.5, which
should be from mesa. It is important that this lib has the SONAME set to
libGL.so.1 (you can check with objdump -x)
now compiling should link to the mesa lib, but then libGL.so.1 will be
used by the runtime linker.
But looking at your compiler output, libGLU depends on libGL.so.1.0.5,
which is bad. You will need
<http://chlamydia.fs.ei.tum.de/~corecode/unsorted/libtool-dragonfly.diff>
this patch as well, I believe (and recompile Mesa+libs depending on Mesa).
Not sure whether I have submitted this to pkgsrc/upstream. Maybe somebody
could do that? :)
cheers
simon
--
<3 the future +++ RENT this banner advert +++ ASCII Ribbon /"\
rock the past +++ space for low €€€ NOW!1 +++ Campaign \ /
Party Enjoy Relax | http://dragonflybsd.org Against HTML \
Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]