Unable to start Fritzing - missing library

I'd love to try fritzing, but I'm having problems getting it to run on Debian Etch. Here's the problem:

$ ./Fritzing ./Fritzing: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory

If I check the dependant libraries, I see:

$ ldd Fritzing linux-gate.so.1 => (0xffffe000) libQtWebKit.so.4 => not found libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0xb7f47000) libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0xb7ea8000) libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0xb7e64000) libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb7795000) libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0xb773a000) libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb75ba000) libpthread.so.0 => /lib/libpthread.so.0 (0xb75a3000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb74b6000) libm.so.6 => /lib/libm.so.6 (0xb7491000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7484000) libc.so.6 => /lib/libc.so.6 (0xb734e000) libz.so.1 => /usr/lib/libz.so.1 (0xb7339000) libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb7323000) libXt.so.6 => /usr/lib/libXt.so.6 (0xb72d4000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb72b1000) libSM.so.6 => /usr/lib/libSM.so.6 (0xb72a8000) libICE.so.6 => /usr/lib/libICE.so.6 (0xb728f000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7287000) libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb7281000) libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb727c000) libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb7273000) libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb7270000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7200000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb71d5000) libXext.so.6 => /usr/lib/libXext.so.6 (0xb71c7000) libX11.so.6 => /usr/lib/libX11.so.6 (0xb70db000) libdl.so.2 => /lib/libdl.so.2 (0xb70d7000) libpq.so.4 => /usr/lib/libpq.so.4 (0xb70b9000) libmysqlclient_r.so.15 => /usr/lib/libmysqlclient_r.so.15 (0xb6edd000) libsqlite.so.0 => /usr/lib/libsqlite.so.0 (0xb6e87000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6dd7000) /lib/ld-linux.so.2 (0xb7f9f000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb6db6000) libXau.so.6 => /usr/lib/libXau.so.6 (0xb6db3000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6dae000) libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb6d6f000) libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb6c35000) libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb6ba6000) libcom_err.so.2 => /lib/libcom_err.so.2 (0xb6ba3000) libcrypt.so.1 => /lib/libcrypt.so.1 (0xb6b71000) libnsl.so.1 => /lib/libnsl.so.1 (0xb6b5a000) libpcre.so.3 => /usr/lib/libpcre.so.3 (0xb6b33000) libselinux.so.1 => /lib/libselinux.so.1 (0xb6b19000) libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb6af6000) libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb6aee000) libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb6aeb000) libresolv.so.2 => /lib/libresolv.so.2 (0xb6ad9000)

Clearly I need to get hold of libQtWebKit.so.4, but I can't figure out what package I need to install (ideally with apt).

Anyone out there with any experience on Debian?

Thanks in advance,

Lance.

Posted 2 years, 9 months ago by lwr20

Hi Lance, please, try running the sh script, instead of the binary itself:

$./Fritzing.sh

it should add the libraries that are included in the fritzing bundled that you downloaded, into your LD_LIBRARY_PATH

try it out and if you got into further problems, just let us know

saludos mariano

Posted 2 years, 9 months ago by Mariano Crowe

Thanks for getting back to me. I tried the script and get this instead:

$ ./Fritzing.sh /home/lwr20/install/fritzing.2009.04.02.linux.i386/./Fritzing: symbol lookup error: /home/lwr20/install/fritzing.2009.04.02.linux.i386/lib/sqldrivers/libqsqlite.so: undefined symbol: sqlite3_prepare16_v2

Not sure what this means. Perhaps I've got clashing libraries installed?

Posted 2 years, 9 months ago by lwr20

hi lance, it seems that your sqlite3 version is older than the one we used to compile the app, and does not provide the sqlite3_prepare16_v2() function (added on the 3.3.9 version, according to http://www.sqlite.org/cvstrac/wiki?p=WhenPreparedStatementExpire)

Can you do execute this lines?: $ sudo apt-get install sqlite3 $ sqlite3 sqlite3> select sqlite_version(); 3.6.10 sqlite3>

mine, for example, is the 3.6.10 (now you can remove the sqlite3 package if you want) and can you also provide your debian version?

thanks mariano

Posted 2 years, 9 months ago by Mariano Crowe

we have a hard time with the forum layout :) the commands are this:

$ sudo apt-get install sqlite3

$ sqlite3

sqlite3> select sqlite_version();

3.6.10

sqlite3>

Posted 2 years, 9 months ago by Mariano Crowe

hi lance,

We've just tested the app in a brand new debian installation, an it works out of the box.

Just make sure to update your system, or install the package libsqlite3-0 >= 3.3.9

good luck!

mariano

Posted 2 years, 9 months ago by Mariano Crowe

Hi Mariano,

After running aptitude update, it seems that the latest version of sqlite3 in Debian Etch (current stable) is 3.3.8.

After a bit of Googling, it seems that someone has backported sqlite3 3.5.9-5 from Sid (unstable) to Etch. To get it, I added deb http://www.proesdorf.de/debian/ stable main contrib to my sources.list

After updating again and upgrading sqlite3 it now all works!

Thank you for your help, and I hope this thread helps someone else.

Lance.

Posted 2 years, 8 months ago by lwr20

Post a Reply

Please login to post a reply.

  • RSS
  • Atom
  • Print this
© 2007 - 2011 University of Applied Sciences Potsdam