[MacPorts] #43698: In libiconv, renaming of symbols from _iconv to _libiconv. Why?
#43698: In libiconv, renaming of symbols from _iconv to _libiconv. Why? ----------------------------+-------------------------------- Reporter: cath.gasnier@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.3.0 Component: ports | Version: 2.2.1 Keywords: libiconv | Port: ----------------------------+-------------------------------- Fighting for a long time to compile SRILM (a language processing software), I realized (using command nm) that the macports libiconv has symbols _libiconv, _libiconv_open and _libiconv_close, while the original Mac OS X libiconv, in /usr/lib in my case, has symbols _iconv, _iconv_open and _iconv_close (so I had to use the library in /usr/lib for my program to compile). Why this renaming? -- Ticket URL: <https://trac.macports.org/ticket/43698> MacPorts <http://www.macports.org/> Ports system for OS X
#43698: In libiconv, renaming of symbols from _iconv to _libiconv. Why? -----------------------------+-------------------------- Reporter: cath.gasnier@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: libiconv Port: | -----------------------------+-------------------------- Changes (by cal@…): * owner: macports-tickets@… => ryandesign@… * cc: cal@… (added) * milestone: MacPorts 2.3.0 => Comment: This rename is transparent for you if you use the headers matching the library. The headers installed by the MacPorts `libiconv` port contain `#define iconv libiconv`. If this doesn't work for you out of the box, your header include path is probably wrong. This isn't a change introduced by MacPorts. We package libiconv with the default options from upstream. It seems Apple either uses a different implementation or defines the `LIBICONV_PLUG` preprocessor constant while building libiconv. Please don't set the milestone field when reporting bugs against ports. Also, Cc the maintainer of the port(s), if any. -- Ticket URL: <https://trac.macports.org/ticket/43698#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43698: In libiconv, renaming of symbols from _iconv to _libiconv. Why? -----------------------------+-------------------------- Reporter: cath.gasnier@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: libiconv | -----------------------------+-------------------------- Changes (by mf2k@…): * keywords: libiconv => * port: => libiconv -- Ticket URL: <https://trac.macports.org/ticket/43698#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43698: In libiconv, renaming of symbols from _iconv to _libiconv. Why? -----------------------------+-------------------------- Reporter: cath.gasnier@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: libiconv | -----------------------------+-------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Right, this is not a bug. -- Ticket URL: <https://trac.macports.org/ticket/43698#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts