Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#21163 closed defect (worksforme)

cppunit on OS X 10.6 / Snow Leopard: libcppunit.dylib, file is not of required architecture

Reported by: njgreen@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: cppunit

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

Hi,

ports can install and build cppunit on 10.6 / Snow Leopard. But when building other apps that use the library, linking fails. Here is the message:

ld: warning: in /opt/local/lib/libcppunit.dylib, file is not of required architecture

Please have a look - thanks,
-Noah

Change History (8)

comment:1 Changed 15 years ago by tobypeterson

What is the output of lipo -info /opt/local/lib/libcppunit.dylib ? Also, what other ports are you trying to build?

comment:2 Changed 15 years ago by njgreen@…

Hi, Thanks so much for replying so quickly. Here's the output: Non-fat file: /opt/local/lib/libcppunit.dylib is architecture: x86_64

comment:3 Changed 15 years ago by tobypeterson

I asked two questions.

comment:4 Changed 15 years ago by njgreen@…

No other ports.

comment:5 Changed 15 years ago by tobypeterson

What did you mean by "But when building other apps that use the library, linking fails." then?

You're not providing any sort of information here; libcppunit appears to be the correct arch...

comment:6 Changed 15 years ago by njgreen@…

Close the ticket.

comment:7 Changed 15 years ago by tobypeterson

Resolution: worksforme
Status: newclosed

gladly!

comment:8 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: cppunit added
Note: See TracTickets for help on using tickets.