pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/60643: security/openssl: missing -Wl,-R in pkg-config .pc files



>Number:         60643
>Category:       pkg
>Synopsis:       security/openssl: missing -Wl,-R in pkg-config .pc files
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 25 20:30:00 +0000 2026
>Originator:     Taylor R Campbell
>Release:        current, 2026Q2, ...
>Organization:
NetSSL Packaging LLC
>Environment:
>Description:
$ which openssl
/home/riastradh/pkgsrc/current/pkg/bin/openssl
$ ldd `which openssl`
/home/riastradh/pkgsrc/current/pkg/bin/openssl:
	-lssl.3 => /home/riastradh/pkgsrc/current/pkg/lib/libssl.so.3
	-lcrypto.3 => /home/riastradh/pkgsrc/current/pkg/lib/libcrypto.so.3
	-lpthread.1 => /usr/lib/libpthread.so.1
	-lc.12 => /usr/lib/libc.so.12
$ pkg-config --libs openssl
-L/home/riastradh/pkgsrc/current/pkg/lib -lssl -lcrypto
$ cat /home/riastradh/pkgsrc/current/pkg/lib/pkgconfig/libssl.pc
# 
prefix=/home/riastradh/pkgsrc/current/pkg
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include 

Name: OpenSSL-libssl
Description: Secure Sockets Layer and cryptography libraries
Version: 3.6.2
Requires.private: libcrypto
Libs: -L${libdir} -lssl
Cflags: -I${includedir}
$ cat /home/riastradh/pkgsrc/current/pkg/lib/pkgconfig/libcrypto.pc
# 
prefix=/home/riastradh/pkgsrc/current/pkg
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include 
enginesdir=${libdir}/engines-3
modulesdir=${libdir}/ossl-modules

Name: OpenSSL-libcrypto
Description: OpenSSL cryptography library
Version: 3.6.2
Libs: -L${libdir} -lcrypto
Libs.private: -pthread
Cflags: -I${includedir}

>How-To-Repeat:
as above
>Fix:
Yes, please!




Home | Main Index | Thread Index | Old Index