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

cannot find -lgobject-2.0: No such file or directory #71

Open
uckhill opened this issue Sep 11, 2023 · 4 comments
Open

cannot find -lgobject-2.0: No such file or directory #71

uckhill opened this issue Sep 11, 2023 · 4 comments

Comments

@uckhill
Copy link

uckhill commented Sep 11, 2023

Hello,

I am trying to make the Workbench files on Ubuntu 20.04. When running the 'make install' command I am met with the error:

"/usr/bin/ld: cannot find -lgobject-2.0: No such file or directory"

Could you please provide assistance?

Thank you.

@johnvelab
Copy link

johnvelab commented Sep 11, 2023 via email

@uckhill
Copy link
Author

uckhill commented Sep 11, 2023

I tried to install them. When installing libglib-2.0 I am met with the error:

"E: Unable to locate package libglib-2.0
E: Couldn't find any package by glob 'libglib-2.0'
E: Couldn't find any package by regex 'libglib-2.0'"

When installing libglib2.0-dev, I am met with the error:

"Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libglib2.0-dev : Depends: libmount-dev (>= 2.28) but it is not going to be installed
Depends: libpcre3-dev (>= 1:8.31) but it is not going to be installed
Depends: libselinux1-dev but it is not going to be installed
Depends: zlib1g-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages."

@johnvelab
Copy link

johnvelab commented Sep 11, 2023 via email

@coalsont
Copy link
Member

you have held broken packages

Some package you seem to have pinned is preventing the zlib headers from being a candidate for installation, you should unpin and fix broken packages with synaptic or similar, and then try installing libglib2.0-dev again. This might help: https://askubuntu.com/questions/223237/unable-to-correct-problems-you-have-held-broken-packages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants