Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 2010 13:38:55 +1000
From:      Andrew Reilly <areilly@bigpond.net.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/145769: final link of mail/fetchmail fails libhx509.so undefined reference to MD2_Init etc
Message-ID:  <1271475535.56224@duncan.reilly.home>
Resent-Message-ID: <201004170340.o3H3e1Ab066576@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         145769
>Category:       ports
>Synopsis:       final link of mail/fetchmail fails libhx509.so undefined reference to MD2_Init etc
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 17 03:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Reilly
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD duncan.reilly.home 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Sat Apr 17 00:13:12 EST 2010 root@duncan.reilly.home:/nb/obj/nb/src/sys/DUNCAN amd64


>Description:
	Since last week, using portmaster -a to rebuild ports
	has stopped at fetchmail with the following error:

	cc  -O2 -pipe -g -fno-strict-aliasing
	-I/usr/local/include -I/usr/kerberos/include
	-I/usr/include  -L/usr/local/lib -rpath=/usr/local/lib
	-L/usr/local/lib -L/usr/lib -o fetchmail socket.o
	getpass.o fetchmail.o env.o idle.o options.o daemon.o
	driver.o transact.o sink.o smtp.o uid.o mxget.o md5ify.o
	cram.o gssapi.o opie.o interface.o netrc.o unmime.o
	conf.o checkalias.o lock.o rcfile_l.o rcfile_y.o
	norm_charmap.o  pop3.o imap.o etrn.o odmr.o  rpa.o
	libfm.a /usr/local/lib/libintl.so
	/usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
	-lopie -lcrypt -lmd5  -lkvm -lcom_err  -lssl -lcrypto
	-L/usr/lib -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err
	-lcrypto -lasn1 -lroken -lcrypt -lcrypto
	/usr/lib/libhx509.so: undefined reference to `MD2_Init'
	/usr/lib/libhx509.so: undefined reference to `MD2_Final'
	/usr/lib/libhx509.so: undefined reference to `MD2_Update'

	Sure enough nm says that libhx509.so has U MD2_Init etc.
	Those symbols are defined by libcrypto, which can
	clearly be seen on the command line above, so I'm not
	sure why it isn't being found.  My limhx509.so is less
	than one day old.

>How-To-Repeat:
	cd /usr/ports/mail/fetchmail; make build
>Fix:

	I don't know, yet.  Still investigating.


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1271475535.56224>