[MacPorts] #21260: swi-prolog fails because of ncurses (missing required architecture x86_64 in file)

MacPorts noreply at macports.org
Mon Nov 16 15:30:30 PST 2009


#21260: swi-prolog fails because of ncurses (missing required architecture x86_64
in file)
---------------------------------------+------------------------------------
 Reporter:  herbert.fischer@…          |       Owner:  J.Wielemaker@…     
     Type:  defect                     |      Status:  new                
 Priority:  Normal                     |   Milestone:                     
Component:  ports                      |     Version:  1.8.0              
 Keywords:                             |        Port:  swi-prolog         
---------------------------------------+------------------------------------

Comment(by arnsholt@…):

 I've encountered the same problem when trying to install on Snow Leopard
 (10.6.2 to be precise). To me, it looks like the problem is that the
 linker starts looking for candidates in /usr/lib, rather than
 /opt/local/lib and that /usr/lib/libncurses.5.dylib for some bizarre
 reason only has i386 and ppc versions, while libncurses.5.4.dylib (which
 is linked to by libncurses.dylib) has x86_64 as well.

 A quick fix that worked for me was to install swi-prolog-lite instead.
 Making libncurses.5.dylib link to libncurses.5.4.dylib should also fix it
 (I think that's the way it's supposed to be anyways), but I'd rather not
 muck around too much in my /usr/lib. Another option would be to get the
 linker to use /opt/local/lib/libncurses.5.dylib instead, which is x86_64.

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


More information about the macports-tickets mailing list