NetBSD Problem Report #39461

From www@NetBSD.org  Fri Sep  5 10:30:46 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 5BE2563BC80
	for <gnats-bugs@gnats.netbsd.org>; Fri,  5 Sep 2008 10:30:46 +0000 (UTC)
Message-Id: <20080905103045.F09F563B11D@narn.NetBSD.org>
Date: Fri,  5 Sep 2008 10:30:45 +0000 (UTC)
From: ef@math.uni-bonn.de
Reply-To: ef@math.uni-bonn.de
To: gnats-bugs@NetBSD.org
Subject: databases/ldapvi does not build on OS X
X-Send-Pr-Version: www-1.0

>Number:         39461
>Category:       pkg
>Synopsis:       databases/ldapvi does not build on OS X
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    ghen
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 05 10:35:00 +0000 2008
>Closed-Date:    Fri Nov 05 08:45:16 +0000 2010
>Last-Modified:  Fri Nov 05 08:50:02 +0000 2010
>Originator:     Edgar Fuß
>Release:        pkgsrc-2008Q2
>Organization:
Mathematisches Institut der Uni Bonn
>Environment:
Darwin xxx 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
>Description:
On Mac OS X 10.4.11, databases/ldapvi fails to build.

During configure, there is a warning
checking for pkg-config... xxx/pkgsrc/databases/ldapvi/work/.tools/bin/pkg-config
checking for main in -lglib-2.0... yes
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openssl' found
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openssl' found

and during build an error
gcc -no-cpp-precomp -isystem /usr/include -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include  -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include   -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -o ldapvi ldapvi.o data.o diff.o error.o misc.o parse.o port.o print.o search.o base64.o arguments.o parseldif.o schema.c sasl.o -L/usr/pkg/lib -L/usr/lib -lssl  -L/usr/pkg/lib -lglib-2.0 -lintl -liconv   -lreadline -lpopt -lcurses -lldap -llber -lresolv 
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
/usr/bin/ld: Undefined symbols:
_MD5
_MD5_Final
_MD5_Init
_MD5_Update
_RAND_bytes
symbol _PC used from dynamic library /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libncurses.dylib(lib_tputs.o) not from earlier dynamic library /usr/pkg/lib/libreadline.5.dylib(terminal.o)
collect2: ld returned 1 exit status
gmake: *** [ldapvi] Error 1


>How-To-Repeat:
cd databases/ldapvi; make build
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ghen
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Fri, 05 Sep 2008 14:29:25 +0000
Responsible-Changed-Why:
Over to maintainer.


From: Geert Hendrickx <ghen@telenet.be>
To: gnats-bugs@NetBSD.org, ef@math.uni-bonn.de
Cc: 
Subject: Re: pkg/39461 (databases/ldapvi does not build on OS X)
Date: Fri, 5 Sep 2008 19:30:27 +0200

 Does the following patch help?

 --- Makefile    18 Jan 2008 05:06:27 -0000      1.4
 +++ Makefile    5 Sep 2008 17:29:22 -0000
 @@ -31,4 +31,5 @@
  .include "../../devel/popt/buildlink3.mk"
  .include "../../devel/readline/buildlink3.mk"
  .include "../../devel/glib2/buildlink3.mk"
 +.include "../../security/openssl/buildlink3.mk"
  .include "../../mk/bsd.pkg.mk"

 	Geert


State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 25 Oct 2010 04:09:01 +0000
State-Changed-Why:
A patch was suggested, two years ago.


State-Changed-From-To: feedback->closed
State-Changed-By: ghen@NetBSD.org
State-Changed-When: Fri, 05 Nov 2010 08:45:16 +0000
State-Changed-Why:
Committed anyway.


From: "Geert Hendrickx" <ghen@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39461 CVS commit: pkgsrc/databases/ldapvi
Date: Fri, 5 Nov 2010 08:42:10 +0000

 Module Name:	pkgsrc
 Committed By:	ghen
 Date:		Fri Nov  5 08:42:10 UTC 2010

 Modified Files:
 	pkgsrc/databases/ldapvi: Makefile

 Log Message:
 Fix PR pkg/39461.


 To generate a diff of this commit:
 cvs rdiff -u -r1.6 -r1.7 pkgsrc/databases/ldapvi/Makefile

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

>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.