(no subject)
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Mar 26, 2007
- 982 views
Chris wrote: > > Hi > > Matt > > Haven't yet been able to compile a 32 bit version of wxwidgets on my 64 bit > system - my next step is to try to compile it on a 32 bit system while > resolving > the almost certain dependency deficiencies. > > However, I discovered a new command (on the wxwidgets site) > > ldd [file] > > it lists all the libraries required by an application. > > ldd wxeu.so > > returns a list of all the libraries reuired by this application, all present > > ldd libwxeu.so > > returns a list of the required libraries, of which none of the gtk2 libs can > it find. Strangely, these libraries are in /usr/local/lib. Are these in the form of libwx_gtk2*? Because those are the wxWidgets libraries. I've got my ldd output below (on Ubuntu Edgy). There were only 3 actual gtk/gdk libraries linked. > Curiouser and curiouser. The gtk2 libs can be found, because, as I said > before, > the examples in the gtk2 source package work. > > My feeling is that libwxeu.so will work with the 64 bit gtk2 binaries, it just > needs a little encouragement. Good luck. $ ldd /usr/local/lib/libwxeu.so linux-gate.so.1 => (0xffffe000) libwx_gtk2_aui-2.8.so.0 => /usr/local/lib/libwx_gtk2_aui-2.8.so.0 (0xb7eb7000) libwx_gtk2_xrc-2.8.so.0 => /usr/local/lib/libwx_gtk2_xrc-2.8.so.0 (0xb7e2c000) libwx_gtk2_qa-2.8.so.0 => /usr/local/lib/libwx_gtk2_qa-2.8.so.0 (0xb7e0d000) libwx_gtk2_html-2.8.so.0 => /usr/local/lib/libwx_gtk2_html-2.8.so.0 (0xb7d76000) libwx_gtk2_adv-2.8.so.0 => /usr/local/lib/libwx_gtk2_adv-2.8.so.0 (0xb7cbb000) libwx_gtk2_core-2.8.so.0 => /usr/local/lib/libwx_gtk2_core-2.8.so.0 (0xb792d000) libwx_base_xml-2.8.so.0 => /usr/local/lib/libwx_base_xml-2.8.so.0 (0xb7923000) libwx_base_net-2.8.so.0 => /usr/local/lib/libwx_base_net-2.8.so.0 (0xb78f7000) libwx_base-2.8.so.0 => /usr/local/lib/libwx_base-2.8.so.0 (0xb77d9000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76fa000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb76d4000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb76c9000) libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb76b6000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7582000) libz.so.1 => /usr/lib/libz.so.1 (0xb756d000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7569000) libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7219000) libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7195000) libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb717b000) libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7165000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7135000) libXext.so.6 => /usr/lib/libXext.so.6 (0xb7128000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7120000) libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb711d000) libXi.so.6 => /usr/lib/libXi.so.6 (0xb7115000) libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb7112000) libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb7108000) libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb7103000) libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb70c9000) libX11.so.6 => /usr/lib/libX11.so.6 (0xb7000000) libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6fc6000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6fc2000) libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb6fbc000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6f2a000) libSM.so.6 => /usr/lib/libSM.so.6 (0xb6f21000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb6efd000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb6ede000) /lib/ld-linux.so.2 (0x80000000) libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb6ed6000) libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb6e74000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb6e0a000) libXau.so.6 => /usr/lib/libXau.so.6 (0xb6e06000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6e01000) librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb6df8000) libICE.so.6 => /usr/lib/libICE.so.6 (0xb6de0000) libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb6db5000)