Discussion:
[Openexr-user] libstdc++.so.5 not found
Patrick Ledda
2005-07-04 14:33:31 UTC
Permalink
Hello,

I think I have managed to compile Openexr under Redhad 9 however I'm
having problems running the "exrdisplay" program. When I run it I get
the following error:
.../libstdc++.so.5: version `GLIBCPP_3.2.2' not found (required by
/usr/local/lib/libIlmImf.so.2)

I noticed that it works fine when I'm root.

Any ideas?
thanks
Klaus Steden
2005-07-05 01:40:45 UTC
Permalink
Post by Patrick Ledda
Hello,
I think I have managed to compile Openexr under Redhad 9 however I'm
having problems running the "exrdisplay" program. When I run it I get
the following error: .../libstdc++.so.5: version `GLIBCPP_3.2.2' not
found (required by /usr/local/lib/libIlmImf.so.2)
I noticed that it works fine when I'm root.
Any ideas? thanks
Linux has all sorts of funkiness with libc and libc++ versions that I find
it difficult to keep them clear between versions.

I'd suggest installing any of the available compat-libstdc++ RPMS and
giving it another go ... if they're already installed, check the output of
'ldd' as root and as your user, and see which library file it loads when
it works - and check that file's permissions. You may also have to rebuild
your dynamic loader's cache using the 'ldconfig' command.

hth,
Klaus
Patrick
2005-07-05 10:23:23 UTC
Permalink
Post by Klaus Steden
Post by Patrick Ledda
Hello,
I think I have managed to compile Openexr under Redhad 9 however I'm
having problems running the "exrdisplay" program. When I run it I get
the following error: .../libstdc++.so.5: version `GLIBCPP_3.2.2' not
found (required by /usr/local/lib/libIlmImf.so.2)
I noticed that it works fine when I'm root.
Any ideas? thanks
Linux has all sorts of funkiness with libc and libc++ versions that I
find it difficult to keep them clear between versions.
I'd suggest installing any of the available compat-libstdc++ RPMS and
giving it another go ... if they're already installed, check the
output of 'ldd' as root and as your user, and see which library file
it loads when it works - and check that file's permissions. You may
also have to rebuild your dynamic loader's cache using the 'ldconfig'
command.
hth,
Klaus
Hi Klaus,

thanks for your help.
I tried 'ldd' and yes, 'exrdisplay' is actually calling a different
version of libstdc++.so.5 when i'm root which is located in /usr/lib.

This is the output from ldd:
Klaus Steden
2005-07-06 01:31:42 UTC
Permalink
Post by Patrick
Post by Klaus Steden
Post by Patrick Ledda
Hello,
I think I have managed to compile Openexr under Redhad 9 however I'm
having problems running the "exrdisplay" program. When I run it I get
the following error: .../libstdc++.so.5: version `GLIBCPP_3.2.2' not
found (required by /usr/local/lib/libIlmImf.so.2)
I noticed that it works fine when I'm root.
Any ideas? thanks
Linux has all sorts of funkiness with libc and libc++ versions that I
find it difficult to keep them clear between versions.
I'd suggest installing any of the available compat-libstdc++ RPMS and
giving it another go ... if they're already installed, check the output
of 'ldd' as root and as your user, and see which library file it loads
when it works - and check that file's permissions. You may also have to
rebuild your dynamic loader's cache using the 'ldconfig' command.
hth, Klaus
Hi Klaus,
thanks for your help.
I tried 'ldd' and yes, 'exrdisplay' is actually calling a different version
of libstdc++.so.5 when i'm root which is located in /usr/lib.
Loading...