构建程序后会使用libtool吗?
我开始构建 xmlsec 并注意到它无法识别我计算机上的 libltdl 库。我开始寻找,结果发现符号链接 libltld.so -> libltdl.so.3 丢失!
我使用的发行版是“Red Hat Enterprise Linux Server release 5.5 (Tikanga)”,
我心想……也许这是一个错误?但在哪里呢?在 gcc、redhat、xmlsec 中。查看 redhat 的错误报告“https://bugzilla.redhat.com/show_bug.cgi?id=469718”,我注意到已经提出投诉,响应是:
“这不是一个错误,/usr/lib /libltdl.so 由 libtool-ltdl-devel 提供,因为它 仅在编译期间需要。”
所以问题是:libtool 在标准“./configure &”之后是否被使用过? make”过程?Redhat 说 libltdl“仅在编译期间需要”是什么意思?但标准 libtool 不需要?
谢谢, 陈兹
I started to build xmlsec and noticed that it wouldn't recognize my libltdl library on my computer. I started hunting and it turns out that the symbolic link libltld.so -> libltdl.so.3 was missing!
The distribution I am using is "Red Hat Enterprise Linux Server release 5.5 (Tikanga)"
I thought to myself... maybe this is a bug? But where? In gcc, in redhat, in xmlsec. Looking at a bug report for redhat "https://bugzilla.redhat.com/show_bug.cgi?id=469718" I noticed that the complaint had been made and the response was:
"This is not a bug, /usr/lib/libltdl.so is provided by libtool-ltdl-devel as it
is only needed during compilation."
So the question is: Does libtool ever get used after the standard "./configure & make" process? What does Redhat mean when it says libltdl "is only needed during compilation?" but standard libtool is not?
Thanks,
Chenz
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
无版本库由
-devel
包提供,因为它们仅在应用程序编译时需要。在您提到的错误中,报告者需要安装libtool-ltdl-devel
来编译php。成功编译后,他/她可以删除不再需要的包。Unversioned libraries are provided by
-devel
packages because they are only required at compile time of applications. In the bug you referenced, reporter needs to installlibtool-ltdl-devel
to compile php. After successful compilation s/he can remove the package it won't be needed anymore.