missing libstdc++ (Solaris)

Questions, suggestions, and answers for XnView on all Un*x platforms (Linux, HP-UX, AIX, ...)

Moderators: XnTriq, xnview

Post Reply
clluengo

missing libstdc++ (Solaris)

Post by clluengo » Wed Jan 11, 2006 9:54 pm

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.

ehup

seems to work with later libraries

Post by ehup » Fri Feb 03, 2006 10:21 pm

I tested it against 6.0.3 (gcc3) and it seems to function ok

digipeep

Re: missing libstdc++ (Solaris)

Post by digipeep » Mon Feb 13, 2006 4:56 pm

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?

User avatar
xnview
Author of XnView
Posts: 31264
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: missing libstdc++ (Solaris)

Post by xnview » Thu Feb 16, 2006 12:26 pm

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?
Pierre.

Guest

libstdc++

Post by Guest » Fri Feb 24, 2006 4:15 am

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...

Tim K

Re: libstdc++

Post by Tim K » Fri Feb 24, 2006 4:35 am

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?

Tim K

Re: libstdc++

Post by Tim K » Fri Feb 24, 2006 9:00 pm

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.

Tim K

Solaris 10?

Post by Tim K » Tue Feb 28, 2006 3:29 pm

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?

User avatar
xnview
Author of XnView
Posts: 31264
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Solaris 10?

Post by xnview » Wed Mar 01, 2006 8:22 am

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?
Pierre.

Tim K

lib

Post by Tim K » Thu Mar 02, 2006 5:15 pm

I'll post again when I'm better informed with our environment. I'm running into my ignorance of Solaris most likely.

Guest

Re: lib

Post by Guest » Sun May 21, 2006 5:18 pm

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!

rroliver
Posts: 1
Joined: Mon Jul 02, 2007 4:45 am

Re: lib

Post by rroliver » Mon Jul 02, 2007 5:37 am

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

User avatar
xnview
Author of XnView
Posts: 31264
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: lib

Post by xnview » Mon Jul 02, 2007 6:35 am

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...
Pierre.

Post Reply