spolu / breach_core

A Browser written in JS. Free. Modular. Hackable.
https://breach.github.io/breach_core/
MIT License
5.39k stars 411 forks source link

Cannot run breach: undefined symbol: g_type_class_adjust_private_offset #137

Closed meznaric closed 10 years ago

meznaric commented 10 years ago

I'm running Elementary OS which is based on Ubuntu 12.04. After I fixed missing dependency problems libharfbuzz.so.0 and libudev.so.1 I get this error when running ./breach

./__AUTO_UPDATE_BUNDLE__/exo_browser/exo_browser: symbol lookup error:
./__AUTO_UPDATE_BUNDLE__/exo_browser/exo_browser: undefined symbol: g_type_class_adjust_private_offset

I tried https://github.com/breach/breach_core/issues/60#issuecomment-48656278 but it didn't help.

spolu commented 10 years ago

Which version of glib do you have installed?

user12312 commented 10 years ago

I am having the same issue on linux mint 15 Olivia.

meznaric commented 10 years ago

I have glib-2.0 in my system.

spolu commented 10 years ago

Do you guys would like to go through the process of rebuilding it from Sources... takes some time but could be instructive as what is the cause for that error: https://github.com/breach/breach_core/wiki/Building-Breach-from-Source

triclops200 commented 10 years ago

It is an glib issue, I had it last friday. The fix for me was upgrading to debian unstable which had a more modern version of glib. You may wish to try and link to an older version to support systems which use legacy glib.

spolu commented 10 years ago

Yep the build was done on Ubuntu 14.04 and should probably be done on a 12.04

user12312 commented 10 years ago

Are there any beginner step by step instructions to get a build of this working? Seeing as the distribution on the website only works for some users.

spolu commented 10 years ago

Yes. Though it's quite long: https://github.com/breach/breach_core/wiki/Building-Breach-from-Source and from there see https://github.com/breach/exo_browser/wiki/Building-the-ExoBrowser

user12312 commented 10 years ago

Thank you, I have seen those but to a non beginner they appear so vague. A Quick start with simple steps for non developers would be useful I think. That way people running 12.04 which is an LTS (long term support) distro and others based on it can get up and running and testing and helping to contribute to the community.

spolu commented 10 years ago

Hi guys, I've made a build with Ubuntu 12.04 of the exobrowser. Can you try running it and tell me it that solves these problems: https://github.com/breach/releases/tree/master/exo_browser/v0.6.1916

triclops200 commented 10 years ago

I can't comment about outdated systems because I'm on gentoo, but it has another bug: missing libudev.so.0. On Gentoo, at least, it's just libudev.so. It works once that bug's fixed, but I do have an up to date glib.

user12312 commented 10 years ago

I can try it if you tell me where to place it. thanks!

On Wed, Jul 16, 2014 at 4:01 PM, Stanislas Polu notifications@github.com wrote:

Hi guys, I've made a build with Ubuntu 12.04 of the exobrowser. Can you try running it and tell me it that solves these problems: https://github.com/breach/releases/tree/master/exo_browser/v0.6.1916

— Reply to this email directly or view it on GitHub https://github.com/breach/breach_core/issues/137#issuecomment-49226480.

spolu commented 10 years ago

@user12312 you can try running it right away... see if it solves the pb

user12312 commented 10 years ago

sorry am a beginner which file do I replace in the main download?

spolu commented 10 years ago

You don't need to replace anything you can just download the exobrowser .tar.gz, unpack it and run the exobrowser executable in it

user12312 commented 10 years ago

./exo_browser: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

meznaric commented 10 years ago

@spolu It's working with build you linked, but I had to manually link libudev.so.1 to libudev.so.0. And then I had to run it with --disable-setuid-sandbox

spolu commented 10 years ago

This should be solved with the release of v0.3.22-alpha.6 Linux x64: http://bit.ly/1p8Jkmc

spolu commented 10 years ago

Make sure to check the README in the tarball or this page: https://github.com/breach/breach_core/wiki/Running-Breach-on-Linux