NetBSD-Users archive

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

Re: Trying to get sendmail-8.15.1 from pkgsrc working on NetBSD-5, libresolv issues



On Apr 30,  5:49pm, Brian Buhrow wrote:
}
} 	hello.  Following up on my own question, I think the problem is this:
} 
} 	pkgsrc/mk/dlopen.builtin.mk has the following stanza, starting on line
} 37:
} 
} # The following platforms require pthreads to be linked into the
} # application if it uses dlopen() or else the applications will core
} # dump when they dlopen a shared module that _is_ linked with pthread
} # support.
} # It is not required for NetBSD>=5 if just linked with pthread or using
} # pthread_mutex_*(), but need if using pthread_create() / pthread_join().
} #
} _BLNK_DLOPEN_REQUIRE_PTHREAD_PLATFORMS=					\
} 	NetBSD-2.[0-9]_*-*						\
} 	NetBSD-2.[0-9]-* NetBSD-2.[0-9].[0-9]*-*			\
} 	NetBSD-2.[0-8][0-9]*-* NetBSD-2.9[0-8]*-*			\
} 	NetBSD-2.99.[0-9]-* NetBSD-2.99.10-*				\
} 	NetBSD-[3-9]*-*							\
} 	NetBSD-[1-9][0-9]*-*						\
} 	OpenBSD-*-*
} 
} 	This has the side effect of causing everything built with pkgsrc
} sources under NetBSD-5 forward to get libpthread linked in.  So, any shared
} libraries that get used with sendmail, also have  libpthread linked to
} them, causing the sendmail binary to get tagged as a threaded binary.
} 
} 	Threading works fine under NetBSD-5, the problem is sendmail's use of
} the _res structure for DNS queries.

     sendmail has not messed with the _res structure since sendmail
8.14.9 was imported almost four years.  There is an exception to
this general rule when using SASL as there is some kind of weird
problem that happens when SASL, NAMED_RESN (pkgsrc specific) and
MILTER are all defined.

     However, you missed option 3, which is to upgrade to a supported
version of NetBSD.  Seriously, if this box is facing the Internet, then
running NetBSD 5 is extremely unwise.

}-- End of excerpt from Brian Buhrow


Home | Main Index | Thread Index | Old Index