Items with no label
3335 Discussions

Ubuntu 18.04 build issue with libgtk-3-dev & libssl-dev

idata
Employee
3,158 Views

Hi,

I'm seeing the following problems when building librealsense-2.14.0 on a fresh Ubuntu 18 machine:

~/Src/RealSense$ uname -r

4.15.0-29-generic

Errors:

~/Src/RealSense$ sudo apt install libgtk-3-dev

Reading package lists... Done

Building dependency tree

Reading state information... Done

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:

libgtk-3-dev : Depends: libgdk-pixbuf2.0-dev (>= 2.30.0) but it is not going to be installed

Depends: libpango1.0-dev (>= 1.40.5) but it is not going to be installed

Depends: libcairo2-dev (>= 1.14.0) but it is not going to be installed

Depends: libfontconfig1-dev but it is not going to be installed

E: Unable to correct problems, you have held broken packages.

And:

~/Src/RealSense$ sudo apt install libssl-dev

Reading package lists... Done

Building dependency tree

Reading state information... Done

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:

libssl-dev : Depends: libssl1.1 (= 1.1.0g-2ubuntu4) but 1.1.0g-2ubuntu4.1 is to be installed

Recommends: libssl-doc but it is not going to be installed

Any advice greatly appreciated!! Thanks!

0 Kudos
8 Replies
MartyG
Honored Contributor III
1,400 Views

It seems to be a Linux error rather than a Librealsense-specific one. The guide linked to below looks useful.

https://appuals.com/fix-unable-correct-problems-held-broken-packages/ Fix: Unable to Correct Problems 'You have Held Broken Packages' - Appuals.com

0 Kudos
idata
Employee
1,400 Views

Hi Marty! Thanks for the link. My concern is that, given the problem with Ubuntu, the build and installation instructions are now in error.

An updated build and installation instructions would be most appreciated that accounts for this problem.

Thanks!

0 Kudos
MartyG
Honored Contributor III
1,400 Views

I've seen enough successful builds of 2.14.0 to make me think that the issue is likely not in the build instructions. The best place to ask this question may be the Librealsense GitHub page, as they deal with these kind of installation questions all the time. You can do so by visiting the link below and clicking the 'New Issue' button.

https://github.com/IntelRealSense/librealsense/issues Issues · IntelRealSense/librealsense · GitHub

0 Kudos
idata
Employee
1,400 Views

Posted to GITHUB per MartyG's suggestion, here should anyone else have this problem:

https://github.com/IntelRealSense/librealsense/issues/2134 Ubuntu 18.04 build issue with libgtk-3-dev & libssl-dev on D435 libRS 2.14.0 · Issue # 2134 · IntelRealSense/librealsense…

I'll note that we have other Ubuntu 18.04 machines (they were built a few weeks back and are running libRS 2.11), and this problem occurred this time when we built our most recent machine (from a fresh/blank drive). It's probably a timing issue where Ubuntu is in a bad state, but, nevertheless, it is presenting a problem for us to move forward with additional developer machines.

0 Kudos
MartyG
Honored Contributor III
1,400 Views
0 Kudos
idata
Employee
1,400 Views

Hello SMM77,

We noticed that your ticket on GitHub has been updated with the following suggested solution:

It seem that the distribution has some missing/broken packages.

You can run dpkg -l | grep ^..r to list those, and then use Ubuntu tools to rectify it

sudo apt update --fix-missing and

sudo apt install -f

Please let us know if this solved your issue.

Regards,

 

Jesus G.

 

Intel Customer Support
0 Kudos
idata
Employee
1,400 Views

Hello SMM77,

 

 

Could you please let us know if you require further assistance with this query?

 

 

Thank you in advance,

 

Eliza
0 Kudos
idata
Employee
1,400 Views

This issue is closed. Thank you very much for your help!

0 Kudos
Reply