无法在ghc 6.12.3中加载X11库(Can not load X11 Library in ghc 6.12.3)

编程入门 行业动态 更新时间:2024-10-24 14:15:33
无法在ghc 6.12.3中加载X11库(Can not load X11 Library in ghc 6.12.3)

操作系统:OS X Mountain Lion平台:ghc 6.12.3

我在使用X11 1.6.0库时遇到问题。 当我编译我的文件时,我收到此错误。

Loading package X11-1.6.0 ... can't load .so/.DLL for: Xext (dlopen(libXext.dylib, 9): image not found)

我在互联网上搜索过,但我找不到解决方案。 我安装了X11并且还为/ usr文件夹创建了一个符号链接,因为它默认安装在/ opt中

OS: OS X Mountain Lion Platform: ghc 6.12.3

I am having trouble using the X11 1.6.0 Library. When i compile my files i get this error.

Loading package X11-1.6.0 ... can't load .so/.DLL for: Xext (dlopen(libXext.dylib, 9): image not found)

I have searched all over the internet but i can't find a solution. I have X11 installed and also made a symlink to the /usr folder because it installed it by default in /opt

最满意答案

根据我们对github的讨论 ,他需要将dyld引导到libXext.dylib的位置。

Per our discussion on github, he needed to direct dyld to the location of libXext.dylib.

更多推荐

本文发布于:2023-08-06 15:42:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1451924.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:加载   ghc   Library   load

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!