加载共享库时出错:libCstd.so.1:无法打开共享对象文件:没有这样的文件或目录

发布于 2024-09-16 00:54:34 字数 319 浏览 5 评论 0原文

加载共享库时出错:libCstd.so.1:无法打开共享对象文件:没有这样的文件或目录。

你好!当我尝试使用 Sun Studio 12.1 中的 Sun 编译器在 Netbeans 6.8 中运行 C++ 项目时,出现此错误。我想使用 dbx 或 NetBeans IDE 来分析内存泄漏和内存使用情况(如果它检索到所需的信息)。由于我不了解调试...您认为使用 Netbeans+Sun Studio 是执行 C++ 应用程序的正确方法吗?我在 Windows 上使用 Netbeans,但我不知道 Windows 上有免费的内存泄漏检测工具,所以我尝试了 Sun Studio。

谢谢!

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

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.

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

紙鸢 2024-09-23 00:54:34

我不了解 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文