[Kde-bindings] Runtime error with libsmokeqt
Chris Burel
chrisburel at gmail.com
Sat Aug 2 00:57:21 UTC 2008
I used the CMakeLists.txt.qtruby file to "build a Qt only version of
QtRuby." But when I try to run the Hello World example included in the
readme, I get this:
qtruby4.so: libqtruby4shared.so: cannot open shared object file: No such
file or directory - /usr/lib/ruby/1.8/i386-linux/qtruby4.so (LoadError)
from /usr/lib/ruby/1.8/i386-linux/Qt.rb:1
from ./hello:3:in `require'
from ./hello:3
I've also got a c++ program that links to libsmokeqt.so.2, and it doesn't
run either:
./helloqt4: symbol lookup error: libsmokeqt.so.2: undefined symbol:
_ZN18QCommandLinkButton11qt_metacastEPKc
There were no problems compiling. Is there something else I need to link
to?
>ldd libsmokeqt.so.2
linux-gate.so.1 => (0x00110000)
libQtCore.so.4 => /usr/local/Trolltech/Qt-4.4.0/lib/libQtCore.so.4
(0x00b95000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00a6c000)
libQtGui.so.4 => /usr/local/Trolltech/Qt-4.4.0/lib/libQtGui.so.4
(0x00e0c000)
libQtNetwork.so.4 =>
/usr/local/Trolltech/Qt-4.4.0/lib/libQtNetwork.so.4 (0x0580f000)
libQtOpenGL.so.4 =>
/usr/local/Trolltech/Qt-4.4.0/lib/libQtOpenGL.so.4 (0x00a85000)
libQtDBus.so.4 => /usr/local/Trolltech/Qt-4.4.0/lib/libQtDBus.so.4
(0x0405c000)
libQtSql.so.4 => /usr/local/Trolltech/Qt-4.4.0/lib/libQtSql.so.4
(0x00b0c000)
libQtSvg.so.4 => /usr/local/Trolltech/Qt-4.4.0/lib/libQtSvg.so.4
(0x03d44000)
libQtXml.so.4 => /usr/local/Trolltech/Qt-4.4.0/lib/libQtXml.so.4
(0x03b13000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x04fd4000)
libm.so.6 => /lib/libm.so.6 (0x00b4e000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x03270000)
libc.so.6 => /lib/libc.so.6 (0x05f2b000)
libz.so.1 => /lib/libz.so.1 (0x03336000)
libgthread-2.0.so.0 => /lib/libgthread-2.0.so.0 (0x03147000)
librt.so.1 => /lib/librt.so.1 (0x031ec000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x04da3000)
libdl.so.2 => /lib/libdl.so.2 (0x01872000)
/lib/ld-linux.so.2 (0x00b77000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x035ca000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x05d3c000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x01877000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x01891000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x0189a000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x05cfa000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x06e82000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x06222000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x05e23000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x07d34000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0x06a62000)
libGL.so.1 => /usr/lib/fglrx/libGL.so.1 (0x06d38000)
libselinux.so.1 => /lib/libselinux.so.1 (0x018a3000)
libexpat.so.1 => /lib/libexpat.so.1 (0x0594a000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x018bf000)
libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x018c2000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x018c4000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x018e0000)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20080801/348c2ea1/attachment.html>
More information about the Kde-bindings
mailing list