Dovecot 1.2.6 error with openssl

ติดตั้งบน freebsd 6.3 minimal ครับ ลงแบบ custombuild

เจอ error ดังนี้

mv -f .deps/imap-proxy.Tpo .deps/imap-proxy.Po
mv -f .deps/client-authenticate.Tpo .deps/client-authenticate.Po
mv -f .deps/client.Tpo .deps/client.Po
/bin/sh …/…/libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -o imap-login client.o client-authenticate.o imap-proxy.o …/login-common/liblogin-common.a …/lib-imap/libimap.a …/lib-auth/libauth.a …/lib/liblib.a -lssl -lcrypto
libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -o imap-login client.o client-authenticate.o imap-proxy.o …/login-common/liblogin-common.a …/lib-imap/libimap.a …/lib-auth/libauth.a …/lib/liblib.a -lssl -lcrypto
…/login-common/liblogin-common.a(ssl-proxy-openssl.o)(.text+0x788): In function ssl_proxy_get_security_string': /usr/local/directadmin/custombuild/dovecot-1.2.6/src/login-common/ssl-proxy-openssl.c:647: undefined reference toSSL_get_current_compression’
…/login-common/liblogin-common.a(ssl-proxy-openssl.o)(.text+0x79e):/usr/local/directadmin/custombuild/dovecot-1.2.6/src/login-common/ssl-proxy-openssl.c:648: undefined reference to `SSL_COMP_get_name’
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 2
1 error

*** The make has failed, do you want to try to make again? (y,n):

ปล้ำมาสองวันแล้วครับ รบกวนพี่ๆหน่อยครับ

ปล. ไปเจอมาว่ามันเป็นบั๊กของ 1.2.6 กับ openssl ไม่รู้ว่าจริงหรือเปล่าครับ
dovecot 1.2.6 fails to build with openssl < 0.9.8
http://www.dovecot.org/list/dovecot/2009-October/043386.html

ลองไปตั้งคำถามใว้ที่ directadmin ก็ยังไม่มีคนมาตอบ
http://www.directadmin.com/forum/showthread.php?p=166649

ถ้าจะย้อนกลับมาใช้เวอร์ชั่น 1.2.5 จะต้องทำยังงัยครับ

ใน /usr/local/directadmin/custombuild/versions.txt

แก้
dovecot:1.2.6:807666f1a112e7379c4dbb57c9ce4899
เป็น
dovecot:1.2.5:8b057903d6a527dac964b51c5638c625

แล้ว compile

มันขึ้นอย่างงี้ครับ

Starting dovecot:

Fatal: listen(0.0.0.0, 143) failed: Address already in use

killall -9 dovecot
แล้่ว restart ใหม่ครับ ถ้าไม่หายก็ restart ก่อน

Link ที่ผมส่งให้มะวานแก้ไม่ได้หรอครับ ผมใช้อยุ่ก็แก้ได้นะ

ทำตามแล้วครับ ไม่หายครับ

แปลก ผมหายนะ

ป่านนี้ยังแก้ไม่ได้เลยครับ เฮ้อออ เซ็งตัวเอง

ลองแก้ตามนี้ดูครับ

All FreeBSD <= 6.3 boxen have build errors, FreeBSD 7+ seems to be fine.

try this, logged in as root:

/bin/mkdir /usr/local/updatescript
/bin/rm -rf /usr/local/updatescript/*
cd /usr/local/updatescript
/usr/local/bin/wget http://tools.web4host.net/update.script
/bin/chmod 755 update.script
./update.script OPENSSL
cd /usr/local/directadmin/custombuild/
./build all d

It wil install the update.script, run the OpenSSL install and rebuild all your stuff.

You might need to rebuild extra tools like ‘wget’ if you use it to e.g. get data from https sites.

After this your dovecot should be upgraded to 1.2.6

ทำแล้วตอนแรกมันยังเหมือนเดิม ผมเลย reboot ดู ผ่านเฉยเลยคับพี่
ผ่านแบบงงๆ

ขอบคุณมากครับพี่ใหม่ ^^