Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: glib-2.22 gthread-2.0 is required to compile QEMU #41

Closed
gbiagomba opened this issue Mar 16, 2018 · 11 comments
Closed

ERROR: glib-2.22 gthread-2.0 is required to compile QEMU #41

gbiagomba opened this issue Mar 16, 2018 · 11 comments
Labels

Comments

@gbiagomba
Copy link

@gbiagomba gbiagomba commented Mar 16, 2018

Hello,

I keep getting the noted error when running the build.sh but I have qemu installed and i can seem to locate those missing libraries.

Below is the screenshot to the error am getting.

image

@xabiugarte

This comment has been minimized.

Copy link
Collaborator

@xabiugarte xabiugarte commented Mar 17, 2018

Hi,

it looks like you have some unmet library dependencies. Please make sure you have the following packages:

(on a Debian / Ubuntu based distribution:)

apt-get install build-essential zlib1g-dev pkg-config libglib2.0-dev binutils-dev libboost-all-dev autoconf libtool libssl-dev libpixman-1-dev libpython-dev python-pip python-capstone virtualenv

For a complete Build&Install guide, you can refer to this documentation: https://pyrebox.readthedocs.io/en/latest/quickstart.html#building-pyrebox

Hope this helps,

@xabiugarte

This comment has been minimized.

Copy link
Collaborator

@xabiugarte xabiugarte commented Mar 18, 2018

Hi,

I am closing this issue. Please re-open it if you have any problems.

Regards,

Xabier

@gbiagomba

This comment has been minimized.

Copy link
Author

@gbiagomba gbiagomba commented May 16, 2018

I am still having dependencies issues still but i will troubleshoot this further

@xabiugarte

This comment has been minimized.

Copy link
Collaborator

@xabiugarte xabiugarte commented May 17, 2018

If I understand correctly, you had problems with glib/gthread. Could you run the following command and paste here the output?

$ dpkg -l | grep "libglib"

@gbiagomba

This comment has been minimized.

Copy link
Author

@gbiagomba gbiagomba commented Nov 9, 2018

ii libglib-object-introspection-perl 0.046-1+b1 amd64 Perl bindings for gobject-introspection libraries
ii libglib-perl 3:1.328-1+b1 amd64 interface to the GLib and GObject libraries
ii libglib2.0-0:amd64 2.58.1-2 amd64 GLib library of C routines
ii libglib2.0-bin 2.58.1-2 amd64 Programs for the GLib library
ii libglib2.0-data 2.58.1-2 all Common files for GLib library
ii libglibmm-2.4-1v5:amd64 2.58.0-1 amd64 C++ wrapper for the GLib toolkit (shared libraries)

@xabiugarte

This comment has been minimized.

Copy link
Collaborator

@xabiugarte xabiugarte commented Nov 12, 2018

Hi gbiagomba,

It seems you are missing the development libraries for glib:

please, make sure you install all the dependencies:

apt-get install build-essential zlib1g-dev pkg-config libglib2.0-dev binutils-dev libboost-all-dev autoconf libtool libssl-dev libpixman-1-dev libpython-dev python-pip python-capstone virtualenv

Note that this list of packages includes libglib2.0-dev, which seems to be your unmet dependency.

Thanks,

@gbiagomba

This comment has been minimized.

Copy link
Author

@gbiagomba gbiagomba commented Jan 11, 2019

@xabiugarte That seems to have fixed it thank you

@EnderNightLord-ChromeBook

This comment has been minimized.

Copy link

@EnderNightLord-ChromeBook EnderNightLord-ChromeBook commented May 12, 2019

yes thanks for that. It helped me too.

@walaa-a

This comment has been minimized.

Copy link

@walaa-a walaa-a commented Oct 14, 2019

I am running into the same issue on a Mac. I tried using brew install build-essential ..... but I get an error:
Error: No available formula with the name "build-essential"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.

@xabiugarte

This comment has been minimized.

Copy link
Collaborator

@xabiugarte xabiugarte commented Oct 15, 2019

Hi,

At the moment PyREBox has not yet been tested on OSX. It has been successfully used and compiled in different GNU/Linux distributions, docker (which can run on OSX, Windows and Linux), and the Linux subsystem in Windows 10.

Anyway, QEMU can be compiled in OSX, so, it should be possible to compile PyREBox too. Here you can find some documentation about QEMU's dependencies, and process to compile it: https://wiki.qemu.org/Hosts/Mac

If you go forward and compile it for OSX, please do not hesitate to open a pull request if any modification on the project was needed.

Thanks!

@Flyour

This comment has been minimized.

Copy link

@Flyour Flyour commented Oct 19, 2019

Thanks, it help me too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.