hi
I really feel like an idiot by asking that but where can I find libssl.a in opensuse-12.1 ?
I looked into the obvious package libopenssl-devel-1.0.0e-34.1.2.i586.rpm (which is I believe the latest) and there is no libssl.a in there. I also tried my luck in the non devel package.
What puzzles me more is that even if I fork the latest openssl package, rebuild it, I notice that the libssl.a gets generate in the build-root but not included in the final rpms’ .
honestly, if someone can point me to some reference on that matter I’d be happy and thankful.
Am 25.06.2012 23:48, schrieb Carlos E. R.:
> On 2012-06-25 17:57, malcolmlewis wrote:
>> As a rule, static libs are deleted…
>
> Sure? I thought they were left on the devel package.
>
shows a lot of static libs due to the devel packages on my laptop, so
not always are static libs stripped from the rpm’s and sometimes it
simply makes sense to link static for better portability of the
resulting binary.
–
PC: oS 12.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.4 | GeForce GT 420
ThinkPad E320: oS 12.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.8.4 | HD 3000
eCAFE 800: oS 12.1 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10
hi
I thought that this would be a solution and recompiled a openssl-devel package without the excluded lines.
This will probably solve my build issues.
Anyone “mis”-installed your package will have two unused files on her system.
You’d better remove the “find %{buildroot}%{_libdir} -name “*.a” -print -delete” or “%exclude” lines.
And split a new sub-package called “openssl-devel-static” to contain them.(the name comes from openSUSE wiki - shared library chapter). they’re designed for such use.
then people will not mis-install or mis-use. only you need to install that sub-package.