Graph unit lazarus / 1-Linux ---------------------------------------------------------------------- Jay · 2016-11-13 15:57 I'm getting an error trying to run a program which uses the graph unit: Quote/usr/bin/ld: cannot find -lvga The wiki says that this is because either libvga and/or the development package isn't installed or the folder where it's installed isn't in the linker path. However I'm using Debian jessie and can't find any package similar to "libvga" on my system or using apt-get. Any linux users out there have any suggestions? Thanks. ---------------------------------------------------------------------- marcov · 2016-11-13 16:04 Try to search for "svgalib".  That package installs libvga because of some ancient compatibility reasons. ---------------------------------------------------------------------- Thaddy · 2016-11-13 16:06 Can also be a CPU issue. It is not available for arm-linux and x86_64 linux only i386, afaik. Check if the package graph is installed in /usr/local/lib/fpc//units/ If it isn't then graph is not supported In my case /usr/local/lib/fpc/3.1.1/units/arm-linux does not contain graph because it is not supported on arm. ---------------------------------------------------------------------- Jay · 2016-11-16 10:16 Thanks, I should have mentioned I'm using linux 32, and the graph unit is in /usr/lib/fpc/3.0.0/units/i386-linux/graph. I had no luck with using "svgalib" instead of "libvga". ---------------------------------------------------------------------- marcov · 2016-11-16 10:42 seems indeed that svgalib is removed from debian after wheezy: https://tracker.debian.org/pkg/svgalib