NetBSD Problem Report #59537

From www@netbsd.org  Mon Jul 21 06:53:44 2025
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 "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id C2BE51A9239
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 21 Jul 2025 06:53:43 +0000 (UTC)
Message-Id: <20250721065342.7423B1A923C@mollari.NetBSD.org>
Date: Mon, 21 Jul 2025 06:53:42 +0000 (UTC)
From: emmanuel.dreyfus@espci.fr
Reply-To: emmanuel.dreyfus@espci.fr
To: gnats-bugs@NetBSD.org
Subject: pcsc-lite search path misses ${PREFIX}/lib
X-Send-Pr-Version: www-1.0

>Number:         59537
>Category:       pkg
>Synopsis:       pcsc-lite search path misses ${PREFIX}/lib
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 21 06:55:00 +0000 2025
>Originator:     Emmanuel Dreyfus
>Release:        NetBSD-10.0
>Organization:
>Environment:
NetBSD volanges 10.0 NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64

>Description:
Using pam_p11 and pcsc-lite from pkgsec-2025Q2 fails:
$ su
loading "libpcsclite_real.so.1" failed: su: Shared object "libpcsclite_real.so.1" not found

This haooebs because ${PREFIX}/lib is not searched. Adding a link works around the problem:
ln -s /usr/pkg/lib/libpcsclite_real.so.1 /usr/lib/libpcsclite_real.so.1
>How-To-Repeat:
Install and setup pam_p11 with pcsc-lite from pkgsrc-2025Q2, try to use it.
>Fix:
Not investigated yet

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.