• Welcome to the new forum! We upgraded our forum software with a host of new boards, capabilities and features. It is also more secure.
    Jump in and join the conversation! You can learn more about the upgrade and new features here.

BeerSmith2 is linked to an very outdated libwebkitgtk

brendanhoran

New Forum Member
Joined
Sep 5, 2017
Messages
2
Reaction score
0
Hi,

Thanks for putting in effort to nativity support Linux!

However it seems BeerSmith is built using a very old libwebkitgtk.
Code:
$ 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:
$ ./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

 
brendanhoran said:
Hi,

Thanks for putting in effort to nativity support Linux!

However it seems BeerSmith is built using a very old libwebkitgtk.
Code:
$ 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:
$ ./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.
 
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 
 
brendanhoran said:
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.
 
Back
Top