Page 1 of 1

missing libstdc++ (Solaris)

Posted: Wed Jan 11, 2006 9:54 pm
by clluengo
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.

seems to work with later libraries

Posted: Fri Feb 03, 2006 10:21 pm
by ehup
I tested it against 6.0.3 (gcc3) and it seems to function ok

Re: missing libstdc++ (Solaris)

Posted: Mon Feb 13, 2006 4:56 pm
by digipeep
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.
I get exactly the same error message. Anyone got a solution?

Re: missing libstdc++ (Solaris)

Posted: Thu Feb 16, 2006 12:26 pm
by xnview
digipeep wrote:
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.
I get exactly the same error message. Anyone got a solution?
Could you tell me which libstdc++ you have?

libstdc++

Posted: Fri Feb 24, 2006 4:15 am
by Guest
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++

Posted: Fri Feb 24, 2006 4:35 am
by Tim K
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...
I see that the library I have is libstdc++.so.6.0.2 --- how does that relate to 2.10.0?

Re: libstdc++

Posted: Fri Feb 24, 2006 9:00 pm
by Tim K
Tim K wrote:
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...
I see that the library I have is libstdc++.so.6.0.2 --- how does that relate to 2.10.0?
Never mind on all that, we put the 2.10.0 version onto the server and away we go.

Solaris 10?

Posted: Tue Feb 28, 2006 3:29 pm
by Tim K
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?

Re: Solaris 10?

Posted: Wed Mar 01, 2006 8:22 am
by xnview
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?
2.10. you means?

lib

Posted: Thu Mar 02, 2006 5:15 pm
by Tim K
I'll post again when I'm better informed with our environment. I'm running into my ignorance of Solaris most likely.

Re: lib

Posted: Sun May 21, 2006 5:18 pm
by Guest
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.
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!

Re: lib

Posted: Mon Jul 02, 2007 5:37 am
by rroliver
Anonymous wrote:
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.
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!
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).

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 ;)

Re: lib

Posted: Mon Jul 02, 2007 6:35 am
by xnview
rroliver wrote:
Anonymous wrote:
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.
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!
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).

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 ;)
Ok, i'll try to make a new build on solaris...