Subject: Re: pkg/35249: Sendmail fails to find libraries in /usr/pkg/lib on
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Loren M. Lang <lorenl@north-winds.org>
List: pkgsrc-bugs
Date: 12/15/2006 18:10:03
The following reply was made to PR pkg/35249; it has been noted by GNATS.
From: "Loren M. Lang" <lorenl@north-winds.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/35249: Sendmail fails to find libraries in /usr/pkg/lib on
Linux.
Date: Fri, 15 Dec 2006 10:05:47 -0800
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig5E7184D9E1A6EFBB10D46978
Content-Type: multipart/mixed;
boundary="------------020304050801070009050800"
This is a multi-part message in MIME format.
--------------020304050801070009050800
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
This adds the -Wl,-R flag to the sendmail build which makes the sendmail
binaries able to find the appropriate libraries and run.
gnats-admin@NetBSD.org wrote:
> Thank you very much for your problem report.
> It has the internal identification `pkg/35249'.
> The individual assigned to look at your
> report is: pkg-manager.=20
>=20
>> Category: pkg
>> Responsible: pkg-manager
>> Synopsis: Sendmail fails to find libraries in /usr/pkg/lib on Li=
nux.
>> Arrival-Date: Wed Dec 13 18:05:01 +0000 2006
>=20
--=20
Loren M. Lang
lorenl@north-winds.org
http://www.north-winds.org/
Public Key: ftp://ftp.north-winds.org/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA C415 6D35 E847 0118 A3D2
--------------020304050801070009050800
Content-Type: text/plain;
name="sendmail.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
filename="sendmail.patch"
Index: sendmail/files/site.config.m4
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/mail/sendmail/files/site.config.m4,v
retrieving revision 1.5
diff -u -r1.5 site.config.m4
--- sendmail/files/site.config.m4 8 Jun 2006 02:26:32 -0000 1.5
+++ sendmail/files/site.config.m4 15 Dec 2006 18:04:58 -0000
@@ -17,4 +17,4 @@
define(`confMAN5EXT', `5')
define(`confMAN8EXT', `8')
APPENDDEF(`confENVDEF', `-I${PREFIX}/include')
-APPENDDEF(`confLIBS', `-L${PREFIX}/lib')
+APPENDDEF(`confLIBS', `-L${PREFIX}/lib -Wl,-R${PREFIX}/lib')
--------------020304050801070009050800--
--------------enig5E7184D9E1A6EFBB10D46978
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFguQISHsHRHUO+igRAuH0AKDM+YpFJHP6c3ghaDMy2u6XumajSQCdEhQ1
KP63/xDz9fyzwFfpkI24cHI=
=3RFY
-----END PGP SIGNATURE-----
--------------enig5E7184D9E1A6EFBB10D46978--