[MacPorts] #42788: freetype link error: "warning: ignoring file /opt/local/lib/libharfbuzz.dylib"

MacPorts noreply at macports.org
Sun Mar 9 23:22:14 PDT 2014


#42788: freetype link error: "warning: ignoring file
/opt/local/lib/libharfbuzz.dylib"
-----------------------+--------------------------
  Reporter:  pdm@…     |      Owner:  ryandesign@…
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.2.1
Resolution:  invalid   |   Keywords:
      Port:  freetype  |
-----------------------+--------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Replying to [comment:1 pdm@…]:
 > {{{
 > :info:build ld: warning: ignoring file /opt/local/lib/libharfbuzz.dylib,
 file was built for x86_64 which is not the architecture being linked
 (i386): /opt/local/lib/libharfbuzz.dylib
 > }}}

 So, I see you're trying to build freetype universal, but for some reason
 libharfbuzz is not universal. This should not be possible. The only way I
 can think of for this to happen is if you ran some third-party software
 installer which replaced libharfbuzz with a non-universal version. We have
 a [ProblemHotlist#xmlwf problem hotlist entry] dealing with that scenario.
 You can try rebuilding harfbuzz to fix this:

 {{{
 sudo port -n upgrade --force harfbuzz
 }}}

 But if a third-party installer overwrote parts of MacPorts, then who knows
 how many other libraries you've replaced with incorrect versions, and your
 best bet is to uninstall all ports and reinstall them.

-- 
Ticket URL: <https://trac.macports.org/ticket/42788#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list