infinit / infinit

The Infinit policy-based software-defined storage platform.

Home Page:http://infinit.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

infinit missing SOs v0.7.3 on Ubuntu 14.04

AbuAbbaad opened this issue · comments

OS Details:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS"

I tried to install infinit v0.7.3 from repo "https://debian.infinit.sh/ trusty main", Installation went fine but during runtime, I can see there were lot of dependent SOs not loaded...

root@CloudSet-Service-VM-10:/opt/infinit/bin# ldd -v infinit
./infinit: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by ./infinit) ./infinit: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by /opt/infinit/bin/./../lib/libinfinit.so)
./infinit: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by /opt/infinit/bin/./../lib/libaws.so) ./infinit: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by /opt/infinit/bin/./../lib/libcryptography.so)
./infinit: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by /opt/infinit/bin/./../lib/libelle.so) ./infinit: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.8' not found (required by /opt/infinit/bin/./../lib/libelle.so)
./infinit: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by /opt/infinit/bin/./../lib/libreactor.so) ./infinit: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.8' not found (required by /opt/infinit/bin/./../lib/libcrashreporter.so)
./infinit: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by /opt/infinit/bin/./../lib/libboost_program_options.so.1.60.0) ./infinit: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.8' not found (required by /opt/infinit/bin/./../lib/libboost_filesystem.so.1.60.0)
./infinit: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by /opt/infinit/bin/./../lib/libboost_filesystem.so.1.60.0) ./infinit: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.8' not found (required by /opt/infinit/bin/./../lib/libboost_regex.so.1.60.0)
./infinit: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by /opt/infinit/bin/./../lib/libboost_regex.so.1.60.0) ./infinit: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by /opt/infinit/bin/./../lib/libathena.so)

Please let us know if there are any featured steps required to fix the above.

Thanks,
Syed

Maybe you are using a different architecture (32 or 64 bit) from the binaries installed. I don't know if Infinit is designed exclusively for 64bit but, if this is the case and you are using a 32 bit version of Ubuntu, this can be the reason for your issue.

(waiting the devs for more details)

Thanks for your comments, I am using 64 bit OS
uname -a >>
3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Symbol: GLIBCXX_3.4.20 was not found in the bundled stdc++ library:
root@CloudSet-Service-VM-10:/usr/local/bin# strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_DEBUG_MESSAGE_LENGTH

apt list | grep gcc >>
lib64gcc-4.7-dev/trusty 4.7.3-12ubuntu1 i386
lib64gcc-4.8-dev/trusty 4.8.5-2ubuntu114.04.1 i386
lib64gcc-4.8-dev-powerpc-cross/trusty-updates 4.8.4-2ubuntu1
14.04.1cross0.11.2 all
lib64gcc-4.9-dev/trusty 4.9.4-2ubuntu114.04.1 i386
lib64gcc-5-dev/trusty 5.4.1-2ubuntu1
14.04 i386
lib64gcc-6-dev/trusty 6.2.0-3ubuntu1114.04 i386
lib64gcc1/trusty 1:6.2.0-3ubuntu11
14.04 i386
lib64gcc1-dbg/trusty 1:6.2.0-3ubuntu1114.04 i386
lib64gcc1-dbg-powerpc-cross/trusty-updates 1:4.8.4-2ubuntu1
14.04.1cross0.11.2 all
lib64gcc1-powerpc-cross/trusty-updates 1:4.8.4-2ubuntu114.04.1cross0.11.2 all
libgcc-4.7-dev/trusty,now 4.7.3-12ubuntu1 amd64 [installed,automatic]
libgcc-4.7-dev-armel-cross/trusty 4.7.3-12ubuntu1cross1.85 all
libgcc-4.7-dev-armhf-cross/trusty 4.7.3-11ubuntu1cross1.85 all
libgcc-4.8-dev/trusty 4.8.5-2ubuntu1
14.04.1 amd64 [upgradable from: 4.8.4-2ubuntu114.04.3]
libgcc-4.8-dev-arm64-cross/trusty-updates 4.8.4-2ubuntu1
14.04.1cross0.11.2 all
libgcc-4.8-dev-armhf-cross/trusty-updates 4.8.4-2ubuntu114.04.1cross0.11.2 all
libgcc-4.8-dev-powerpc-cross/trusty-updates 4.8.4-2ubuntu1
14.04.1cross0.11.2 all
libgcc-4.8-dev-ppc64el-cross/trusty-updates 4.8.4-2ubuntu114.04.1cross0.4.2 all
libgcc-4.9-dev/trusty,now 4.9.4-2ubuntu1
14.04.1 amd64 [installed,automatic]
libgcc-5-dev/trusty 5.4.1-2ubuntu114.04 amd64
libgcc-6-dev/trusty 6.2.0-3ubuntu11
14.04 amd64

Will wait for further inputs on the same.

Hi!

In fact, it doesn't work because Infinit is built on the current Debian stable (Jessie). Therefore Infinit requires a glibcxx at least as recent.

At first we chose Wheezy, the Debian current oldstable but we changed to Jessie (probably for bad reasons (LTS ends in 2018 for 64-bit)).

Therefore, Infinit won't work unless you update your glibcxx. Ubuntu 14.04.5 support being drop next month, this issue may become irrelevant soon. I'll try to "downgrade" our builder to Wheezy in the weeks to come, depending on how much time I have.

For now, I don't have a better answer...

@Dimrok , you dont need to downgrade anything.

@AbuAbbaad , you can upgrade your glibcxx. First, try to install more updated standard C lib:

sudo apt-get install libstdc++6

And try to run Infinit. If it doesn't solve the problem, use this ppa:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test 
sudo apt-get update
sudo apt-get upgrade

And Infinit should works fine.

@paulocoghi Thanks for the response.

I had already tried to upgrade my glibcxx libraries from the ppa mentioned, It already latest.
ii libstdc++-4.8-dev:amd64 4.8.4-2ubuntu1~14.04.3 amd64 GNU Standard C++ Library v3 (development files)

Still seeing the missing SOs when I linker output.

Thanks,
Syed

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install libstdc++-4.9-dev

worked for me

I forgot to close the issue.

Infinit only works for Jessie and newer versions of debian.

You can try @paulocoghi's answer, but no guarantee apparently.

Edit: I closed this issue hastily.