tags 343097 + moreinfo quit Micha Feigin wrote:
> Trying to link against glut (freeglut3) causes the following error: > > gcc -lglut test.c > /usr/bin/ld: BFD 2.16.91 20051206 Debian GNU/Linux assertion fail > ../../bfd/elflink.c:6203 > /usr/bin/ld: test: hidden symbol `__fini_array_end' in test is referenced by > DSO > /usr/bin/ld: final link failed: Nonrepresentable section on output > collect2: ld returned 1 exit status > > This happened to me even with a completely empty test program (empty > main). Luca wrote: > After stracing ld I found out that I had another copy of the libGL.so in > the system (under /usr/X11/lib) and ld was using the wrong one. Interesting. Do you have a copy of the libglut/libGL/etc this was linking to? Probably this should be changed to be a more descriptive message instead of an assertion failure, so such a faulty libGL.so and information about what happens with current binutils would be very useful for work on this. Thanks and sorry for the long silence. Jonathan -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org