[Lazarus] vga dependency

Michael Van Canneyt michael at freepascal.org
Wed Jan 20 11:14:32 CET 2010

On Wed, 20 Jan 2010, tim launchbury wrote:

> Hello all
> I am learning free pascal / lazarus by porting a delphi application at
> work to lazarus on linux ( Mandriva 2010 ). So far I have got it to
> compile but when I tried to run it it complained about a missing lvga
> dependency. I installed libvga and now the message is that /dev/mem is
> not accessible and i need to run the programme suid root. However, I
> cannot understand the dependency on lvga as I have specified in the
> compiler options to use the gtk2 widget set.
> This problem has only occurred sice I updated to fpc 2.2.4 and lazarus
> ( both installed from the lazarus repositories.
> None of my other programming work ( in C ) using gtk2 has required lgva
> to be linked as a dependency.

Check if one of the uses clause contains the 'graph' unit.
If so, remove it.


More information about the Lazarus mailing list