Re: How to create a self contained GTK+ Application for Linux



Jeremy Roberson writes:
So, I copied all of the shared libraries into a sub directory of
the application directory called "lib/" for testing.

But GTK+ and Pango also look for various other files at run-time. It's
not just the shared libraries that are needed.

The pathnames of these other files have been compiled in hardcoded in
the shared libraries. Some functionality will not work of these files
are not found then at run-time. If the compiled-in pathnames happen to
match those of an existing older GTK+ installation already on the
machine, things might still work, or then not.

Off the top of my head, one obvious thing that will depend on run-time
opening of files is the gdk-pixbuf loaders. Plus message catalogs, of
course, but maybe American English is enough for all your users?

--tml



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]