NetBSD Problem Report #23811
Received: (qmail 6237 invoked by uid 605); 21 Dec 2003 02:27:44 -0000
Message-Id: <20031221022743.B8E6211156@narn.netbsd.org>
Date: Sun, 21 Dec 2003 02:27:43 +0000 (UTC)
From: dgriffi@cs.csubak.edu
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: dgriffi@cs.csubak.edu
To: gnats-bugs@gnats.NetBSD.org
Subject: security/libgcrypt can't find libiconv
X-Send-Pr-Version: www-1.0
>Number: 23811
>Category: pkg
>Synopsis: security/libgcrypt can't find libiconv
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 21 02:28:00 +0000 2003
>Closed-Date: Sun Dec 21 10:00:14 +0000 2003
>Last-Modified: Sun Dec 21 10:00:14 +0000 2003
>Originator: David Griffith
>Release: 1.6.1
>Organization:
>Environment:
NetBSD zaphod 1.6.1 NetBSD 1.6.1 (GENERIC) #0: Tue Apr 8 12:05:52 UTC 2003 autobuild@tgm.daemon.org:/autobuild/netbsd-1-6/i386/OBJ/autobuild/netbsd-1-6/src/sys/arch/i386/compile/GENERIC i386
>Description:
When trying to build or rebuild security/libcrypt or anything that requires it, the compile fails with a complaint that libiconv cannot be found. For example:
cc -I/usr/pkg/include -O2 -I/usr/pkg/include -Wall -Wl,-R/usr/pkg/lib -o .libs/prime prime.o -L/usr/pkg/lib ../src/.libs/libgcrypt.so /usr/pkg/lib/libintl.so -liconv -lc /usr/pkg/lib/libgpg-error.so -lintl -Wl,--rpath -Wl,/usr/pkg/lib
ld: cannot find -liconv
*** Error code 1
I discovered the problem while updating the local install of security/gnutls.
>How-To-Repeat:
See above.
>Fix:
Add the following line to security/libcrypt/Makefile right before the final .include:
.include "../../converters/libiconv/buildlink2.mk"
Please tell me if this is the correct way to fix problems like this.
>Release-Note:
>Audit-Trail:
From: Juan Romero Pardines <xtraeme@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/23811 CVS commit: pkgsrc/security/libgcrypt
Date: Sun, 21 Dec 2003 09:57:14 +0000 (UTC)
Module Name: pkgsrc
Committed By: xtraeme
Date: Sun Dec 21 09:57:14 UTC 2003
Modified Files:
pkgsrc/security/libgcrypt: Makefile buildlink2.mk
Log Message:
This needs libiconv's buildlink, reported by David Griffith PR pkg/23811.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 pkgsrc/security/libgcrypt/Makefile
cvs rdiff -r1.4 -r1.5 pkgsrc/security/libgcrypt/buildlink2.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: xtraeme
State-Changed-When: Sun Dec 21 09:59:40 UTC 2003
State-Changed-Why:
Fixed with 1.1.90nb1, thanks.
>Unformatted:
(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.