curiousdannii-testing / inform7-imported-bugs

0 stars 0 forks source link

[I7-2008] [Mantis 2044] Fails to launch #76

Closed curiousdannii-testing closed 2 years ago

curiousdannii-testing commented 2 years ago

Reported by : perturbadactyl

Description :

After installation via RPM the application crashes at boot.

Error message:

gnome-inform7: error while loading shared libraries: libwebkitgtk-1.0.so.0: cannot open shared object file: No such file or directory

Steps to reproduce :


Additional information :

imported from: [Mantis 2044] Fails to launch
  • status: Closed
  • resolution: Duplicate
  • resolved: 2022-04-07T05:02:31+10:00
  • imported: 2022/01/10
curiousdannii-testing commented 2 years ago

557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:

Comment by pchimento :
Indeed, this will be fixed with #1997. Sorry it has been taking so long.

curiousdannii-testing commented 2 years ago

557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:

Comment by picobyte :
same here:
Linux Z 4.14.5-1-ARCH #1 SMP PREEMPT Sun Dec 10 14:50:30 UTC 2017 x86_64 GNU/Linux

Building from source (AUR repository) also fails. Errors start with

/usr/bin/ld: warning: libenchant.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.1/../../../../lib/libwebkitgtk-1.0.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicui18n.so.59, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.1/../../../../lib/libwebkitgtk-1.0.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicuuc.so.59, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.1/../../../../lib/libwebkitgtk-1.0.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.1/../../../../lib/libwebkitgtk-1.0.so: undefined reference to `usearch_setText_59'
(more undefined references follow)

I do not seem to have libenchant.so.1 nor the other two, but I do have

/usr/lib/libenchant.so.2
/usr/lib/libicui18n.so.60
/usr/lib/libicuuc.so.60

Is this the issue?

curiousdannii-testing commented 2 years ago

557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:

Comment by patrick :
The application fails to launch because older versions of WebKit have been removed from Fedora 27's software repositories.

For more information about this see:
https://bugzilla.redhat.com/show_bug.cgi?id=1375784
https://blogs.gnome.org/mcatanzaro/2017/08/06/endgame-for-webkit-woes/

If you installed gnome-inform7 via dnf or one of its graphical frontends you may have noticed it pulled in some odd dependencies, including GnuCash. This is because the latter program also still depends on the older WebKit libraries, which are bundled in the GnuCash package. This affords us an easy way to get around the lack of the legacy libraries in Fedora:

gnome-inform7 needs two libraries installed in /lib64/gnucash to be linked or copied to /lib64. They are:

libwebkitgtk-1.0.so.0
libjavascriptcoregtk-1.0.so.0

If you do this the application should startup and function as expected. Obviously this is a stopgap measure until gnome-inform7 is built against a newer version of WebKit. The developer is aware that this needs to happen; see:

http://inform7.com/mantis/view.php?id=1997

curiousdannii-testing commented 2 years ago

70121:fb841d86-738c-48d6-abc7-7081ea9ee286:

This can be closed, the upcoming version doesn’t use this old WebKit anymore.