why there is no static library for math functions?

旧街凉风 提交于 2019-12-05 08:07:20

Install the static libraries:

# yum install glibc-static

generally the .somand .a exist at the same time, but dll comes first.

maybe the static library is missing, you can try yum command as nirk said.

You ask:

Is it a standard to have only dynamic libraries mostly without their static version?

In Fedora, it is indeed standard to only package dynamic libraries. From the packaging guidelines:

Packages including libraries should exclude static libs as far as possible (eg by configuring with --disable-static). Static libraries should only be included in exceptional circumstances. Applications linking against libraries should as far as possible link against shared libraries not static versions.

and later,

In general, packagers are strongly encouraged not to ship static libs unless a compelling reason exists.

... which goes on to say that when such a library is packaged, it should be in a separate subpackage with the suffix -static, as in this case glibc-static.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!