<div dir="ltr">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:<br><br>qtruby4.so: libqtruby4shared.so: cannot open shared object file: No such file or directory - /usr/lib/ruby/1.8/i386-linux/qtruby4.so (LoadError)<br>
from /usr/lib/ruby/1.8/i386-linux/Qt.rb:1<br> from ./hello:3:in `require'<br> from ./hello:3<br><br>I've also got a c++ program that links to libsmokeqt.so.2, and it doesn't run either:<br>
./helloqt4: symbol lookup error: libsmokeqt.so.2: undefined symbol: _ZN18QCommandLinkButton11qt_metacastEPKc<br><br>There were no problems compiling. Is there something else I need to link to?<br>>ldd libsmokeqt.so.2<br>
linux-gate.so.1 => (0x00110000)<br> libQtCore.so.4 => /usr/local/Trolltech/Qt-4.4.0/lib/libQtCore.so.4 (0x00b95000)<br> libpthread.so.0 => /lib/libpthread.so.0 (0x00a6c000)<br> libQtGui.so.4 => /usr/local/Trolltech/Qt-4.4.0/lib/libQtGui.so.4 (0x00e0c000)<br>
libQtNetwork.so.4 => /usr/local/Trolltech/Qt-4.4.0/lib/libQtNetwork.so.4 (0x0580f000)<br> libQtOpenGL.so.4 => /usr/local/Trolltech/Qt-4.4.0/lib/libQtOpenGL.so.4 (0x00a85000)<br> libQtDBus.so.4 => /usr/local/Trolltech/Qt-4.4.0/lib/libQtDBus.so.4 (0x0405c000)<br>
libQtSql.so.4 => /usr/local/Trolltech/Qt-4.4.0/lib/libQtSql.so.4 (0x00b0c000)<br> libQtSvg.so.4 => /usr/local/Trolltech/Qt-4.4.0/lib/libQtSvg.so.4 (0x03d44000)<br> libQtXml.so.4 => /usr/local/Trolltech/Qt-4.4.0/lib/libQtXml.so.4 (0x03b13000)<br>
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x04fd4000)<br> libm.so.6 => /lib/libm.so.6 (0x00b4e000)<br> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x03270000)<br> libc.so.6 => /lib/libc.so.6 (0x05f2b000)<br>
libz.so.1 => /lib/libz.so.1 (0x03336000)<br> libgthread-2.0.so.0 => /lib/libgthread-2.0.so.0 (0x03147000)<br> librt.so.1 => /lib/librt.so.1 (0x031ec000)<br> libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x04da3000)<br>
libdl.so.2 => /lib/libdl.so.2 (0x01872000)<br> /lib/ld-linux.so.2 (0x00b77000)<br> libpng12.so.0 => /usr/lib/libpng12.so.0 (0x035ca000)<br> libSM.so.6 => /usr/lib/libSM.so.6 (0x05d3c000)<br>
libICE.so.6 => /usr/lib/libICE.so.6 (0x01877000)<br> libXi.so.6 => /usr/lib/libXi.so.6 (0x01891000)<br> libXrender.so.1 => /usr/lib/libXrender.so.1 (0x0189a000)<br> libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x05cfa000)<br>
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x06e82000)<br> libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x06222000)<br> libXext.so.6 => /usr/lib/libXext.so.6 (0x05e23000)<br> libX11.so.6 => /usr/lib/libX11.so.6 (0x07d34000)<br>
libGLU.so.1 => /usr/lib/libGLU.so.1 (0x06a62000)<br> libGL.so.1 => /usr/lib/fglrx/libGL.so.1 (0x06d38000)<br> libselinux.so.1 => /lib/libselinux.so.1 (0x018a3000)<br> libexpat.so.1 => /lib/libexpat.so.1 (0x0594a000)<br>
libXau.so.6 => /usr/lib/libXau.so.6 (0x018bf000)<br> libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x018c2000)<br> libxcb.so.1 => /usr/lib/libxcb.so.1 (0x018c4000)<br> libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x018e0000)<br>
<br></div>