Cups installation error: libcups.2.dylib: mach-o, but wrong architecture

am having some trouble with cups. I downloaded the latest source (1.2.10) from easysw.com. I ran configure with no options, and then ran make and make install. I got no serious errors. When I try to run safari, I get the following in the console window:

dyld: Library not loaded: /usr/lib/libcups.2.dylib
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
Reason: no suitable image found. Did find:
/usr/lib/libcups.2.dylib: mach-o, but wrong architecture
/usr/lib/libcups.2.dylib: mach-o, but wrong architecture

I have tried re-compiling with the flag -arch i386, which is what uname reports, put I get get the same result. I don't know what platform the system may be looking for, but I do need to get this working. Any help would be appreciated.

By the way, CUPS seems to work with Firefox.

mini, Mac OS X (10.4.8), Cups 1.2.10

Posted on Mar 23, 2007 11:11 AM

Reply
1 reply

Mar 23, 2007 5:27 PM in response to Teresa Meerschaert

I don't have an answer for you. However, you might want to check to see what architecture the /usr/lib/libcups.2.dylib that your install of CUPS uses. Compare that to the architecture of the same file that Apple supplied. On the PPC side, the latest libcups.2.dylib is included on the combined OS 10.4.9 combo updater.

<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #000; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">file /usr/lib/libcups.2.dylib
OR
lipo -info /usr/lib/libcups.2.dylib</pre>

Matt


Mac Mini G4; B&W G3/300

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Cups installation error: libcups.2.dylib: mach-o, but wrong architecture

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.