I just wrote a console program which uses the PNG stuff to read and write pngs.
On my development PC it works perfect.
Than I copied it on the target PC (an apache web-server) and the trouble starts:
It does not run.
ldd shows me a lot of missing libs: libgtk libgdk libX.. and so on.
So I copied the missing libs.
Now ldd is lucky.
But...
when I try to start the program I get now: Gtk Warning: cannot open display
Why ???
It is a console program

Any hints ?
I can not install X on the server.
Bernd