[fpc-pascal] Link libglx library.

Guillermo Martínez Jiménez gmjimen at burdjia.com
Thu May 14 01:00:39 CEST 2009


Hello.

I'm working on a project that needs the GLX library. It compiles but
when running it returns that error:

./exbasic: symbol lookup error: /usr/local/lib/libagl.so: undefined
symbol: glXQueryExtension

In other forum a colleague suggest that it doesn't links with the
libglx.so . I'm trying to force it using the command line but it
returns that error on compiling time:

fpc -02 -Sh -kglx examples/agl/exbasic.pp -oexamples/agl/exbasic
...
Target OS: Linux for i386
Compiling examples/agl/exbasic.pp
Linking examples/agl/exbasic
/usr/bin/ld: glx: No such file: No such file or directory

How should I do it?

Guillermo "Ñuño" Martínez



More information about the fpc-pascal mailing list