[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#42944: I've found the cause of Debian bug 42944.


  This nasty linker bug:

BUG IN DYNAMIC LINKER ld.so: dl-version.c: 210: _dl_check_map_versions:
Assertion `needed != ((void *)0)' failed!

...seems to have occured in gazillions of programs on loads of Linux
distro's - heck there is even a fortune cookie about it!

I spent an evening researching it and finally tracked down this
bug report:


The detail of the explanation kinda escapes me - but essentially, it
seems to boil down to a problem with linking to libraries that in turn
require the pthreads library.

This fits exactly with my symptoms reported earlier.

On one machine, I linked with Mesa - which in turn links with pthreads.
On the other machine, I linked with nVidia's OpenGL for Linux - which
(presumably) does not.

Changing my Makefile to force a link to -lpthread fixed the problem

Steve Baker                  http://web2.airmail.net/sjbaker1
sjbaker1@airmail.net (home)  http://www.woodsoup.org/~sbaker
sjbaker@hti.com      (work)

Reply to: