MacPorts
2018-11-27 23:16:33 UTC
#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.
---------------------+--------------------
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
Ticket URL: <https://trac.macports.org/ticket/57692>
MacPorts <https://www.macports.org/>
Ports system for macOS