[MacPorts] #33965: qt4-mac runtime dyld symbol not found error

MacPorts noreply at macports.org
Mon Apr 9 21:24:45 PDT 2012


#33965: qt4-mac runtime dyld symbol not found error
--------------------------------+-------------------------------------------
  Reporter:  fleischer@…        |       Owner:  macports-tickets@…                   
      Type:  defect             |      Status:  closed                               
  Priority:  Normal             |   Milestone:                                       
 Component:  ports              |     Version:  2.0.4                                
Resolution:  invalid            |    Keywords:  qt4-mac  dyld symbol not found       
      Port:  qt4-mac            |  
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):

  * status:  new => closed
 * cc: michaelld@… (added)
  * resolution:  => invalid


Old description:

> On Mac OS 10.7.3, qt4-mac installs properly but crashes at runtime.
>
> MY PATH includes /opt/local/bin and DYLD_LIBRARY_PATH includes
> /opt/local/lib which I assume should cover all the bases
>

> $ sudo port selfupdate
> --->  Updating MacPorts base sources using rsync
> MacPorts base version 2.0.4 installed,
> MacPorts base version 2.0.4 downloaded.
> --->  Updating the ports tree
> --->  MacPorts base is already the latest version
>
> The ports tree has been updated. To upgrade your installed ports, you
> should run
>   port upgrade outdated
>
> $ sudo port install qt4-mac
> --->  Computing dependencies for qt4-mac
> --->  Fetching archive for qt4-mac
> --->  Attempting to fetch qt4-mac-4.7.4_1+quartz.darwin_11.x86_64.tbz2
> from http://packages.macports.org/qt4-mac
> --->  Attempting to fetch
> qt4-mac-4.7.4_1+quartz.darwin_11.x86_64.tbz2.rmd160 from
> http://packages.macports.org/qt4-mac
> --->  Installing qt4-mac @4.7.4_1+quartz
> --->  Activating qt4-mac @4.7.4_1+quartz
> --->  Cleaning qt4-mac
>

> $ qmake --version
> dyld: Symbol not found: __cg_jpeg_resync_to_restart
>   Referenced from:
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
>   Expected in: /opt/local/lib/libJPEG.dylib
>  in
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
> Trace/BPT trap: 5

New description:

 On Mac OS 10.7.3, qt4-mac installs properly but crashes at runtime.

 MY PATH includes /opt/local/bin and DYLD_LIBRARY_PATH includes
 /opt/local/lib which I assume should cover all the bases

 {{{
 $ sudo port selfupdate
 --->  Updating MacPorts base sources using rsync
 MacPorts base version 2.0.4 installed,
 MacPorts base version 2.0.4 downloaded.
 --->  Updating the ports tree
 --->  MacPorts base is already the latest version

 The ports tree has been updated. To upgrade your installed ports, you
 should run
   port upgrade outdated

 $ sudo port install qt4-mac
 --->  Computing dependencies for qt4-mac
 --->  Fetching archive for qt4-mac
 --->  Attempting to fetch qt4-mac-4.7.4_1+quartz.darwin_11.x86_64.tbz2
 from http://packages.macports.org/qt4-mac
 --->  Attempting to fetch
 qt4-mac-4.7.4_1+quartz.darwin_11.x86_64.tbz2.rmd160 from
 http://packages.macports.org/qt4-mac
 --->  Installing qt4-mac @4.7.4_1+quartz
 --->  Activating qt4-mac @4.7.4_1+quartz
 --->  Cleaning qt4-mac


 $ qmake --version
 dyld: Symbol not found: __cg_jpeg_resync_to_restart
   Referenced from:
 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
   Expected in: /opt/local/lib/libJPEG.dylib
  in
 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
 Trace/BPT trap: 5
 }}}

--

Comment:

 Please unset DYLD_LIBRARY_PATH; having it set causes problems.

-- 
Ticket URL: <https://trac.macports.org/ticket/33965#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list