#52459: xQuartz fails to start when ports installed ------------------------+------------------------ Reporter: whitegr@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: | ------------------------+------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => jeremyhu@… Old description:
On fresh install of OSX 10.12, followed macports migrate instructions for fresh install of macports and uninstalled all ports. xQuartz runs fine. Then install one port (e.g. xterm), and I seem to get conflicts with the system libraries: now xQuartz no longer runs:
dyld: Symbol not found: __cg_png_create_info_struct Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO Expected in: /opt/local/lib/libPng.dylib in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO Abort trap: 6
New description: On fresh install of OSX 10.12, followed macports migrate instructions for fresh install of macports and uninstalled all ports. xQuartz runs fine. Then install one port (e.g. xterm), and I seem to get conflicts with the system libraries: now xQuartz no longer runs: {{{ dyld: Symbol not found: __cg_png_create_info_struct Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO Expected in: /opt/local/lib/libPng.dylib in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO Abort trap: 6 }}} -- Comment: This suggests that the `DYLD_LIBRARY_PATH` environment variable is set. Have you done that deliberately, perhaps in your shell startup file (~/.profile)? If so, remove that environment variable. -- Ticket URL: <https://trac.macports.org/ticket/52459#comment:1> MacPorts <https://www.macports.org/> Ports system for the Mac operating system