Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2003 19:44:40 +0100
From:      Jens Rehsack <rehsack@liwing.de>
To:        leafy <leafy@leafy.idv.tw>
Cc:        freebsd-current@freebsd.org
Subject:   Re: gcc3.2.2 import might have trashed ld-elf.so.1
Message-ID:  <3E4FDC18.5090100@liwing.de>
References:  <20030215180924.GA6102@leafy.idv.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
leafy wrote:
> I rebuilt and installed  world on Friday and reinstalled ALL my ports with 'portupgrade -ra'. I have found the exact line that will trigger the ld "undefined symbol" error.
> 
> /usr/X11R6/bin/uic -nounload -tr tr2i18n -i htmlpageinfo.h ./htmlpageinfo.ui > htmlpageinfo.cc.temp ; ret=$?;  sed -e "s,tr2i18n( \"\" ),QString::null,g" htmlpageinfo.cc.temp | sed -e "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | sed -e "s,image\([0-9][0-9]*\)_data,img\1_htmlpageinfo,g" >> htmlpageinfo.cc ; rm -f htmlpageinfo.cc.temp ; if test "$ret" = 0; then echo '#include "htmlpageinfo.moc"' >>htmlpageinfo.cc; else rm -f htmlpageinfo.cc ; exit $ret ; fi
> 
> Error is:
> /usr/libexec/ld-elf.so.1: /usr/X11R6/plugins/designer/libwizards.so: Undefined symbol "_Z22qCleanupImages_wizardsv" 
> 
> Grepping the corresponding library:
> leafy@leafy:/usr/X11R6/plugins/designer$ nm libwizards.so |grep Z22
> 000256f0 T _Z22qCleanupImages_wizardsv
> 
> So ld is not finding a symbol which is in the correct library.
> 
> Jiawei Ye
>  

I'm not sure, but isn't the '-f' parameter required, if the portversion
didn't change but an upgrade should be forced?

Jens


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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