maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   What happened to libQtWebKit? (https://talk.maemo.org/showthread.php?t=62067)

mikaelh 2010-09-10 21:25

What happened to libQtWebKit?
 
Had a working Python app that I have not changed = compiled in about a week. Now I get the following error running it:

ImportError: libQtWebKit.so.4: cannot open shared object file: No such file or directory

Same regardless of whether I use PyQt or PySide bindings. Anyone know who broke what?

MohammadAG 2010-09-11 10:06

Re: What happened to libQtWebKit?
 
Reinstall libqt4-webkit and python2.5-qt4-webkit?

attila77 2010-09-11 10:13

Re: What happened to libQtWebKit?
 
Interesting, python2.5-qt4-webkit depends on libqt4-webkit, so you couldn't remove it without removing the bindings themselves... would be good to see what "dpkg -l |grep webkit" says before you embark on a reinstall rampage

mikaelh 2010-09-11 11:08

Re: What happened to libQtWebKit?
 
dpkg -l | grep webkit

Code:

i  libqt4-webkit                                      4.6.2~git20100401-0maemo1+0m5              Qt 4 WebKit module
ii  pyside-qt4-webkit                                  0.4.0-1maemo4                              Qt 4 WebKit module - Python bindings
ii  python2.5-qt4-webkit                                4.7.5-maemo1                              Python bindings for Qt4 Core components.

And dpkg -L libqt4-webkit:

Code:

/opt/lib/libQtWebKit.so.4.6.2
/usr/share/doc/libqt4-webkit
/usr/share/doc/libqt4-webkit/changelog.Debian.gz
/usr/lib/libQtWebKit.so.4.6
/usr/lib/libQtWebKit.so.4.6.2
/usr/lib/libQtWebKit.so.4

Without really knowing how this works, I wonder if the bindings are looking for the so in the "wrong" place? /opt/lib, for example?

mikaelh 2010-09-11 11:52

Re: What happened to libQtWebKit?
 
Forgot to mention that the only Qt-related updates in the past month have been to the "PyQt4 Full Install" (versions 4.7.5-maemo1 and maemo0, I think).

MohammadAG 2010-09-11 11:52

Re: What happened to libQtWebKit?
 
dpkg -L cats a list of files from /var/lib/dpkg/info/*.list, so it's not really useful, check if the files really exist in /usr/lib

mikaelh 2010-09-11 12:08

Re: What happened to libQtWebKit?
 
Interesting:

Code:

usr/lib $ ls libQtWeb*
ls: libQtWebKit.so: No such file or directory
ls: libQtWebKit.so.4: No such file or directory
ls: libQtWebKit.so.4.7: No such file or directory
libQtWebKit.so.4.6    libQtWebKit.so.4.6.2

Link no longer pointing to a useful place? Any idea what did this? Is everyone else happy with their installs?

Would you recommend recreating a link pointing to 4.6.2, or rather doing a reinstall?

MohammadAG 2010-09-11 12:28

Re: What happened to libQtWebKit?
 
Quote:

Originally Posted by mikaelh (Post 813370)
Interesting:

Code:

usr/lib $ ls libQtWeb*
ls: libQtWebKit.so: No such file or directory
ls: libQtWebKit.so.4: No such file or directory
ls: libQtWebKit.so.4.7: No such file or directory
libQtWebKit.so.4.6    libQtWebKit.so.4.6.2

Link no longer pointing to a useful place? Any idea what did this? Is everyone else happy with their installs?

Would you recommend recreating a link pointing to 4.6.2, or rather doing a reinstall?

A reinstall would be easier imo, reinstalling libqt4-webkit should be enough.
Code:

apt-get --reinstall install libqt4-webkit

mikaelh 2010-09-11 13:09

Re: What happened to libQtWebKit?
 
Thanks, reinstall helped, although it did not fix the broken libQtWebKit.so link. Is it used for something?

Ignacius 2010-09-11 13:44

Re: What happened to libQtWebKit?
 
Where is libQtWebKit.so* pointing to?


All times are GMT. The time now is 11:10.

vBulletin® Version 3.8.8