- 论坛徽章:
- 0
|
此贴曾在MAIL专区贴过,但好久没人解答,我想可能是那里多是关心邮件服务器本身的工作,因此只好又再这里从贴,希望能得到帮助!
在SOLARIS 10 X86上编译安装courier-authlib-0.57,./configure --prefix=/mail/courier-imap --with-mysql-libs=/mail/mysql/lib/mysql --with-mysql-includes=/mail/mysql/include/mysql --without-authvchkpw 可以通过,但是make死活不过,也多次尝试加 --without-xxx,不编译一些不用的模块,始终都是出现如下错误:
Linking authdaemondprog
Undefined first referenced
symbol in file
libmail_encode_start ./.libs/libcourierauthcommon.so
libmail_str_gid_t authdaemond.o
libmail_str_uid_t authdaemond.o
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 g
-o authdaemondprog -export-dynamic -dlopen libauthuserdb.la -dlopen libauthld
ocket -lnsl authdaemond.o -lltdl libcourierauthcommon.la liblock/liblock.la
make: Fatal error: Command failed for target `authdaemondprog'
Current working directory /export/home/postfix/courier-imap/courier-authlib-0.57
*** 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/home/postfix/courier-imap/courier-authlib-0.57
*** Error code 1
make: Fatal error: Command failed for target `all'
其实这台机器上原来就装有courier-authlib-0.55,以前如此编译安装没有任何问题,但这个版本就不行,开始怀疑是不是有些软件版本低,不支持新版本的AUTHLIB的编译,但是查阅其文档,也安装最新的软件,比如libtool等,都不行,请高手指点一下。谢谢! |
|