加载共享库时出错:libCstd.so.1:无法打开共享对象文件:没有这样的文件或目录 [英] error while loading shared libraries: libCstd.so.1: cannot open shared object file: No such file or directory

查看:2281
本文介绍了加载共享库时出错:libCstd.so.1:无法打开共享对象文件:没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误:libCstd.so.1:无法打开共享对象文件:无此类文件或目录。

error while loading shared libraries: libCstd.so.1: cannot open shared object file: No such file or directory.

我得到这个错误,当我试图运行一个C ++项目在Netbeans 6.8与Sun Studio 12.1的Sun编译器。我想用dbx或NetBeans IDE分析内存泄漏和内存使用情况,如果它检索所需的信息。因为我不知道调试...你认为使用Netbeans + Sun Studio是正确的方式来执行C ++应用程序?我在Windows上使用Netbeans,但我不知道Windows上的免费内存泄漏检测工具,我试过Sun Studio。

Hello! I got this error when I tried to run a C++ project in Netbeans 6.8 with the Sun compiler from Sun Studio 12.1. I want analyze memory leaks and memory usage with dbx or the NetBeans IDE if it retrieves needed information. As I don't know about debugging... Do you think to use Netbeans+Sun Studio is the correct way to perform C++ applications? I used Netbeans on Windows but I don't know about free memory leaks detection tools on Windows and I tried Sun Studio.

谢谢!

推荐答案

我不知道Sun的编译器,但是当你看到这个错误,它通常是因为库的位置不在任何路径注册共享库加载器。这通常可以通过将 /etc/ld.so.conf 添加到然后运行 ldconfig

I don't know about Sun's compiler but when you see that error, it's usually because the location of the library in question is not in any path registered with the shared library loader. This can usually be fixed by adding the path in question to /etc/ld.so.conf and then running ldconfig.

这篇关于加载共享库时出错:libCstd.so.1:无法打开共享对象文件:没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