Author Topic: BeerSmith2 is linked to an very outdated libwebkitgtk  (Read 357 times)

Offline brendanhoran

  • BeerSmith New Brewer
  • *
  • Posts: 2
  • Karma: 0
  • BeerSmith 2 Rocks!
BeerSmith2 is linked to an very outdated libwebkitgtk
« on: September 04, 2017, 11:10:44 PM »
Hi,

Thanks for putting in effort to nativity support Linux!

However it seems BeerSmith is built using a very old libwebkitgtk.
Code: [Select]
$ ldd beersmith2| grep libwebkit
libwebkitgtk-1.0.so.0 => /usr/lib64/libwebkitgtk-1.0.so.0 (0x00007fb60a576000)

A lot of distributions no longer ship libwebkitgtk-1. (Centos 7 included)

Attempting to trick the system and load the libwebkit2 as libwebkit-1  library will cause BeerSmith to segfault (expected)
Code: [Select]
$ ./beersmith2

(beersmith2:6197): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
[1]    6197 trace trap (core dumped)  ./beersmith2


It also seems you may still be doing build time linking to GTK-2 as well ? (unsure)
Would be a good idea to start the process to migrate to GTK3 if that is the case.

Simply asking users to install a old un-supported library is not really a solution.
For some distributions Gentoo and Manjaro for example, its impossible to install libwebkitgtk-1 via the supported package managers.

Centos may provide  libwebkitgtk-1 package via EPEL, but I am unsure.
Untested, but i assume your .spec will also fail on Centos 7.
Or create a RPM that will segfault as well.

Others have this issue with BeerSmith :
http://www.beersmith.com/forum/index.php/topic,16883.0.html

I would love to give the application a go, but this prevents me using it.

Thanks


Offline Ck27

  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 329
  • Karma: -11
  • BeerSmith's Unofficial Spam Police.... Do Not Spam
Re: BeerSmith2 is linked to an very outdated libwebkitgtk
« Reply #1 on: September 05, 2017, 11:12:05 AM »
Hi,

Thanks for putting in effort to nativity support Linux!

However it seems BeerSmith is built using a very old libwebkitgtk.
Code: [Select]
$ ldd beersmith2| grep libwebkit
libwebkitgtk-1.0.so.0 => /usr/lib64/libwebkitgtk-1.0.so.0 (0x00007fb60a576000)



A lot of distributions no longer ship libwebkitgtk-1. (Centos 7 included)

Attempting to trick the system and load the libwebkit2 as libwebkit-1  library will cause BeerSmith to segfault (expected)
Code: [Select]
$ ./beersmith2

(beersmith2:6197): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
[1]    6197 trace trap (core dumped)  ./beersmith2


It also seems you may still be doing build time linking to GTK-2 as well ? (unsure)
Would be a good idea to start the process to migrate to GTK3 if that is the case.

Simply asking users to install a old un-supported library is not really a solution.
For some distributions Gentoo and Manjaro for example, its impossible to install libwebkitgtk-1 via the supported package managers.

Centos may provide  libwebkitgtk-1 package via EPEL, but I am unsure.
Untested, but i assume your .spec will also fail on Centos 7.
Or create a RPM that will segfault as well.

Others have this issue with BeerSmith :
http://www.beersmith.com/forum/index.php/topic,16883.0.html

I would love to give the application a go, but this prevents me using it.

Thanks

Sorry to hear that you cant use beersmith, it really is a great program, we should hopefully see a update soon, ive been hearing talk about it for a while. Untill then I really don't know how you could fix it, been a while since I Ran Linux as a operating system.

Offline brendanhoran

  • BeerSmith New Brewer
  • *
  • Posts: 2
  • Karma: 0
  • BeerSmith 2 Rocks!
Re: BeerSmith2 is linked to an very outdated libwebkitgtk
« Reply #2 on: September 06, 2017, 08:52:13 PM »
Thanks for the reply Ck27.

I doubt BeerSmith would release the source code. Understandably.
So there is little I or others can do until a new version is released.

One possible horrible work around is to build all the dependency's locally and LD_PRELOAD them.
I am not a fan of that for many reasons.

I guess I will just keep an eye out for the new version.

thanks   

Offline Ck27

  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 329
  • Karma: -11
  • BeerSmith's Unofficial Spam Police.... Do Not Spam
Re: BeerSmith2 is linked to an very outdated libwebkitgtk
« Reply #3 on: September 06, 2017, 09:07:43 PM »
Thanks for the reply Ck27.

I doubt BeerSmith would release the source code. Understandably.
So there is little I or others can do until a new version is released.

One possible horrible work around is to build all the dependency's locally and LD_PRELOAD them.
I am not a fan of that for many reasons.

I guess I will just keep an eye out for the new version.

thanks

I haven't used Linux in years because I gave up because I cannot achieve the tasks I want on Linux no matter what its simply impossible. So I moved back to windows and mac os.

 

modification