From: Allan Schaffer (allan++at++southpark.engr.sgi.com)
Date: 07/11/2000 11:14:05
On Jul 11, 10:34pm, ( Text in unknown character set gb2312 not shown ) wrote:
>
> I'm just install Performer 2.3.1 for Linux on my PC. When I'm trying
> to explorin g sample code provided in
> /usr/share/Performer/src/sample/pguide something is wr ong. There is
> no error when run 'make', but If I execute these samples, they can't
> work and show a message says:
>
> BUG IN DYNAMIC LINKER ld.so: dl-version.c: 210: _dl_check_map_versions:
> Assertion `needed != ((void *)0)' failed!
>
> I don't know how to deal with such problem. If anyone know, help me
> pelase. Thank you! My linux is redhat 6.1.
This is a rather arcane problem caused by a bug in the dynamic linker
(like the message says) -- what's happening in this case is:
- Stock Mesa links with the pthread library (-lpthread)
- Stock Performer does not
This triggers the bug
- To work around it, you need to load a version of Mesa that
does not link with the pthread library. I think (?) the Mesa
available on our website is what you want:
http://reality.sgi.com/performer/mesa/3.2
- Another workaround *might* be to modify the Performer makefiles
to link with -lpthread but I can't recall offhand whether this
works or not. The first workaround is the better thing to do
anyways.
Allan
-- Allan Schaffer allan++at++sgi.com Silicon Graphics http://reality.sgi.com/allan
This archive was generated by hypermail 2b29 : Tue Jul 11 2000 - 11:14:08 PDT