[compiz] compile error

Daniel Brooks db48x at yahoo.com
Fri Sep 29 22:16:49 PDT 2006


David Reveman <davidr at novell.com> writes:

>> dlopen: /opt/Xgl/lib/xorg/modules/xgl/libglxext.so: undefined symbol: _mesa_BindVertexArrayAPPLE
>> 
>> FatalError re-entered, aborting
>> No GLX modules loaded
>> Aborted
>> 
>> [db48x at localhost Xgl]$ LD_PRELOAD=/usr/lib/libGL.so.1 /opt/Xgl/bin/Xgl :1
>> Segmentation fault
>> 
>> 
>> I suppose I'll rebuild with symbols and get a stacktrace for the crash.
>
> No don't do that, LD_PRELOAD can't be used with Xgl as it needs to
> dlopen it's modules in a specific order. If you use LD_PRELOAD,
> everything breaks and that you get segfault is not a surprise.
>
> _mesa_BindVertexArrayAPPLE being undefined symbol is your problem and
> I'm not sure why you get this.
>
> -David

Heh, for that I was just following the suggestions at http://www.freedesktop.org/wiki/Software/Xgl.

After I sent this message I went back and looked at the source, and _mesa_BindVertexArrayAPPLE is defined in arrayobj.h. This is interesting to me because that was one of the files I had a problem with while compiling. I had to make a symlink from xserver/xorg/GL/mesa/main/arrayobj.h to the arrayobj.h in the mesa source in order to continue. Perhaps I messed that up somehow?

db48x


More information about the compiz mailing list