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
.
yum install glibc-static
– Krenekfind / -name "libm.a"
? I'm not really familiar with fedora so I'm not sure how best to locate what pkg should provide it. I suspect almost all linux distros would be provide libm.a tho. – Backhanded