Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Doug Newgard (Scimmia)
Saturday, 27 January 2018, 14:57 GMT
Reason for closing:  Not a bug
Comment by loqs (loqs) - Saturday, 27 January 2018, 13:37 GMT
Should the symlink /usr/lib/libenchant.so.2 not either be included in the enchant package or automatically created by ldconfig which is called from pacman when the package is installed.
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.
Comment by loqs (loqs) - Saturday, 27 January 2018, 14:46 GMT
Scratch the above the symlink is supplied by the enchant package
$ pacman -Qo /usr/lib/libenchant-2.so.2
/usr/lib/libenchant-2.so.2 is owned by enchant 2.2.1-1
Comment by Doug Newgard (Scimmia) - Saturday, 27 January 2018, 14:54 GMT
loqs, the sonames are different, ldconfig should not be making a symlink.

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.

Loading...