Washington-University / workbench

Connectome Workbench
http://www.humanconnectome.org/software/get-connectome-workbench.html
GNU General Public License v2.0
183 stars 61 forks source link

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

Open uckhill opened 1 year ago

uckhill commented 1 year ago

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 commented 1 year ago

Is your system missing libglib?

https://packages.ubuntu.com/search?mode=exactfilename&suite=xenial&section=all&arch=any&keywords=libgobject-2.0.so.0&searchon=contents

or the development version?

https://packages.ubuntu.com/search?keywords=libglib2.0-dev

From: uckhill @.> Date: Monday, September 11, 2023 at 9:09 AM To: Washington-University/workbench @.> Cc: Subscribed @.***> Subject: [Washington-University/workbench] cannot find -lgobject-2.0: No such file or directory (Issue #71)

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.

— Reply to this email directly, view it on GitHubhttps://github.com/Washington-University/workbench/issues/71, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AALSGXGIORBHTXUJCY3STWDXZ4LP7ANCNFSM6AAAAAA4TMWASU. You are receiving this because you are subscribed to this thread.Message ID: @.***>


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

uckhill commented 1 year ago

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 commented 1 year ago

I am not knowledgeable on Ubuntu so I probably should not be answering this question. Anyway, this might be relevant: https://askubuntu.com/questions/58664/cant-install-package-libglib2-0-dev-because-it-depends-on-some-unknown-version

There is a package for Connectome Workbench: https://packages.ubuntu.com/focal/connectome-workbench

What is the reason you are building Workbench from source?

From: uckhill @.> Date: Monday, September 11, 2023 at 10:42 AM To: Washington-University/workbench @.> Cc: Harwell, John @.>, Comment @.> Subject: Re: [Washington-University/workbench] cannot find -lgobject-2.0: No such file or directory (Issue #71)

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."

— Reply to this email directly, view it on GitHubhttps://github.com/Washington-University/workbench/issues/71#issuecomment-1714141212, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AALSGXGQB2NGAQK5PX4DXWLXZ4WMNANCNFSM6AAAAAA4TMWASU. You are receiving this because you commented.Message ID: @.***>


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

coalsont commented 1 year ago

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