[MacPorts] #45664: mecab-java linker error
MacPorts
noreply at macports.org
Tue Oct 28 02:12:59 PDT 2014
#45664: mecab-java linker error
---------------------------------------+--------------------------------
Reporter: mattes.angelus@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.2
Keywords: mecab-java iconv libiconv | Port: mecab-java
---------------------------------------+--------------------------------
trying to run java programm with macports mecab-java throws an exception,
since macports libiconv (macports mecab depends on it) conflicts with
yosemites system libiconv:
dyld: Symbol not found: _iconv
Referenced from: /usr/lib/libmecabra.dylib
Expected in: /opt/local/lib//libiconv.2.dylib
in /usr/lib/libmecabra.dylib
This bug seems related to this: https://trac.macports.org/ticket/43698
When i try to use system libiconv (rename macports libiconv libs) the java
class throws this error:
java.lang.UnsatisfiedLinkError: /opt/local/lib/libmecab-java.dylib:
Library not loaded: /opt/local/lib/libiconv.2.dylib Referenced from:
/opt/local/lib//libmecab.2.dylib Reason: Incompatible library version:
libmecab.2.dylib requires version 8.0.0 or later, but libiconv.2.dylib
provides version 7.0.0
--
Ticket URL: <https://trac.macports.org/ticket/45664>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list