[gtkada] static compilation

yoann toussaint yoann.toussaint at free.fr
Tue Jun 4 11:18:05 CEST 2002


hello,
I use the debian package of gtkada, and I would like to create a static 
executable linux file.
for that, I use :
$gnatmake test 'gtkada-config --static'
but when I execute the ELF generated on a linux machine (red-hat) 
without gtkada and gnat,
the error occurs :
error in loading shared libraries: libgnat-3.14p.so.1: cannot open 
shared object file: No such file or directory
so I tried :
gnatmake tex_it -I/usr/local/include/gtkada -largs 
/usr/local/lib/libgtkada.a /usr/lib/libgtk.a /usr/lib/libgdk.a 
/usr/lib/libglib.a /usr/lib/libgmodule.a -L/usr/lib -L/usr/X11R6/lib 
-ldl -lXi -lXext -lX11 -lm /usr/lib/libgdk_pixbuf.a 
/usr/lib/libart_lgpl.a /usr/lib/libglade.a /usr/lib/libxml.a 
/usr/lib/libgnat-3.14p.so.1
but the same error occurs...

Any help would be appreciated.

Thanks in advance,
yoann









More information about the gtkada mailing list