根据
https://docs.oracle.com/cd/E36784_01/html/E36873/librt-3lib.html
Historically,functions in this library provided many of the
interfaces specified by the POSIX.1b Realtime Extension. See
standards(5). This functionality Now resides in libc(3LIB).This library is maintained to provide backward compatibility for both
runtime and compilation environments. The shared object is implemented
as a filter on libc.so.1. New application development need not specify
–lrt.
解决方法
这是在
Trac #8713年(两年前!)提出的,其中包括一个补丁ghc-libs.patch,它从GHC运行时系统中删除了librt要求. (运行时系统正在拉动librt.)不幸的是,在讨论的时候,似乎修补程序在Solaris 10或11上破坏了GHC.然后人们就离开了机票,因为它经常发生在打开 – 源项目.也许拥有大量空闲时间和虚拟机的人会出现并修复这些补丁.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。