[MacPorts] #53583: ncview fails on libudunits2.a test
MacPorts
noreply at macports.org
Mon Feb 27 09:46:38 UTC 2017
#53583: ncview fails on libudunits2.a test
------------------------------+-----------------
Reporter: basmac | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: ncview udunits2 |
------------------------------+-----------------
Comment (by pgf):
Replying to [comment:6 platipodium]:
> Bug confirmed. Workaround does not work for me:
>
> {{{
> > ncview
> dyld: Library not loaded: /opt/local/lib/libudunits2.0.dylib
> Referenced from: /opt/local/bin/ncview
> Reason: image not found
> }}}
I forgot to mention that you need to reinstall `ncview` after the creation
of the symlink. Sorry.[[BR]]
So the sequence is:
1. update `udunits2`
2. create the symlink as explained in my previous post
3. reinstall `ncview`
At the end of point 1 `port` tries to rebuild `ncview` (due to the `rev-
upgrade` feature) and fails.[[BR]]
On my platform, once `udunits2` has been updated the dylib is installed
as:
{{{
/opt/local/lib/libudunits2.dylib
}}}
note the missing `0` in the name. This is why you need to reinstall
`ncview`.[[BR]]
This worked for me.
--
Ticket URL: <https://trac.macports.org/ticket/53583#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list