You are not logged in.

#1 2015-07-25 14:09:38

TheChosenOne
Member
Registered: 2012-09-27
Posts: 130

libstdc++.so.3: cannot open shared object file: No such file

Hi

I'm trying to find this version of libstdc.
These are the available versions according to yaourt:
extra/libstdc++5 3.3.6-5 [installed]
    GNU Standard C++ library version 3
multilib/lib32-libstdc++5 3.3.6-7 [installed]
    Legacy GNU Standard C++ library version 3 (32 bit)
aur/arm-wince-cegcc-libstdcppdll 0.59.1-1 (0)
    CE GCC bundle - cross compilation tools for WinCE
aur/lib32-libstdc++296 2.96.126-2 (0)
    Standard C++ libraries for Red Hat 7.3 backwards compatibility compiler. With additions from OpenSUSE 13.1. Provides libstdc++-libc6.2-2.so.3
    (32-bit)
aur/libstdc++-doc 20140403-1 (11)
    A set of doxygen generated HTML documentation for the GNU Standard C++ Library
aur/libstdc++296 2.96.126-3 [installed] (10)
    Standard C++ libraries for Red Hat 7.3 backwards compatibility compiler. With additions from OpenSUSE 13.1. Provides libstdc++-libc6.2-2.so.3

But no libstdc++.so.3 sad
Is there anyway I can find this library somewhere. A quick google search tells me it's not that easy apparently.

PS: My pc is 64bit.

Thanks in advance.

Offline

#2 2015-07-25 14:54:57

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,667
Website

Re: libstdc++.so.3: cannot open shared object file: No such file

How sure are you that you need that library?   It is very, very, very, very, very, very old.

Offline

#3 2015-07-25 15:04:49

TheChosenOne
Member
Registered: 2012-09-27
Posts: 130

Re: libstdc++.so.3: cannot open shared object file: No such file

Kind of very sure. I'm trying out the LibB program to construct Bayesian Networks for research purposes. You can find it here:
http://www.cs.huji.ac.il/labs/compbio/L … grams.html
If you download it and run for example ./GenInstance, it will give this error.

Offline

#4 2015-07-25 15:13:03

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,680

Re: libstdc++.so.3: cannot open shared object file: No such file

LibB for Windows/Linux 2.1

Page last updated over 10 years ago, Linux 2.1 puts it over 15 years ago.

Abandonware sucks.

Last edited by Scimmia (2015-07-25 15:16:10)

Offline

#5 2015-07-25 20:09:33

TheChosenOne
Member
Registered: 2012-09-27
Posts: 130

Re: libstdc++.so.3: cannot open shared object file: No such file

So there is basically nothing I can do?

Offline

#6 2015-07-25 20:14:19

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,611

Re: libstdc++.so.3: cannot open shared object file: No such file

You could look at the source and see which library functions it uses.  Either port them to a newer version of the library, or to another library, or try to replicate the functionality without a library.
You might even get luck and have a configuration switch that turns of the part of the code that depends on that library.

It might just be simple.  On the other hand, it could be monumental.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2015-07-25 20:24:33

TheChosenOne
Member
Registered: 2012-09-27
Posts: 130

Re: libstdc++.so.3: cannot open shared object file: No such file

ewaller wrote:

You could look at the source and see which library functions it uses.

The software is closed source sad

Offline

#8 2015-07-25 20:31:23

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,611

Re: libstdc++.so.3: cannot open shared object file: No such file

You're not making this easy, are you ?  tongue

How about finding an ancient version of Linux that had that library, then run that relic in a VM?
Or figuring out what calls are being made to the library and build a wrapper around a new library?  Not fun, but doable.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#9 2015-07-25 20:40:39

TheChosenOne
Member
Registered: 2012-09-27
Posts: 130

Re: libstdc++.so.3: cannot open shared object file: No such file

ewaller wrote:

How about finding an ancient version of Linux that had that library, then run that relic in a VM?
Or figuring out what calls are being made to the library and build a wrapper around a new library?  Not fun, but doable.

Well, I have to use it in combination with things that are rather recent. So using a VM is not an option.
I have no idea how to build a wrapper and I don't really have the time to figure that out tongue

Isn't there a way to just download this lib and add it to the other libs? Or is that too simplistic?

Last edited by TheChosenOne (2015-07-25 20:41:45)

Offline

#10 2015-07-25 20:56:11

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: libstdc++.so.3: cannot open shared object file: No such file

Is there a reason you need to use this software specifically rather than something else that does the same job?  It's not clear for that minimal documentation page what exactly this does, but I'd bet you my left <anatomically valuable part> that there are far more up to date packages that do the same thing.

You can search CRAN for "baysian network" and you'll get quite a list of options.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#11 2015-07-25 21:00:49

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,611

Re: libstdc++.so.3: cannot open shared object file: No such file

Well, I have to use it in combination with things that are rather recent. So using a VM is not an option.

What I meant was, on a modern Arch system as a host, use a tool like VirtualBox or QEMU to run the old version of Linux with the old library as a guest.  Run your program in there.
Share a "Folder" between the host and the guest, and you can "mount" a shared folder on that VM and share files between the modern guest and the retro version of Linux. 

You can, if necessary provide network access to the guest.  As this would be an old, un-patched system, keep it safe in the sandbox and minimize its exposure to the outside world.

Edit:  Heck, in VirtualBox, you can even use it in "Seamless" mode if it is a GUI application -- you are not supposed to be able to tell it that the guest window is not owned by the host

Last edited by ewaller (2015-07-25 21:03:44)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB