FS#57245 - Can't start gnome-control-center due to missing libenchant.so.2
Attached to Project:
Arch Linux
Opened by Adria Arrufat (swiftscythe) - Saturday, 27 January 2018, 12:44 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 27 January 2018, 14:57 GMT
Opened by Adria Arrufat (swiftscythe) - Saturday, 27 January 2018, 12:44 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 27 January 2018, 14:57 GMT
|
Details
Description:
After the enchant update, gnome-control-center does no longer start. simlinking /usr/lib/libenchant-2.so.2.2.1 to /usr/lib/libenchant.so.2 makes gnome-control-center start again. I've tried to rebuild the gnome-control-center package against the new enchant, but I get this error: /usr/bin/ld: warning: libenchant.so.2, needed by /usr/lib/libwebkit2gtk-4.0.so.37, not found (try using -rpath or -rpath-link) /usr/lib/libwebkit2gtk-4.0.so.37: undefined reference to `enchant_dict_suggest' /usr/lib/libwebkit2gtk-4.0.so.37: undefined reference to `enchant_dict_check' /usr/lib/libwebkit2gtk-4.0.so.37: undefined reference to `enchant_broker_free_dict' /usr/lib/libwebkit2gtk-4.0.so.37: undefined reference to `enchant_broker_dict_exists' /usr/lib/libwebkit2gtk-4.0.so.37: undefined reference to `enchant_dict_free_string_list' /usr/lib/libwebkit2gtk-4.0.so.37: undefined reference to `enchant_broker_request_dict' /usr/lib/libwebkit2gtk-4.0.so.37: undefined reference to `enchant_broker_init' /usr/lib/libwebkit2gtk-4.0.so.37: undefined reference to `enchant_dict_describe' /usr/lib/libwebkit2gtk-4.0.so.37: undefined reference to `enchant_dict_add' /usr/lib/libwebkit2gtk-4.0.so.37: undefined reference to `enchant_dict_add_to_session' /usr/lib/libwebkit2gtk-4.0.so.37: undefined reference to `enchant_broker_list_dicts' /usr/lib/libwebkit2gtk-4.0.so.37: undefined reference to `enchant_broker_free' collect2: error: ld returned 1 exit status So it looks like webkit2gtk needs to be rebuilt against it too? Additional info: * enchant-2.2.1-1 * gnome-control-center-3.26.2+14+g5ac6a0da6-1 * webkit2gtk-2.18.6-1 Thanks in advance. Adria |
This task depends upon
Edit:
To be clear if the symlink is not included in the package then pacman should should call ldconfig to create it which happened on this system.
Can you check your systems pacman.log to see if it records an error from ldconfig for that transaction?
Edit2:
Typographical error in lib name should be libenchant-2.so.2 not libenchant.so.2 please disregard the above.
$ pacman -Qo /usr/lib/libenchant-2.so.2
/usr/lib/libenchant-2.so.2 is owned by enchant 2.2.1-1
swiftscythe, webkit2gtk was already rebuilt is links to the correct lib. Make sure your system is completely up to date and all of your AUR/foreign software has been rebuilt if it needs it. If you still have trouble, you can use lddtree from the pax-utils package to help you track down where the problem actually lies. Making a symlink was a horrible idea.