From owner-freebsd-stable@FreeBSD.ORG Wed Jan 5 10:10:54 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E00D16A4CE for ; Wed, 5 Jan 2005 10:10:54 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 33C8643D45 for ; Wed, 5 Jan 2005 10:10:53 +0000 (GMT) (envelope-from michaelnottebrock@gmx.net) Received: (qmail invoked by alias); 05 Jan 2005 10:10:49 -0000 Received: from pD9E24D78.dip.t-dialin.net (EHLO lofi.dyndns.org) (217.226.77.120) by mail.gmx.net (mp008) with SMTP; 05 Jan 2005 11:10:49 +0100 X-Authenticated: #443188 Received: from kiste.my.domain (kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.10/8.12.10) with ESMTP id j05AAJeH002860 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 5 Jan 2005 11:10:23 +0100 (CET) (envelope-from michaelnottebrock@gmx.net) From: Michael Nottebrock To: freebsd-stable@freebsd.org Date: Wed, 5 Jan 2005 11:09:52 +0100 User-Agent: KMail/1.7.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart20090880.6h1rAkXiM4"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200501051109.55738.michaelnottebrock@gmx.net> X-Virus-Scanned: by amavisd-new X-Y-GMX-Trusted: 0 cc: msch@snafu.de Subject: Re: libmap.conf and ports X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2005 10:10:54 -0000 --nextPart20090880.6h1rAkXiM4 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday, 5. January 2005 10:33, msch@snafu.de wrote: > Hi all, > > I have major problems to compile gpgme-1.0.1 on *some* machines (see > below). > > Before all the compile/link-errors one major question: > > What about /etc/libmap.conf and the mapping of libc_r to libpthread? > It was once recommended and I never heard anything about it. > Is it still recommended? > Is it mandatory? Or forbidden? > Or simply no longer necessary? Depends. If you have ports installed which still link to libc_r, it's bette= r=20 to have the mapping in place. However, it's much preferrable to not have=20 anything linking to libc_r left. The easiest method of finding out is simpl= y=20 moving libc_r out of /usr/lib. If stuff fails, recompile it. Once your syst= em=20 is clean of all references, you can put NOLIBC_R=3Dtrue into make.conf and= =20 avoid compiling/installing it during upgrades completely. > And now for the port: > > I get the following errors during the compilation of gpgme-1.0.1 in the > context of a KDE-upgrade: > > ************************************************** > > t-thread1.o(.text+0x857): In function `main': > : undefined reference to `pthread_create' > > t-thread1.o(.text+0x87a): In function `main': > : undefined reference to `pthread_create' > > t-thread1.o(.text+0x88b): In function `main': > : undefined reference to `pthread_join' > > t-thread1.o(.text+0x89c): In function `main': > : undefined reference to `pthread_join' Try experimenting with the PTH option on the machines that give you trouble. =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart20090880.6h1rAkXiM4 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBB27zzXhc68WspdLARAqw8AJ0WHNbXp8vkMjq7Os6xwEiq5Idi7ACgnnyp YQjTj0gQe380lqfXDGpenQI= =0frG -----END PGP SIGNATURE----- --nextPart20090880.6h1rAkXiM4--