After compiling everything succesfully on Mac OS X Leopard (10.5) I
get this error in the mail.log when starting authdaemond:
Nov 29 03:23:05 XXX authdaemond[88436]: dlopen(/XXX/lib/courier-
authlib/libauthmysql.0.so, 9): Symbol not found: _auth_mysql
Everything seems to compile nicely.
It even knows where to find the compiled mysql - I tried to move it and I got another error.
I have now tried with mysql's own precompiled Mac tarball.
Besides that I have tried a variety of configurations and compile
methods.
This is one of them (I have tried compiling with servers to and
without any special CFLAGS or other stuff:
CC=\"\" CXX=\"\" CXXFLAGS=\"\"
CFLAGS=\"-arch i386\" ./configure --with-authmysql --without-authpam --
with-mysql-libs=/XXX/lib/mysql --with-mysql-includes=/XXX/include/
mysql --with-mailuser=_postfix --with-mailgroup=_postfix --prefix=/XXX
make
sudo make install
I have set up the authdaemonrc and authmysqlrc just as they are on a
working server I have + the new setup connects to the already running
and working mysql db.
#
After compiling everything succesfully on Mac OS X Leopard (10.5) I
get this error in the mail.log when starting authdaemond:
Everything seems to compile nicely.
It even knows where to find the compiled mysql - I tried to move it and I got another error.
I have now tried with mysql's own precompiled Mac tarball.
Besides that I have tried a variety of configurations and compile
methods.
This is one of them (I have tried compiling with servers to and
without any special CFLAGS or other stuff:
This seems to work for courier-authlib:
I have set up the authdaemonrc and authmysqlrc just as they are on a
working server I have + the new setup connects to the already running
and working mysql db.
Any idea what is going on?
Thanks!
Dan Larsen
P.S: I even tested 0.60.1 and 0.60.0
#
Put the line
export MACOSX_DEPLOYMENT_TARGET=10.5before the configure line and do a make and sudo make install and all will be fine!
There is still an issue with IMAP 4.3.0, try 4.2.1 that'll work!
#
Hi Richard!
Thank you so much for your comment!
First I tried and it didn't work... I accidently delited the "10.5" when copying to my sh script... Doh!
Well... Now it starts without any errors - on to the real testing now!
Thank you for your time! :-)
Best regards
Dan Larsen