2013-01-16 7 views
5

mam próby uruchomienia programu o nazwie GlimmerHMM, jednak gdy próbuję zadzwonić program otrzymuję ten błąd:błąd podczas ładowania biblioteki współdzielone libstdC++ so.5

./glimmerhmm_linux 
./glimmerhmm_linux: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory 

więc próbowałem pobierania i instalowania :

sudo apt-get install libstdc++5 
Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
The following packages were automatically installed and are no longer required: 
html2text libmail-sendmail-perl libsys-hostname-long-perl 
Use 'apt-get autoremove' to remove them. 
The following NEW packages will be installed: libstdc++5 
0 upgraded, 1 newly installed, 0 to remove and 183 not upgraded. 
Need to get 255 kB of archives. 
After this operation, 1,155 kB of additional disk space will be used. 
Get:1 http://archive.ubuntu.com/ubuntu/ precise/universe libstdc++5 amd64 1:3.3.6-25ubuntu1 [255 kB] 
Fetched 255 kB in 4s (54.0 kB/s)      
Selecting previously unselected package libstdc++5. 
(Reading database ... 176303 files and directories currently installed.) 
Unpacking libstdc++5 (from .../libstdc++5_1%3a3.3.6-25ubuntu1_amd64.deb) ... 
Setting up libstdc++5 (1:3.3.6-25ubuntu1) ... 
Processing triggers for libc-bin ... 
ldconfig deferred processing now taking place 

Ale nadal otrzymuję ten sam błąd podczas wywoływania programu. Z góry dziękuję!

+0

Czy znalazłeś libstdC++. So.5 w/usr/lib/now? –

+0

w/usr/lib/tam jest libstdC++., Więc, libstdC++. So.5, libstdC++. So.5.0.7, a następnie kilka plików libstdC++. So.6. – user1784467

Odpowiedz

8

Jest szansa, że ​​jeśli używasz programu wystarczająco starego, aby potrzebować libstdc++ v5, jest to również aplikacja 32-bitowa, więc nie może korzystać z zainstalowanego (64-bitowego) libstdc++5. Zainstaluj pakiet ia32-libs.

+0

Wydaje się, że udało się, dzięki. – user1784467

+0

To nie działa dla mnie. Ale wypróbowałem to, a następnie działało: sudo ln -s /usr/lib64/libstdc++.so.5/usr/lib/ –

+0

Udało mi się użyć 'sudo apt-get install libstdC++ 5.i386', aby uzyskać 32- wersja bitowa do '/ usr/lib/i386-linux-gnu/libstdC++. so.5' –

Powiązane problemy