NetBSD Problem Report #60643

From www@netbsd.org  Tue Aug 25 20:28:23 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.netbsd.org", Issuer "YR2" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id DDF3A1A923B
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 25 Aug 2026 20:28:23 +0000 (UTC)
Message-Id: <20260825202822.D86FE1A923C@mollari.NetBSD.org>
Date: Tue, 25 Aug 2026 20:28:22 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: security/openssl: missing -Wl,-R in pkg-config .pc files
X-Send-Pr-Version: www-1.0
X-From4GNATS: "campbell+netbsd@mumble.net via gnats" <gnats-admin@NetBSD.org>

>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:          needs-pullups
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 25 20:30:00 +0000 2026
>Closed-Date:    
>Last-Modified:  Wed Aug 26 12:53:37 +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!

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 26 Aug 2026 08:24:34 +0000
State-Changed-Why:
Fixed, thanks.


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/60643 CVS commit: pkgsrc/security/openssl
Date: Wed, 26 Aug 2026 08:24:02 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Wed Aug 26 08:24:01 UTC 2026

 Modified Files:
 	pkgsrc/security/openssl: Makefile

 Log Message:
 openssl: fix pkg-config rpath

 For some reason there are two copies? and only one was fixed by pkgsrc,
 but the other one was installed.

 Fixes PR 60643.

 Bump PKGREVISION.


 To generate a diff of this commit:
 cvs rdiff -u -r1.319 -r1.320 pkgsrc/security/openssl/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: closed->needs-pullups
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Wed, 26 Aug 2026 12:53:37 +0000
State-Changed-Why:
Unless somoene has confirmed this doesn't appply to the openssl in
2026Q2?


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.