Giter Club home page Giter Club logo

Comments (27)

spolu avatar spolu commented on May 24, 2024

Never had this issue and actually never heard of that library. Are you running chrome/chromium on this machine?

from breach_core.

amit5148 avatar amit5148 commented on May 24, 2024

Getting same error.
Chrome is running on same machine.

from breach_core.

freeride-pawel avatar freeride-pawel commented on May 24, 2024

Ubuntu 12.04 - same error. Chromium works.
Installed this lib from the source http://www.freedesktop.org/wiki/Software/HarfBuzz/
Then a new error shows up:
/home/user/Desktop/breach-v0.3.20-alpha.5-linux-x64/AUTO_UPDATE_BUNDLE/exo_browser/exo_browser: /lib/x86_64-linux-gnu/libudev.so.1: no version information available (required by /home/user/Desktop/breach-v0.3.20-alpha.5-linux-x64/AUTO_UPDATE_BUNDLE/exo_browser/exo_browser)
/home/user/Desktop/breach-v0.3.20-alpha.5-linux-x64/AUTO_UPDATE_BUNDLE/exo_browser/exo_browser: symbol lookup error: /home/user/Desktop/breach-v0.3.20-alpha.5-linux-x64/AUTO_UPDATE_BUNDLE/exo_browser/exo_browser: undefined symbol: g_type_class_adjust_private_offset

from breach_core.

hhirsch avatar hhirsch commented on May 24, 2024

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

After some installing some libraries from source. I will try to fix this later when I have more time.

from breach_core.

Rylius avatar Rylius commented on May 24, 2024

Linux Mint 14 (should be about the same as Ubuntu 12.04 library wise) and running Chrome.

breach-v0.3.20-alpha.5-linux-x64/__AUTO_UPDATE_BUNDLE__/exo_browser/exo_browser: error while loading shared libraries: libharfbuzz.so.0: cannot open shared object file: No such file or directory

Compiling the library from source interestingly enough didn't do anything (and it's not available in the repository), I had to manually copy the libharfbuzz.so.0 to __AUTO_UPDATE_BUNDLE__/exo_browser/lib. (maybe HarfBuzz isn't installing into the right path or something, haven't looked into that)

Afterwards it complains about missing libudev.so.1, which is not available in the repository either. Source is a part of systemd, and my setup seems to be too old to build that. libudev.so.0 is installed however.
Copying /lib/x86_64-linux-gnu/libudev.so.0 to __AUTO_UPDATE_BUNDLE__/exo_browser/lib/libudev.so.1 leads to the symbol lookup error undefined symbol: g_type_class_adjust_private_offset.

from breach_core.

thecotne avatar thecotne commented on May 24, 2024

+1

from breach_core.

jiripospisil avatar jiripospisil commented on May 24, 2024

Compiling the library from source interestingly enough didn't do anything (and it's not available in the repository), I had to manually copy the libharfbuzz.so.0 to AUTO_UPDATE_BUNDLE/exo_browser/lib. (maybe HarfBuzz isn't installing into the right path or something, haven't looked into that)

@Rylius You might need to run sudo ldconfig afterwards so that the linker can pick up on new libraries that are available.

from breach_core.

Rylius avatar Rylius commented on May 24, 2024

@mekishizufu Ah cheers, completely forgot about that one. Fixes libharfbuzz.so.0 not being found after compiling from source.

from breach_core.

 avatar commented on May 24, 2024

Yep! That fixes that error, but it seems that another one has come up for me.

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

Update to Ubuntu 12.10 does not fix it. Copying /lib/x86_64-linux-gnu/libudev.so.0 to __AUTO_UPDATE_BUNDLE__/exo_browser/lib/libudev.so.1 gives symbol lookup error undefined symbol: g_type_class_adjust_private_offset.

from breach_core.

didasy avatar didasy commented on May 24, 2024

+1 on Ubuntu 12.10

from breach_core.

arunn avatar arunn commented on May 24, 2024

+1 on Ubuntu 12.04

from breach_core.

francisbrito avatar francisbrito commented on May 24, 2024

+1 on Ubuntu 12.04.

