[Gambas-user] GamBas3
Benoît Minisini
gambas at ...1...
Tue Apr 27 23:28:30 CEST 2010
> > > Well, my name is Cristian. I live in Chile.
> > > I was looking for a solution for hard links that are created when
> > > compiling glibc with Gambas and found this page:
> > >
> > > http://www.bitwagon.com/rtldi/rtldi.html
> > >
> > > I think there the road goes, but I do not know very well C, not find a
> > > way to connect with Gambas.
> > > Any ideas?
> > >
> > > Regards
> >
> > Mmm, I don't think this is a good idea. Did you look at how, for example,
> > Google packaged GoogleEarth ?
>
> GoogleEarth is provided with all almost its shared library in the same
> directory as the executable. That executable is run by a script that adds
> "." at the beginning of the LD_LIBRARY_PATH environment variable.
>
> More interesting, it relies on the system for the following libraries:
>
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7839000)
> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7749000)
> libm.so.6 => /lib/i686/libm.so.6 (0xb5ff1000)
> libc.so.6 => /lib/i686/libc.so.6 (0xb5e90000)
> /lib/ld-linux.so.2 (0xb7875000)
> libz.so.1 => /lib/libz.so.1 (0xb5aa5000)
> libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb5a9e000)
> librt.so.1 => /lib/i686/librt.so.1 (0xb5a94000)
> libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb59d0000)
> libpthread.so.0 => /lib/i686/libpthread.so.0 (0xb59b6000)
> libdl.so.2 => /lib/libdl.so.2 (0xb59b1000)
> libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb592d000)
> libSM.so.6 => /usr/lib/libSM.so.6 (0xb5923000)
> libICE.so.6 => /usr/lib/libICE.so.6 (0xb5909000)
> libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb58ff000)
> libXext.so.6 => /usr/lib/libXext.so.6 (0xb58ed000)
> libX11.so.6 => /usr/lib/libX11.so.6 (0xb57bb000)
> libpcre.so.0 => /lib/libpcre.so.0 (0xb5315000)
> libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb52f7000)
> libGL.so.1 => /usr/lib/libGL.so.1 (0xb5286000)
> libXau.so.6 => /usr/lib/libXau.so.6 (0xb51cc000)
> libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb51c5000)
> libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb51bf000)
> libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb51ba000)
> libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb51b4000)
> libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb51a8000)
>
> These are gcc, libc, libz, glib, pcre, freetype, X11 and OpenGL (except
> libGLU) libraries.
>
> All other shared libraries are included in the package.
>
> I suggest you do almost the same: not providing gcc, libc, X11 and OpenGL
> libraries, and including all other needed shared libraries in the package.
>
> Regards,
As for your problem with gb.gtk, maybe you can provide as requirement that the
system should have a GTK+ based desktop installed (or KDE for gb.qt4)? Then
you won't have to provide any GTK+ library.
--
Benoît Minisini
More information about the User
mailing list