Ok Benoit, Thank you very much.
-----Mensaje original----- De: Benoît Minisini <gam...@users.sourceforge.net> Reply-to: mailing list for gambas users <gambas-user@lists.sourceforge.net> Para: mailing list for gambas users <gambas-user@lists.sourceforge.net> Asunto: Re: [Gambas-user] Dinamic Libraries unused with ldd Fecha: Thu, 24 Dec 2009 17:36:07 +0100 > Hello > > I'm seeing the dynamic libs that depends gbx2 file. > > For that I use: > > $ ldd / usr/local/bin/gbx2. > > The result gives me is: > > linux-gate.so.1 => (0xb8033000) > libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7ff3000) > libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7fef000) > libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7fd5000) > libffi.so.5 => /usr/lib/libffi.so.5 (0xb7fcd000) > libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e6a000) > /lib/ld-linux.so.2 (0xb8034000) > > Now with the -u option, the result is, the result is: > > /lib/tls/i686/cmov/libm.so.6 > /lib/tls/i686/cmov/libdl.so.2 > /lib/tls/i686/cmov/libpthread.so.0 > > The -u option (unused) shows me what dependencies are not being used. > > Question: > > Can I ignore these dependencies, since they are not being taken into > account? > > Regards. No. Apparently the "-u" option is wrong: the mathematical library is used, otherwise how could the Sin() interpreter function work? libdl is used for loading component, and libpthread is needed by some components too, but not by the interpreter directly. Moreover, as the interpreter usually loads components at program startup, you will have to add all the dependencies of these components. Regards, ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user