- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm compiling using the 32-bit icpc version 11.1.046 on openSuSe 11.2. I'm getting the following error:
mcpcom: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory.
I have the library /usr/lib/libstdc++.so.6. Do I need to upgrade the C++ compiler version? Also, I'm trying to link statically - is it going to be a problem linking to a shared library?
Thanks,
Dave
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For OpenSuSE 11.1, that was the libstdc++-33. No recent g++ uses that. The application you build won't be trying to link against the old library; as the message told you, mcpcom depends on that library, so that it can run on old distros like Red Hat EL3. If the libstdc++-33 isn't available on your YaST software installation menu, you could attempt to run by making a symlink to use the current libstdc++.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
use this command:
linux-ugif:/usr/lib # cp libstdc++.so.6.0.12 libstdc++.so.5
you can also install an old gnu compiler version to load the true libstdc++.so.5
(search with yast2 all gcc g++ versions)
icc work perfectly with 11.2
Kind regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For OpenSuSE 11.1, that was the libstdc++-33. No recent g++ uses that. The application you build won't be trying to link against the old library; as the message told you, mcpcom depends on that library, so that it can run on old distros like Red Hat EL3. If the libstdc++-33 isn't available on your YaST software installation menu, you could attempt to run by making a symlink to use the current libstdc++.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Installing libstdc++-33 did the trick. Thanks
Dave
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page