[Lazarus] Do data modules have GTK dependencies on Linux

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Jan 18 22:19:44 CET 2011


On Tue, 18 Jan 2011 20:47:54 +0000
Frank Church <vfclists at gmail.com> wrote:

> 2011/1/18 ik <idokan at gmail.com>
> 
> > 2011/1/18 Frank Church <vfclists at gmail.com>
> >
> >>
> >> I have converted a program that uses data modules to Linux and I am sure
> >> tthey don't use any graphics widgets,
> >> but I keep getting 'error while loading shared libraries:
> >> libgdk_pixbuf-2.0.so.0: cannot open shared object file: No such file or
> >> directory' when I try to run
> >> it on a server system without any form of graphics installed.
> >>
> >> Is there some way to check that no dependency on any kind of graphics
> >> interfaces exists in the project?
> >>
> >
> > It depends on your Linux distro, but why do you depends on GTK if you do
> > not require any GUI support ?
> >
> >
> >>
> >>
> It does not require GTK, I am using the NoGUI widgeset. The program was
> converted from Windows, but are I wonder if some of the files included in
> the uses sections are including GTK replacements for some of the stuff used
> by Windows.
> 
> I have done a Build All in the IDE and converted it to NoGUI. Are the some
> other project settings I can use, rather than in the Enviromment menu?

Have you set the nogui widgetset in the project's compiler options?

Mattias




More information about the Lazarus mailing list