[MacPorts] #49327: glib2 @2.46.1: universal build fails: '/opt/local/lib/libbz2.1.0.dylib', file was built for x86_64 which is not the architecture being linked (i386)

MacPorts noreply at macports.org
Sun Oct 18 21:09:42 PDT 2015


#49327: glib2 @2.46.1: universal build fails: '/opt/local/lib/libbz2.1.0.dylib',
file was built for x86_64 which is not the architecture being linked (i386)
---------------------------------+--------------------------
  Reporter:  srvanukuri@…        |      Owner:  ryandesign@…
      Type:  defect              |     Status:  closed
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:  2.3.4
Resolution:  fixed               |   Keywords:
      Port:  glib2, glib2-devel  |
---------------------------------+--------------------------
Changes (by ryandesign@…):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 But I was able to reproduce the problem on my system. It occurred to me
 that although glib2 is trying to build an internal copy of pcre, it might
 either at the last minute be using the MacPorts copy of pcre (which uses
 bzip2), or else the internal copy of pcre also needs bzip2. A solution
 would be to instruct glib2 to use the MacPorts version of pcre, that way
 MacPorts will ensure it is universal. That's what I did in r141451.

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


More information about the macports-tickets mailing list