Hi, Markus and everybody!
When I try to compile a Pascal program which uses GRX, I always get an error message: "Can't find libX11".
On your system, the directory `/usr/X11/lib' seems not to be in the library path. You can either pass it explicitly (`-L /usr/X11/lib') to the compilation command line, or set it in an environment variable (`export LIBRARY_PATH=/usr/X11/lib').
Well, now, libX11 is in its directory... and, besides, I'm trying to compile the program for the Linux shell in text mode, so it doesn't even need X11.
Really in text mode? You probably mean SVGAlib instead of X11.
Since for GRX, I ran all the makefiles with the .lnx appendix, I don't understand why the linker is still looking for X11.
I did not try to compile GRX/SVGAlib Pascal programs for a long time. Please look out for a "{$L X11}" directive in `grx.pas' and replace it by "{$L vga}".
IMHO, X11 should be the default graphics mechanism under Linux-based systems. I suggest to {$ifdef} the chosen library such that X11 is the default, and SVGAlib can be selected by something like "-D SVGALIB" in the command line or "{$define SVGALIB}" in the source.
Peter