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

(c)sysdig binaries bundled in 0.1.42 not working on Ubuntu 14.04 #12

Open
thomasgl-orange opened this issue Sep 28, 2017 · 2 comments
Open

Comments

@thomasgl-orange
Copy link

Hi,

First, congrats for releasing sysdig-inspect, it looks amazing!

Small bug report (for sysdig-inspect_0.1.42_amd64.deb): on Ubuntu 14.04, the bundled binaries of sysdig and csysdig don't work, because of that:

$ /usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/sysdig --help
/usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/sysdig: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/sysdig)
/usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/sysdig: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/sysdig)

$ /usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/csysdig --help
/usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/csysdig: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/csysdig)
/usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/csysdig: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/csysdig)
/usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/csysdig: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/csysdig)

Context:

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.5 LTS
Release:	14.04
Codename:	trusty

$ dpkg -l | grep sysdig
ii  sysdig                                                0.18.0                                                            amd64        sysdig, a system-level exploration and troubleshooting tool
ii  sysdig-inspect                                        0.1.42-1                                                          amd64        Sysdig Inspect

$ apt-cache policy sysdig
sysdig:
  Installé : 0.18.0
  Candidat : 0.18.0
 Table de version :
 *** 0.18.0 0
        500 http://download.draios.com/stable/deb/ stable-amd64/ Packages
        100 /var/lib/dpkg/status
<snip>

As a workaround, I've symlinked /usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/csysdig to /usr/bin/csysdig (and same for sysdig), and so far it seems to work. I hope at some point you will publish sysdig-inspect on your apt repository, with a dependency on sysdig to replace bundled binaries.

@davideschiera
Copy link
Contributor

Hey @thomasgl-orange, thanks for reporting the issue!

We actually tested the app with the latest (unstable) Ubuntu, and on a clean installation sysdig was working fine. I wonder if the dependency is now available on the latest stable Ubuntu at least (16.04). Is the upgrade to 16.04 an option for you?

Anyway, you're right, ultimately we'd love to publish Sysdig Inspect on the apt repository. Hopefully this will happen soon ;-)

@thomasgl-orange
Copy link
Author

I wonder if the dependency is now available on the latest stable Ubuntu at least (16.04).

Yes, it seems fine with the libc from Ubuntu 16.04:

$ docker run --rm -it -v /usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig:/sysdig ubuntu:16.04 /sysdig/csysdig --version
sysdig version 0.1.1dev

The same would fail in a 14.04 container:

$ docker run --rm -it -v /usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig:/sysdig ubuntu:14.04 /sysdig/csysdig --version
/sysdig/csysdig: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /sysdig/csysdig)
/sysdig/csysdig: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /sysdig/csysdig)
/sysdig/csysdig: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /sysdig/csysdig)

Is the upgrade to 16.04 an option for you?

Not short term, but it's OK, the workaround using binaries from the sysdig-0.18.0 package seems to work so far.

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

No branches or pull requests

2 participants