On Fri, Aug 31, 2007 at 10:21:52PM +0200, [EMAIL PROTECTED] wrote: > I changed my developping system now the system openSuse uses > Xorg the old system used XFree86 > Installed gtk 2.8 or > > Building the exexutable now libraries from Xorg are included > like libXfixes.so.3 org > LivXinarema.so.1 or > libglitz.so.1 > > the executeable does not run under systems using XFree86 > because auf missing lib. > > Is there a compiler or linker switch to tell only to use > compatible calls. In simple examples like "Hello World" > the libXfixes.so.3 is not include this example runs under XFree86. > > For linking I have to set -lgtk-x11-2.0 without all > gtk calls are refrenced as undefined symbols in linking. > > Or may be I have to build my own gtk,gdk,glib,cairo,pango,atk > libs with special settings? > > I hope there will be a possibility to build gtk programms > under newer Distibutions also runable under older Distributions. > > Installing firefox under the older Distributions makes no problems > and i guess this is gtk applikation too.
Mozilla builds with old libraries, IIRC they build on something as ancient as RedHat 8. To produce executables that run with library version X or newer build with library version X (assuming backward compatibility) -- to ensure your program actually works with version X, you need to build and test it with this version anyway (can be done for instance on a virtual machine). The other possibility is to dlopen everything -- generally fragile. The third possibility is to bundle the libraries -- probably not an option with X. Yeti -- http://gwyddion.net/ _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list