Running Google Chrome.

from breach_core.

spolu avatar spolu commented on May 24, 2024

Hi guys. This is really annoying. Ideally I'd be curious to see if that would work if one of you would build breach / ExoBrowser from source on your machine. Anyone willing to give it a try?

from breach_core.

 avatar commented on May 24, 2024

@spolu, Done. Still the same error.

from breach_core.

spolu avatar spolu commented on May 24, 2024

So you get the same error running the content shell in chromium?

from breach_core.

 avatar commented on May 24, 2024

Yeah. I think I've built it correctly.

from breach_core.

spolu avatar spolu commented on May 24, 2024

So content shell runs but but not the ExoBrowser?

from breach_core.

 avatar commented on May 24, 2024

ExoBrowser doe not run.

from breach_core.

spolu avatar spolu commented on May 24, 2024

Can you provide the output of both the content_shell and the exo_browser executables ? Thanks!

from breach_core.

jiripospisil avatar jiripospisil commented on May 24, 2024

Hey guys, so I actually managed to get it running on Ubuntu 12.04 yesterday. The way I did that is definitely not something you should ever do. It involves a lot of version renaming and it just gotta explode on you at some point. It's just to get it running and look around. Anyway, the quick way to get it running is to use the libraries I compiled and uploaded.

cd /tmp
mkdir breach_testing && cd breach_testing
wget https://raw.githubusercontent.com/breach/releases/master/v0.3.20-alpha.5/breach-v0.3.20-alpha.5-linux-x64.tar.gz
tar xfz breach-v0.3.20-alpha.5-linux-x64.tar.gz && cd breach-v0.3.20-alpha.5-linux-x64
wget https://dl.dropboxusercontent.com/u/4695780/libs.tar.gz
tar xfz libs.tar.gz -C __AUTO_UPDATE_BUNDLE__/exo_browser/lib
cp /opt/google/chrome/chrome-sandbox .
sudo chown root:root chrome-sandbox
sudo chmod 4755 chrome-sandbox
CHROME_DEVEL_SANDBOX="./chrome-sandbox" ./breach

If you want to compile the libraries yourself, then compile&install libharfbuzz and head glib2 (to some temporary directory, you will probably need to install some dependencies as well). Copy the compiled libharfbuzz library into lib in the breach subdirectory. Do the same for glib2, you only need libglib-2.*.so.* and libgobject-2.*.so.*, that's where the missing symbols come from. Finally copy libudev from /usr/lib/x86_64-linux-gnu. Find the exo_browser executable, look at the output of ldd exo_browser and rename the libraries in lib to match. The recipe for chrome-sandbox is the same as above.

I suspect the steps may not work for everybody, I use this machine for native development all the time and may have some libraries installed you don't. And again, nobody should ever do it this way, you're on your own if things break.

from breach_core.

spolu avatar spolu commented on May 24, 2024

Awesome! We definitely have to make Breach work on Ubuntu 12.04 out of the box.
Or at least identify the package that need to be installed there.

from breach_core.

 avatar commented on May 24, 2024

Ubuntu 12.10, updated exobrowser to latest version.

[4765:4765:0717/123441:3482836470:FATAL:browser_main_loop.cc(172)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
./breach: line 6: 4765 Aborted (core dumped) $SRC_DIR/AUTO_UPDATE_BUNDLE/exo_browser/exo_browser --raw $SRC_DIR/AUTO_UPDATE_BUNDLE/breach_core

from breach_core.

spolu avatar spolu commented on May 24, 2024

Yep see #60

from breach_core.

 avatar commented on May 24, 2024

Awesome 😄 Got it running on Ubuntu 12.10. I was experiencing all the above errors before.

screenshot from 2014-07-17 13 31 50

from breach_core.

spolu avatar spolu commented on May 24, 2024

👍

from breach_core.

 avatar commented on May 24, 2024

@spolu @mekishizufu Thanks for the steps, it worked for me too. I am running a Elementary distro(Luna) based on Ubuntu 12.04.

from breach_core.

spolu avatar spolu commented on May 24, 2024

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

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

from breach_core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.