构建程序后会使用libtool吗?

发布于 2024-10-18 21:48:07 字数 514 浏览 7 评论 0原文

我开始构建 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 技术交流群。

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

发布评论

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

评论(1

安稳善良 2024-10-25 21:48:07

无版本库由 -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 install libtool-ltdl-devel to compile php. After successful compilation s/he can remove the package it won't be needed anymore.

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