Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-01

Do data modules have GTK dependencies on Linux

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Frank Church

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?

Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110118/a620a666/attachment.html>

Reply by email

ik
to Frank Church

2011/1/18 Frank Church

Show quoted text 11 lines
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 ?

Show quoted text 16 lines
-- Frank Church ======================= http://devblog.brahmancreations.com -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Ido
LINESIP - Opening the source for communication
http://www.linesip.com
http://www.linesip.co.il
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110118/b76969ec/attachment.html>

Reply by email

Mattias Gaertner
to Frank Church: I have converted a program that uses data modules to Linux and I am sure tthey don't use…
Show quoted text 9 lines
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?

You could try the nogui widget set.

Mattias

Reply by email

Frank Church
to ik: 2011/1/18 Frank Church It depends on your Linux distro, but why do you depends on GTK if…

2011/1/18 ik

Show quoted text 20 lines
2011/1/18 Frank Church > > 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?

Show quoted text 29 lines
> > -- > Frank Church > > ======================= > http://devblog.brahmancreations.com > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > Ido LINESIP - Opening the source for communication http://www.linesip.com http://www.linesip.co.il -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110118/ca37fa0e/attachment-0001.html>

Reply by email

Mattias Gaertner
to Frank Church
Show quoted text 29 lines
2011/1/18 ik > 2011/1/18 Frank Church > >> >> 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

Reply by email