Opened 10 years ago

Closed 10 years ago

#45447 closed defect (invalid)

cmake fails to build complaining about symbols not found during link stage

Reported by: glen@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: cmake

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Build fails with:

ld: warning: ignoring file /Library/Frameworks/libexpat.framework/libexpat, file was built for unsupported file format ( 0xFE 0xED 0xFA 0xCE 0x00 0x00 0x00 0x12 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x06 ) which is not the architecture being linked (x86_64): /Library/Frameworks/libexpat.framework/libexpat"

in log file being the apparent proximate cause.

I am running MacPorts 2.3.2 with OSX 10.10 and XCode 6.1.

Attachments (1)

main.log (162.2 KB) - added by glen@… 10 years ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by glen@…

Attachment: main.log added

main.log

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Please remove /Library/Frameworks/libexpat.framework, and for that matter anything else you have in /Library/Frameworks; it can conflict with MacPorts, as you see here.

comment:2 Changed 10 years ago by glen@…

That worked. Thanks.

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.