Active Topics

 


Reply
Thread Tools
Posts: 79 | Thanked: 20 times | Joined on Apr 2010
#1
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's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#2
Reinstall libqt4-webkit and python2.5-qt4-webkit?
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#3
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
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 
Posts: 79 | Thanked: 20 times | Joined on Apr 2010
#4
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?
 
Posts: 79 | Thanked: 20 times | Joined on Apr 2010
#5
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's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#6
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
 

The Following 2 Users Say Thank You to MohammadAG For This Useful Post:
Posts: 79 | Thanked: 20 times | Joined on Apr 2010
#7
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's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#8
Originally Posted by mikaelh View Post
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
 
Posts: 79 | Thanked: 20 times | Joined on Apr 2010
#9
Thanks, reinstall helped, although it did not fix the broken libQtWebKit.so link. Is it used for something?
 
Posts: 60 | Thanked: 59 times | Joined on Jul 2008
#10
Where is libQtWebKit.so* pointing to?
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:13.