I wrote:
> Note also your error message:
> 
> ./exbasic: symbol lookup error: /usr/local/lib/libagl.so: undefined
> symbol: glXQueryExtension
> 
> This says something strange, the linker for some reason is looking for
> glXQueryExtension inside libagl.so. 

Actually, re-reading this error message, it looks like libagl.so wants
to be linked with something that provides glXQueryExtension. Try to
compile with "-k-lGL".

If you don't fear to modify the FPC's sources, you can also try to
change rtl/unix/dynlibs.inc to pass RTLD_GLOBAL to dlopen call, then
recompile rtl and packages. Then the symbols from libGL (this includes
glX symbols) should be available to libagl.so too.

Hope this helps,
Michalis
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to