Date: Mon, 17 Jan 2011 15:09:29 +0000 From: Pete French <petefrench@ticketswitch.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/154086: libsicui18n.a in icu constains no symbols Message-ID: <E1Peqi1-000GiD-Cv@dilbert.ticketswitch.com> Resent-Message-ID: <201101171510.p0HFA9ou009640@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 154086 >Category: ports >Synopsis: libsicui18n.a in icu constains no symbols >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 17 15:10:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Pete French >Release: FreeBSD 8.2-PRERELEASE amd64 >Organization: Ticketswitch >Environment: System: FreeBSD dilbert.rattatosk 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #0: Fri Jan 14 12:14:57 GMT 2011 petefrench@dilbert.rattatosk:/usr/obj/usr/src/sys/GENERIC amd64 >Description: /usr/ports/devel/icu isnatlls both synamic and static versions of it's libraries into /usr/local/lib - the static ones being prefixed with 's' compared to the dymanic ones. The latest version of icu - icu-4.6 - will not link staticly. Upon investigation the problem is the static version of i18n - libsicui18n. If 'nm' is applied to this, it claims that all the object files cntain no symbols. If an application is linked against the dynamic version of the library it works, but linking against the static version fails. The problem does not apply to the other static versions of the libraries. They work fine. >How-To-Repeat: Write some code using ICU - change the -licui18n option at link time to -lsicui18n and observer that it no longer links, failing with multiple "undefined reference" errors. >Fix: There is no workaround which will allow static linking that I have found. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Peqi1-000GiD-Cv>