Re: Irv's GTK Stuff
- Posted by Irv Mullins <irvm at ellijay.com> Nov 11, 2003
- 551 views
On Tuesday 11 November 2003 01:30 am, you wrote: > Irv, I tried running the simplest program you have: window.exu. It > errored out with this: > > $exu window.exu > /usr/libexec/ld-elf.so.1: /usr/local/lib/libintl.so.5: Undefined symbol > "stpcpy" > > First, am I running it right with "exu window.exu?" Yes. > Second, .... > Third, I guess I could turn my EU program into a .c file with the > EU-to-C program, then compile with gcc... right? :) Probably not. If I recall correctly, you're using GTK 2.2? If so, try this test and let me know where if fails: include dll.e --------------------------------------------------- -- Adjust the following to match the library -- versions you have in /usr/lib; --------------------------------------------------- constant lib = { "libgtk-x11-2.0.so.0", -- GTK "libgdk-x11-2.0.so.0", -- GDK "libgobject-2.0.so.0", -- GOBJ "libglib-2.0.so.0", -- GLIB "libgdk_pixbuf-2.0.so.0", -- PIXBUF "libpango-1.0.so.0" -- PANGO } --------------------------------------------------- -- Don't edit below this line --------------------------------------------------- global constant GLIB = open_dll(lib[1]), GOBJ = open_dll(lib[2]), GDK = open_dll(lib[3]), GTK = open_dll(lib[4]), PIXBUF = open_dll(lib[5]), PANGO = open_dll(lib[6]) sequence test -- see if all libraries loaded properly; test = {GLIB,GOBJ,GDK,GTK,PIXBUF,PANGO}= {0,0,0,0,0,0} for i = 1 to length(test) do if test[i] != 0 then printf(1,"Error loading %s\n",{lib[i]}) abort(i) else printf(1,"Loaded %s OK\n",{lib[i]}) end if end for Irv