Hi everyone ... I am happy that finally I found you all :) I have a follow-up problem ...
I am referring to the link http://www.mail-archive.com/[email protected]/msg26522.html ./configure --prefix=/usr/mailserver --without-stdheaderdir --sysconfdir=/etc/courier --with-mysql-libs=/usr/lib/mysql --with-mysql-includes=/usr/lib/include I followed all steps and I tried to compile Courier-Auth with: make error (SUN LD ): md5_crypt_redhat ./.libs/libcourierauthcommon.so sha1_hash ./.libs/libcourierauthcommon.so hmac_list ./.libs/libcourierauthcommon.so hmac_hashtext ./.libs/libcourierauthcommon.so hmac_hashkey ./.libs/libcourierauthcommon.so sha256_hash ./.libs/libcourierauthcommon.so libmail_encode ./.libs/libcourierauthcommon.so libmail_encode_end ./.libs/libcourierauthcommon.so md5_hash_courier ./.libs/libcourierauthcommon.so ld: fatal: Symbol referencing errors. No output written to .libs/authdaemondprog collect2: ld returned 1 exit status *** Error code 1 The following command caused the error: echo Linking authdaemondprog; /bin/bash ./libtool --quiet --mode=link --tag=CC gcc -I/usr/mysql/include/mysql -g -O2 -Wall -I.. -I./.. -L/usr/local/lib -o authdaemondprog -export-dynamic -dlopen libauthuserdb.la -dlopen libauthpam.la -dlopen libauthldap.la -dlopen libauthmysql.la -dlopen libauthcustom.la -dlopen libauthpipe.la -lsocket -lnsl authdaemond.o ./libltdl/libltdl.la libcourierauthcommon.la liblock/liblock.la make: Fatal error: Command failed for target `authdaemondprog' Current working directory /export/mailserver/courier-authlib-0.58 *** Error code 1 The following command caused the error: set fnord $MAKEFLAGS; amf=$2; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ list='libltdl gdbmobj md5 sha1 libhmac numlib makedat userdb rfc822 random128 liblock liblog'; for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (cd $subdir && make $local_target) \ || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$dot_seen" = "no"; then \ make "$target-am" || exit 1; \ fi; test -z "$fail" make: Fatal error: Command failed for target `all-recursive' Current working directory /export/mailserver/courier-authlib-0.58 *** Error code 1 make: Fatal error: Command failed for target `all' dmake error (SUN LD ): ndefined first referenced symbol in file libmail_str_gid_t authenumerate.o libmail_str_uid_t authenumerate.o ld: fatal: Symbol referencing errors. No output written to .libs/authenumerate collect2: ld returned 1 exit status *** Error code 1 The following command caused the error: echo Linking authenumerate; /bin/bash ./libtool --quiet --mode=link --tag=CC gcc -I/usr/mysql/include/mysql -g -O2 -Wall -I.. -I./.. -L/usr/local/lib -oauthenumerate authenumerate.o libcourierauth.la dmake: Fatal error: Command failed for target `authenumerate' Current working directory /export/mailserver/courier-authlib-0.58 Waiting for 1 job to finish www --> Job output Linking libauthuserdb.la *** Error code 1 The following command caused the error: set fnord $MAKEFLAGS; amf=$2; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ list='libltdl gdbmobj md5 sha1 libhmac numlib makedat userdb rfc822 random128 liblock liblog'; for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (cd $subdir && dmake $local_target) \ || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$dot_seen" = "no"; then \ dmake "$target-am" || exit 1; \ fi; test -z "$fail" dmake: Fatal error: Command failed for target `all-recursive' Current working directory /export/mailserver/courier-authlib-0.58 *** Error code 1 dmake: Fatal error: Command failed for target `all' dmake with GNU LD gcc -shared .libs/ltdl.o -L/usr/local/lib -ldl -lc -Wl,-soname -Wl,libltdl.so.3 -o .libs/libltdl.so.3.1.0 ld: warning: option -o appears more than once, first setting taken ld: fatal: file libltdl.so.3: open failed: No such file or directory ld: fatal: File processing errors. No output written to .libs/libltdl.so.3.1.0 collect2: ld returned 1 exit status *** Error code 1 dmake: Fatal error: Command failed for target `libltdl.la' Current working directory /export/mailserver/courier-authlib-0.58/libltdl *** Error code 1 dmake: Fatal error: Command failed for target `all' Current working directory /export/mailserver/courier-authlib-0.58/libltdl *** Error code 1 The following command caused the error: set fnord $MAKEFLAGS; amf=$2; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ list='libltdl gdbmobj md5 sha1 libhmac numlib makedat userdb rfc822 random128 liblock liblog'; for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (cd $subdir && dmake $local_target) \ || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$dot_seen" = "no"; then \ dmake "$target-am" || exit 1; \ fi; test -z "$fail" dmake: Fatal error: Command failed for target `all-recursive' Current working directory /export/mailserver/courier-authlib-0.58 *** Error code 1 dmake: Fatal error: Command failed for target `all' gmake error (GNU LD): Linking authmksock Compiling authdaemond.c Linking authdaemondprog ./libltdl/.libs/libltdl.so: undefined reference to [EMAIL PROTECTED]' ./libltdl/.libs/libltdl.so: undefined reference to [EMAIL PROTECTED]' ./libltdl/.libs/libltdl.so: undefined reference to [EMAIL PROTECTED]' ./libltdl/.libs/libltdl.so: undefined reference to [EMAIL PROTECTED]' collect2: ld returned 1 exit status gmake[2]: *** [authdaemondprog] Error 1 gmake[2]: Leaving directory `/export/mailserver/courier-authlib-0.58' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/export/mailserver/courier-authlib-0.58' gmake: *** [all] Error 2 Any help would be greatly appreciated. -- Software Management Consulting Pty Ltd Sincerely N.Khershberg B.MEng (Robotics) ,M.Tech(Web Programming) If you have other questions do not hesitate to contact me on Ph. (03) 95786507 http://www.softwaremanagementconsulting.com _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
