FS#18269 - [shaman] got library linking errors

Attached to Project: Community Packages
Opened by Javier (javuchi) - Wednesday, 10 February 2010, 08:34 GMT
Last edited by Allan McRae (Allan) - Friday, 12 February 2010, 02:55 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

It seems that shaman needs to be recompiled with the new updated qt libraries:

$ shaman
shaman: error while loading shared libraries: libpolkit-qt-core.so.0: cannot open shared object file: No such file or directory

$ ldd /usr/bin/shaman
...
libpolkit-qt-core.so.0 => not found
libpolkit-qt-gui.so.0 => not found
...

$ sudo pacman -Ql polkit-qt
...
polkit-qt /usr/lib/libpolkit-qt-agent-1.so
polkit-qt /usr/lib/libpolkit-qt-agent-1.so.0
polkit-qt /usr/lib/libpolkit-qt-agent-1.so.0.95.1
polkit-qt /usr/lib/libpolkit-qt-core-1.so
polkit-qt /usr/lib/libpolkit-qt-core-1.so.0
polkit-qt /usr/lib/libpolkit-qt-core-1.so.0.95.1
polkit-qt /usr/lib/libpolkit-qt-gui-1.so
polkit-qt /usr/lib/libpolkit-qt-gui-1.so.0
polkit-qt /usr/lib/libpolkit-qt-gui-1.so.0.95.1
...
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 12 February 2010, 02:55 GMT
Reason for closing:  Won't fix
Additional comments about closing:  shaman dropped from the repos
Comment by Thomas Dziedzic (tomd123) - Wednesday, 10 February 2010, 15:26 GMT
Comment by Gerardo Exequiel Pozzi (djgera) - Wednesday, 10 February 2010, 16:28 GMT
also applies to aqpm

community/aqpm-1.3.3.2-1:NEEDED libpolkit-qt-core.so.0
community/shaman-1.2.1-1:NEEDED libpolkit-qt-core.so.0
community/shaman-1.2.1-1:NEEDED libpolkit-qt-gui.so.0

new SONAME are libpolkit-qt-core-1.so.0 and libpolkit-qt-gui-1.so.0
Comment by fhr (fhr) - Wednesday, 10 February 2010, 21:59 GMT
It looks like libpolkit-qt-*-1-so.0 exist, but not libpolkit-qt-*-so.0, so I tried to create symbolic links:
ln -s /usr/lib/libpolkit-qt-gui-1.so.0 /usr/lib/libpolkit-qt-gui.so.0
etc.

Then, when I run shaman:

Translations are enabled.
Loading translations from "/usr/share/shaman/translations/"
Constructing Backend singleton
QMap((31, 65534)(32, 65533)(34, 65535)(35, 65532)(36, 65531))
reloading
Handling libalpm in a separate Thread
Initializing
"community" ---> "http://mir.archlinux.fr/community/os/i686"
"core" ---> "http://mir.archlinux.fr/core/os/i686"
"extra" ---> "http://mir.archlinux.fr/extra/os/i686"
"testing" ---> "http://mir.archlinux.fr/testing/os/i686"
"/home/fhr/.config/shaman/shaman.conf"
>>
>> Shaman 1.2.1
>> Compiled against Qt 4.5.2
>> Running with Qt 4.6.1
>>
>> Our website is @ http://shaman.iskrembilen.com/ , join in!!
>> You can also find a bugtracker in the website, please use it.
>>
>> Have you found a bug? Help us solving it faster! Please read
>> http://shaman.iskrembilen.com/trac/wiki/Debugging_Shaman
>> and please follow these steps to report bugs effectively!
>>
>> Starting Up Shaman...

User agent is: "shaman/1.2.1 (Linux i686) aqpm/1.3.3.2"
Shaman registered on the System Bus as ":1.32"
Service org.archlinux.shaman successfully exported on the System Bus.
shaman: symbol lookup error: shaman: undefined symbol: _ZN8PolkitQt6ActionC1ERK7QStringP7QObject
Comment by Gerardo Exequiel Pozzi (djgera) - Wednesday, 10 February 2010, 22:04 GMT
ln -s /usr/lib/libpolkit-qt-gui-1.so.0 /usr/lib/libpolkit-qt-gui.so.0
shaman: symbol lookup error: shaman: undefined symbol: _ZN8PolkitQt6ActionC1ERK7QStringP7QObject

of course!, this is not a solution. Wait for new package or rebuild yourself (if it is compatible then builds fine) ;)

Comment by Ionut Biru (wonder) - Thursday, 11 February 2010, 02:12 GMT
@fhr if you can't wait, use abs and rebuild against the new qt
Comment by fhr (fhr) - Thursday, 11 February 2010, 08:38 GMT
@djgera : I knew it would probably not work, that was just a try to see if it was "only" a naming error.

@wonder : no emergency, just playing with Arch and KDE4.4 in a virtual machine (but it will probably become my real system soon) :)

Thanks for you help !
Comment by SkyBon (SkyBon) - Thursday, 11 February 2010, 13:36 GMT
Got the same error after upgrading Qt.

Loading...