distribution icon indicating copy to clipboard operation
distribution copied to clipboard

libssl.a libcrypto.a

Open Raimo33 opened this issue 11 months ago • 4 comments

Why only dynamic libraries? I need static linking for maximum performance

Raimo33 avatar Jan 31 '25 11:01 Raimo33

root@pc/build # ls /usr/lib64/libssl.a /usr/lib64/libcrypto.a ls: cannot access '/usr/lib64/libssl.a': No such file or directory ls: cannot access '/usr/lib64/libcrypto.a': No such file or directory

Raimo33 avatar Jan 31 '25 11:01 Raimo33

Given that wolfSSL was added, is this still needed?

ephut avatar Feb 13 '25 18:02 ephut

Not for my project right now. Plus apparently it's not possible to link openssl statically as it still needs access to dynamic libraries at runtime.

But generally I would appreciate it if you included the statically compiled libraries as well in your devpkgs

Raimo33 avatar Feb 13 '25 21:02 Raimo33

as a general policy we don't build (or ship) static libraries with a few explicit exceptions (similar to other distros) this is mostly for security maintenance reasons, but also it tends to cause massive issues with LTO when we do even minor GCC updates

On Thu, Feb 13, 2025 at 1:42 PM Raimo @.***> wrote:

Not for my project right now. Plus apparently it's not possible to link openssl statically as it still needs access to dynamic libraries at runtime.

But generally I would appreciate it if you included the statically compiled libraries as well in your devpkgs

— Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/3254#issuecomment-2657769307, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ54FMMS356HNXBEH5NVO32PUGTFAVCNFSM6AAAAABWHNCWGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJXG43DSMZQG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***> [image: Raimo33]Raimo33 left a comment (clearlinux/distribution#3254) https://github.com/clearlinux/distribution/issues/3254#issuecomment-2657769307

Not for my project right now. Plus apparently it's not possible to link openssl statically as it still needs access to dynamic libraries at runtime.

But generally I would appreciate it if you included the statically compiled libraries as well in your devpkgs

— Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/3254#issuecomment-2657769307, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ54FMMS356HNXBEH5NVO32PUGTFAVCNFSM6AAAAABWHNCWGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJXG43DSMZQG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

fenrus75 avatar Feb 13 '25 22:02 fenrus75