pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/35249 (Sendmail fails to find libraries in /usr/pkg/lib on Linux.)



Synopsis: Sendmail fails to find libraries in /usr/pkg/lib on Linux.

Responsible-Changed-From-To: linux-pkg-people->jnemeth
Responsible-Changed-By: cheusov%NetBSD.org@localhost
Responsible-Changed-When: Tue, 30 Aug 2011 19:30:20 +0000
Responsible-Changed-Why:
1) This issue is reproducible
2) "Responsible" is set to OWNER (jnemeth)
3) This issue is not specific to Linux
4) The following patch solve the problem.
   I built sendmail successfully with default option as well as with
   db4, ldap and sasl enabled.

Index: files/site.config.m4
===================================================================
RCS file: /cvsroot/pkgsrc/mail/sendmail/files/site.config.m4,v
retrieving revision 1.10
diff -u -r1.10 site.config.m4
--- files/site.config.m4        16 Dec 2009 09:46:36 -0000      1.10
+++ files/site.config.m4        30 Aug 2011 19:23:22 -0000
@@ -17,7 +17,7 @@
 define(`confMAN5EXT', `5')
 define(`confMAN8EXT', `8')
 APPENDDEF(`confENVDEF', `-I${PREFIX}/include 
-DSMRSH_CMDDIR=\"${SMRSH_CMDDIR}\"')
-APPENDDEF(`confLIBS', `-L${PREFIX}/lib')
+APPENDDEF(`confLIBDIRS', `-L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib')
 APPENDDEF(`confMAPDEF', `-DSOCKETMAP')
 
 # the following are handled by pkgsrc


State-Changed-From-To: feedback->open
State-Changed-By: cheusov%NetBSD.org@localhost
State-Changed-When: Tue, 30 Aug 2011 19:30:20 +0000
State-Changed-Why:
See above





Home | Main Index | Thread Index | Old Index