← Back to team overview

maria-discuss team mailing list archive

Re: auth_pam does not compile on OSX


Hi, Terin!

On Dec 20, Terin Stock wrote:
> The 5.2.10 version of MariaDB is not compiling for me (using homebrew) on OSX. The error and other information, is as follows.
> I've resolved the issue for now by passing in --without-plugin-auth_pam to configure.
> libtool: compile:  /usr/bin/llvm-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/local/Cellar/readline/6.2.1/include -DMYSQL_DYNAMIC_PLUGIN -O3 -w -pipe -march=core2 -msse4 -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -c auth_pam.c  -fno-common -DPIC -o .libs/auth_pam_la-auth_pam.o
> auth_pam.c:107: error: ‘pam_info’ redeclared as different kind of symbol
> /usr/include/security/openpam.h:104: error: previous declaration of ‘pam_info’ was here
> make[2]: *** [auth_pam_la-auth_pam.lo] Error 1

Fixed, thanks.


Follow ups