1 |
Am Sun, 28 Apr 2013 12:48:28 +0100 |
2 |
schrieb Mick <michaelkintzios@×××××.com>: |
3 |
|
4 |
> Updating dev-libs/icu-51.1 uninstalled /usr/lib64/libicuuc.so.49.1.2 and when |
5 |
> I try to start Dolphin I get: |
6 |
> ================================================== |
7 |
> There was an error loading the module Dolphin View. |
8 |
> The diagnostics is: |
9 |
> Cannot load library /usr/lib64/kde4/dolphinpart.so: (libicuuc.so.49: cannot |
10 |
> open shared object file: No such file or directory) |
11 |
> ================================================== |
12 |
> |
13 |
> Should revdep-rebuild have picked this up, or would this only work if |
14 |
> /usr/lib64/libicuuc.so.49.1.2 had not been removed yet? |
15 |
> |
16 |
> Trying to rebuild dolphin gives: |
17 |
> ================================================== |
18 |
> [ 71%] Building CXX object dolphin/src/CMakeFiles/dolphin.dir/dolphin_dummy.o |
19 |
> cd /var/tmp/portage/kde- |
20 |
> base/dolphin-4.10.1/work/dolphin-4.10.1_build/dolphin/src && /usr/bin/x86_64- |
21 |
> pc-linux-gnu-g++ -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL |
22 |
> -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS - |
23 |
> DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=45 -DDISABLE_NEPOMUK_LEGACY - |
24 |
> DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_NO_DEBUG -DNDEBUG |
25 |
> -march=native -O2 -pipe -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast- |
26 |
> align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno- |
27 |
> exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual |
28 |
> -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden - |
29 |
> I/var/tmp/portage/kde- |
30 |
> base/dolphin-4.10.1/work/dolphin-4.10.1_build/dolphin/src - |
31 |
> I/var/tmp/portage/kde-base/dolphin-4.10.1/work/dolphin-4.10.1/dolphin/src - |
32 |
> I/var/tmp/portage/kde-base/dolphin-4.10.1/work/dolphin-4.10.1_build - |
33 |
> I/var/tmp/portage/kde-base/dolphin-4.10.1/work/dolphin-4.10.1/lib/konq - |
34 |
> I/usr/include/KDE -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml - |
35 |
> I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools - |
36 |
> I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql - |
37 |
> I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript - |
38 |
> I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork - |
39 |
> I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtDesigner - |
40 |
> I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus - |
41 |
> I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui - |
42 |
> I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt - |
43 |
> I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -D_GNU_SOURCE - |
44 |
> D_LARGEFILE64_SOURCE -o CMakeFiles/dolphin.dir/dolphin_dummy.o -c |
45 |
> /var/tmp/portage/kde- |
46 |
> base/dolphin-4.10.1/work/dolphin-4.10.1_build/dolphin/src/dolphin_dummy.cpp |
47 |
> Linking CXX executable dolphin |
48 |
> cd /var/tmp/portage/kde- |
49 |
> base/dolphin-4.10.1/work/dolphin-4.10.1_build/dolphin/src && /usr/bin/cmake -E |
50 |
> cmake_link_script CMakeFiles/dolphin.dir/link.txt --verbose=1 |
51 |
> /usr/bin/x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -Wnon-virtual-dtor |
52 |
> -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith |
53 |
> -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno- |
54 |
> common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden - |
55 |
> fvisibility-inlines-hidden -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed |
56 |
> CMakeFiles/dolphin.dir/dolphin_dummy.o -o dolphin -rdynamic - |
57 |
> L/var/tmp/portage/kde-base/dolphin-4.10.1/work/dolphin-4.10.1_build/lib - |
58 |
> L/usr/lib64/qt4 ../../lib/libkdeinit4_dolphin.so -lkonq -lz -lX11 |
59 |
> ../../lib/libdolphinprivate.so.4.10.1 /usr/lib64/libkfile.so.4.10.1 |
60 |
> /usr/lib64/libkcmutils.so.4.10.1 /usr/lib64/libkparts.so.4.10.1 -lknewstuff3 - |
61 |
> lphonon /usr/lib64/libnepomukwidgets.so.4.10.1 |
62 |
> /usr/lib64/libnepomukcore.so.4.10.1 /usr/lib64/libkio.so.5.10.1 |
63 |
> /usr/lib64/libsolid.so.4.10.1 /usr/lib64/libnepomukutils.so.4.10.1 |
64 |
> /usr/lib64/qt4/libQtNetwork.so /usr/lib64/qt4/libQtXml.so |
65 |
> /usr/lib64/libnepomuk.so.4.10.1 /usr/lib64/libkdeui.so.5.10.1 |
66 |
> /usr/lib64/qt4/libQtGui.so /usr/lib64/qt4/libQtSvg.so -lsoprano |
67 |
> /usr/lib64/libkactivities.so.6.1.0 /usr/lib64/libkdecore.so.5.10.1 |
68 |
> /usr/lib64/qt4/libQtCore.so -lpthread /usr/lib64/qt4/libQtDBus.so -Wl,- |
69 |
> rpath,/var/tmp/portage/kde- |
70 |
> base/dolphin-4.10.1/work/dolphin-4.10.1_build/lib:/usr/lib64/qt4: |
71 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: |
72 |
> warning: libicuuc.so.49, needed by /usr/lib64/qt4/libQtWebKit.so.4, not found |
73 |
> (try using -rpath or -rpath-link) |
74 |
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_isBoundary_49' |
75 |
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_previous_49' |
76 |
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_preceding_49' |
77 |
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_openRules_49' |
78 |
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_last_49' |
79 |
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_first_49' |
80 |
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_following_49' |
81 |
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_open_49' |
82 |
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_next_49' |
83 |
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_current_49' |
84 |
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_close_49' |
85 |
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_setText_49' |
86 |
> collect2: ld returned 1 exit status |
87 |
> make[2]: *** [dolphin/src/dolphin] Error 1 |
88 |
> make[2]: Leaving directory `/var/tmp/portage/kde- |
89 |
> base/dolphin-4.10.1/work/dolphin-4.10.1_build' |
90 |
> make[1]: *** [dolphin/src/CMakeFiles/dolphin.dir/all] Error 2 |
91 |
> make[1]: Leaving directory `/var/tmp/portage/kde- |
92 |
> base/dolphin-4.10.1/work/dolphin-4.10.1_build' |
93 |
> make: *** [all] Error 2 |
94 |
> * ERROR: kde-base/dolphin-4.10.1 failed (compile phase): |
95 |
> * emake failed |
96 |
> |
97 |
> ================================================== |
98 |
> |
99 |
> Time for a bug report or am I missing something? |
100 |
|
101 |
I have to admit, I'm a bit confused. I was going to suggest rebuilding |
102 |
QtWebKit, because of the undefined references and other warnings above, but I |
103 |
didn't rebuild it myself after upgrading icu, and various KDE software I have |
104 |
(that depends on QtWebKit, for example k3b and various games) still runs fine. |
105 |
|
106 |
I would try rebuilding QtWebKit anyway, though. |
107 |
|
108 |
For the future: assuming you are using stable portage, I would add |
109 |
"preserve-libs" to FEATURES in make.conf. That way you don't lose old |
110 |
libraries immediately after upgrades. For example, on my machine portage gave |
111 |
me an informative message after upgrading world, after which "emerge |
112 |
@preserved-rebuild" rebuilt (amongst others) webkit-gtk. |
113 |
|
114 |
I've been running with preserve-libs for several months now (not too long after |
115 |
it came to stable portage) and it's been working fine for me so far. I have |
116 |
needed "revdep-rebuild" much less since then. |
117 |
|
118 |
HTH |
119 |
-- |
120 |
Marc Joliet |
121 |
-- |
122 |
"People who think they know everything really annoy those of us who know we |
123 |
don't" - Bjarne Stroustrup |