Date: Tue, 23 May 2006 10:09:15 +0200 From: Scott Harrison <scott@mithrandir.com> To: freebsd-stable@freebsd.org Subject: Fwd: Problem with modern Postfix on 4.7 Message-ID: <A91337DD-95C2-42D5-8B13-BEC533EB1ADF@mithrandir.com> References: <C9A5165B-86BE-4C9E-9864-F088046029B9@mithrandir.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Begin forwarded message: > From: Scott Harrison <scott@mithrandir.com> > Date: May 23, 2006 4:31:46 GMT+02:00 > To: freebsd-stable@freebsd.org > Subject: Problem with modern Postfix on 4.7 > > Hello, > > I am not sure if this is the proper place to ask. Please = redirect =20 > as necessary. > > I have a FreeBSD 4.7 box that I have updated the ports files. I = =20 > have tried to recompile Postfix with SASL2 and TLS and now my smtpd =20= > is crashing with a SIGBUS when a TLS connection comes in. Prior to =20= > upgrading the ports files all was working properly. I recompiled =20 > the projects that Postfix needed and the binary seems to be ok: > > mobius# ldd /usr/local/libexec/postfix/smtpd > /usr/local/libexec/postfix/smtpd: > libsasl2.so.2 =3D> /usr/local/lib/libsasl2.so.2 (0x280a0000) > libpam.so.1 =3D> /usr/lib/libpam.so.1 (0x280b5000) > libcrypt.so.2 =3D> /usr/lib/libcrypt.so.2 (0x280bf000) > libssl.so.4 =3D> /usr/local/lib/libssl.so.4 (0x280d8000) > libcrypto.so.4 =3D> /usr/local/lib/libcrypto.so.4 (0x28112000) > libpcre.so.0 =3D> /usr/local/lib/libpcre.so.0 (0x28228000) > libc.so.4 =3D> /usr/lib/libc.so.4 (0x2823e000) > mobius# ls -l /usr/local/lib/libsasl2.so.2 /usr/lib/libpam.so.1 /=20 > usr/lib/libcrypt.so.2 /usr/local/lib/libssl.so.4 /usr/local/lib/=20 > libcrypto.so.4 /usr/local/lib/libpcre.so.0 /usr/lib/libc.so.4 > -r--r--r-- 1 root wheel 574916 Oct 9 2002 /usr/lib/libc.so.4 > -r--r--r-- 1 root wheel 28432 Oct 9 2002 /usr/lib/libcrypt.so.2 > -r--r--r-- 1 root wheel 38396 Oct 9 2002 /usr/lib/libpam.so.1 > -r--r--r-- 1 root wheel 1339626 May 22 19:53 /usr/local/lib/=20 > libcrypto.so.4 > -rwxr-xr-x 1 root wheel 87652 May 22 20:41 /usr/local/lib/=20 > libpcre.so.0 > -rwxr-xr-x 1 root wheel 91881 May 22 20:15 /usr/local/lib/=20 > libsasl2.so.2 > -r--r--r-- 1 root wheel 264102 May 22 19:53 /usr/local/lib/=20 > libssl.so.4 > mobius# > > Is there some issue with updating the ports files? Any other =20= > suggestions? > > TIA, It turns out that the openssl port is not building properly, = getting =20 lots of lines like this: libssl.a(ssl_asn1.o): In function `d2i_SSL_SESSION': ssl_asn1.o(.text+0x9f9): undefined reference to `memcpy' ssl_asn1.o(.text+0xa78): undefined reference to `memcpy' ssl_asn1.o(.text+0xb40): undefined reference to `memcpy' ssl_asn1.o(.text+0xcda): undefined reference to `time' ssl_asn1.o(.text+0x1140): undefined reference to `memcpy' libssl.a(bio_ssl.o): In function `ssl_read': bio_ssl.o(.text+0x201): undefined reference to `time' libssl.a(bio_ssl.o): In function `ssl_write': bio_ssl.o(.text+0x361): undefined reference to `time' libssl.a(bio_ssl.o): In function `ssl_ctrl': bio_ssl.o(.text+0x6d6): undefined reference to `time' And running make test results in a problem: starting big number library test, could take a while... test BN_add test BN_sub test BN_lshift1 test BN_lshift (fixed) test BN_lshift test BN_rshift1 test BN_rshift test BN_sqr Bus error (core dumped) *** Error code 138 Stop in /usr/ports/security/openssl/work/openssl-0.9.8a/test. *** Error code 1 Stop in /usr/ports/security/openssl/work/openssl-0.9.8a. *** Error code 1 Stop in /usr/ports/security/openssl. There was a suggestion on the web indicating that binutils is = the =20 problem and that that should be updated. However, I do not know the =20 proper way to go about updating binutils. Can someone please tell me =20= how to do it or point me to a resource that does? TIA, --=20 =C2=B7=F0=90=91=95=F0=90=91=92=F0=90=91=AA=F0=90=91=91 = =C2=B7=F0=90=91=A3=F0=90=91=BA=F0=90=91=A6=F0=90=91=95=F0=90=91=A9=F0=90=91= =AF Scott Harrison
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A91337DD-95C2-42D5-8B13-BEC533EB1ADF>