加载共享库时出错
我正在尝试从源代码安装 Code::Blocks。我大学计算机科学系的主机上有一个“anarchy”文件夹,基本上任何人都可以在其中安装任何东西。
wxwidgets 是 Code::Blocks 的依赖项,我试图将 wxGTK(它的名称)放入我自己的“anarchy”文件夹中,效果很好。
然后,我使用正确的配置标志编译 Code::Blocks,以便它在安装过程中识别 wxwidgets 2.8。但是,当我想运行“codeblocks”时,它会显示
codeblocks:加载共享库时出错:libwx_gtk2u-2.8.so.0
显然我没有su访问权限只是一名在大学的学生。有没有办法在没有 su 权限的情况下解决这个问题? 我相信它们是 Debian 5.0 系统,除了 wxwidgets 之外还有所有依赖项,所以我必须自己构建它。
I'm trying to install Code::Blocks from source. There is an `anarchy' folder on my university's CS department's mainframe, where anyone can install anything, basically.
wxwidgets is a dependency of Code::Blocks, and I'm trying to put wxGTK, as it's called, into my own folder on `anarchy', which works fine.
I then compile Code::Blocks with the correct configure flags so that it recognizes wxwidgets 2.8 during the installation. But then, when I want to run `codeblocks', it says
codeblocks: error while loading shared libraries: libwx_gtk2u-2.8.so.0
Obviously I don't have su access as I am only a student at the university. Is there a way to resolve this without su privileges? They are Debian 5.0 systems, I believe, with all dependencies but wxwidgets, so I had to build that on my own.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这就是我解决这个问题的方法:
首先我像这样运行配置脚本:
然后:
现在codeblocks找到libwx_gtk2u-2.8.so.0。
根据评论,另一种解决方案(未经测试)是:
This is how I solved this:
First I ran the configure script like this:
then:
Now codeblocks finds libwx_gtk2u-2.8.so.0.
An alternative solution (untested) according to comments would be: