Discussion:
[MacPorts] #57692: cargo upgrade to 0.31.1_1 fails due to dyld: Symbol not found
MacPorts
2018-11-27 23:16:33 UTC
Permalink
#57692: cargo upgrade to 0.31.1_1 fails due to dyld: Symbol not found
---------------------+--------------------
Reporter: hapaguy | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: cargo
---------------------+--------------------
Xcode 10.1 on macOS 10.14.1

cargo upgrade to 0.31.1_1 fails:
{{{
$ sudo port -sv upgrade cargo
...
dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from:
/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /opt/local/lib/libJPEG.dylib
...
}}}
I believe that this issue is due to the wrong libJPEG.dylib is loaded,
i.e.
{{{
/opt/local/lib/libJPEG.dylib
}}}
is loaded instead of the correct:
{{{
/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
}}}
This issue has been encountered in the past on other ports, for example:
#57594.
--
Ticket URL: <https://trac.macports.org/ticket/57692>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-27 23:16:46 UTC
Permalink
#57692: cargo upgrade to 0.31.1_1 fails due to dyld: Symbol not found
----------------------+--------------------
Reporter: hapaguy | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: cargo |
----------------------+--------------------
Changes (by hapaguy):

* Attachment "main.log" added.
--
Ticket URL: <https://trac.macports.org/ticket/57692>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-28 01:50:29 UTC
Permalink
#57692: cargo upgrade to 0.31.1_1 fails due to dyld: Symbol not found
----------------------+---------------------------------
Reporter: hapaguy | Owner: MarcusCalhoun-Lopez
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords:
Port: cargo |
----------------------+---------------------------------
Changes (by MarcusCalhoun-Lopez):

* owner: (none) => MarcusCalhoun-Lopez
* status: new => closed
* resolution: => fixed


Comment:

In [changeset:"ed645cc03c46e4d41fae0370b06777abbd6e89ce/macports-ports"
ed645cc03c46e4d41fae0370b06777abbd6e89ce/macports-ports] (master):
{{{
#!ConfigurableCommitTicketReference repository="macports-ports"
revision="ed645cc03c46e4d41fae0370b06777abbd6e89ce"
cargo: avoid setting DYLD_LIBRARY_PATH

Revert part of https://github.com/macports/macports-
ports/commit/08960a3ac3a1c9690e149206156ccf0e53afd8e0

Fixes https://trac.macports.org/ticket/57692
See https://github.com/rust-lang/cargo/pull/6355
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57692#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...