[squeak-dev] FFI/linux dynamic library load order?

Hans-Martin Mosner hmm at heeg.de
Thu Jan 5 14:27:25 UTC 2012


Hello,
after some wasted hours tracking down why my OpenGL code does not work at all, I found that Squeak probably loaded the
wrong GL.so library - instead of /usr/lib/nvidia-current/libGL.so it loaded /usr/lib/i386-linux-gnu/mesa/libGL.so.

C programs compiled with -lGL use the correct library, of course. Does anyone have an idea what causes this confusing
behavior, and what can be done to fix it? BTW, my VM is the Cog 3.9-7 VM - when I try the 4.0-2522 Cog VM, the module
"X11" can't be found, possibly because naming conventions changed somewhere?

Cheers,
Hans-Martin




More information about the Squeak-dev mailing list