missing libstdc++ (Solaris)
Moderators: XnTriq, helmut, xnview
missing libstdc++ (Solaris)
I recently upgraded XnView but cannot run it any more:
ld.so.1: xnview: fatal: libstdc++.so.2.10.0: open failed: No such file or directory
The previous version I had (1.68) did not need this library. Is there a reason for not linking it statically? The gcc libraries are not standard on Solaris, so you should provide the ones you use in the distribution. Alternatively, compile using the Sun compiler and use the default C libraries that are already present on every Solaris system.
Cris.
ld.so.1: xnview: fatal: libstdc++.so.2.10.0: open failed: No such file or directory
The previous version I had (1.68) did not need this library. Is there a reason for not linking it statically? The gcc libraries are not standard on Solaris, so you should provide the ones you use in the distribution. Alternatively, compile using the Sun compiler and use the default C libraries that are already present on every Solaris system.
Cris.
seems to work with later libraries
I tested it against 6.0.3 (gcc3) and it seems to function ok
Re: missing libstdc++ (Solaris)
I get exactly the same error message. Anyone got a solution?clluengo wrote:I recently upgraded XnView but cannot run it any more:
ld.so.1: xnview: fatal: libstdc++.so.2.10.0: open failed: No such file or directory
The previous version I had (1.68) did not need this library. Is there a reason for not linking it statically? The gcc libraries are not standard on Solaris, so you should provide the ones you use in the distribution. Alternatively, compile using the Sun compiler and use the default C libraries that are already present on every Solaris system.
Cris.
-
- Author of XnView
- Posts: 44883
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: missing libstdc++ (Solaris)
Could you tell me which libstdc++ you have?digipeep wrote:I get exactly the same error message. Anyone got a solution?clluengo wrote:I recently upgraded XnView but cannot run it any more:
ld.so.1: xnview: fatal: libstdc++.so.2.10.0: open failed: No such file or directory
The previous version I had (1.68) did not need this library. Is there a reason for not linking it statically? The gcc libraries are not standard on Solaris, so you should provide the ones you use in the distribution. Alternatively, compile using the Sun compiler and use the default C libraries that are already present on every Solaris system.
Cris.
Pierre.
Re: libstdc++
I see that the library I have is libstdc++.so.6.0.2 --- how does that relate to 2.10.0?Anonymous wrote:Was there a resolution on this issue? I am running into the same and am not a Solaris guru to know enough to figure out what to do here...
Re: libstdc++
Never mind on all that, we put the 2.10.0 version onto the server and away we go.Tim K wrote:I see that the library I have is libstdc++.so.6.0.2 --- how does that relate to 2.10.0?Anonymous wrote:Was there a resolution on this issue? I am running into the same and am not a Solaris guru to know enough to figure out what to do here...
Solaris 10?
We are migrating to Solaris 10 and the sys admin guy I'm working with says that the 10.2.0 library is old and not available on Solaris 10. Can I recompile?
-
- Author of XnView
- Posts: 44883
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Solaris 10?
2.10. you means?Tim K wrote:We are migrating to Solaris 10 and the sys admin guy I'm working with says that the 10.2.0 library is old and not available on Solaris 10. Can I recompile?
Pierre.
-
- Posts: 1
- Joined: Mon Jul 02, 2007 4:45 am
Re: lib
Attempting to use a different version of libstdc++ between versions is simply broken (even though it works... for now), ideally on a solaris box there would be no dependency against a shared gnu libstdc++ full stop (or at the least the version compiled against should be supplied with the package and the package binaries compiled with -R ../lib, libstc++ is LGPL after all).Anonymous wrote:Symlinking libstdc++.so.2.10.0 to libstdc++.so (i.e. whatever your version is) should work just fine, I'm on 5.0.5 and it works great!Tim K wrote:I'll post again when I'm better informed with our environment. I'm running into my ignorance of Solaris most likely.
Is there any chance this could be recompiled with the Sun Studio compilers (they are a free download now, get at it via the opensolaris site)?
If not I dont suppose there is any chance of a source tarball
-
- Author of XnView
- Posts: 44883
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: lib
Ok, i'll try to make a new build on solaris...rroliver wrote:Attempting to use a different version of libstdc++ between versions is simply broken (even though it works... for now), ideally on a solaris box there would be no dependency against a shared gnu libstdc++ full stop (or at the least the version compiled against should be supplied with the package and the package binaries compiled with -R ../lib, libstc++ is LGPL after all).Anonymous wrote:Symlinking libstdc++.so.2.10.0 to libstdc++.so (i.e. whatever your version is) should work just fine, I'm on 5.0.5 and it works great!Tim K wrote:I'll post again when I'm better informed with our environment. I'm running into my ignorance of Solaris most likely.
Is there any chance this could be recompiled with the Sun Studio compilers (they are a free download now, get at it via the opensolaris site)?
If not I dont suppose there is any chance of a source tarball
Pierre.