[MacPorts] #45664: mecab-java linker error
MacPorts
noreply at macports.org
Tue Oct 28 04:22:25 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
Resolution: | Keywords:
Port: mecab-java |
-------------------------------+--------------------------------
Changes (by ryandesign@…):
* keywords: mecab-java iconv libiconv =>
Old description:
> 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
New description:
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: #43698 [[br]]
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
}}}
--
Comment:
Why is /usr/lib/libmecabra.dylib (which, based on its location in
/usr/lib, appears to be provided by the operating system) referencing
anything in /opt/local (which is MacPorts territory)? Do you perhaps have
the `DYLD_LIBRARY_PATH` environment variable set? If so, unset it.
--
Ticket URL: <https://trac.macports.org/ticket/45664#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list