#13634: need to run ranlib on cregistry.a ------------------------------------+--------------------------------------- Reporter: jeffadams78@yahoo.com | Owner: jmpp@macports.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: | Keywords: ------------------------------------+--------------------------------------- Comment (by jeffadams78@yahoo.com): Here's the actual error, just in case it is helpful: {{{ cc -dynamiclib -L/usr/local/lib registry.o util.o entry.o entryobj.o -o registry.dylib -L/System/Library/Frameworks/Tcl.framework/Versions/8.4 -ltclstub8.4 -L/usr/local/lib ../cregistry/cregistry.a -lsqlite3 ld: archive: ../cregistry/cregistry.a has no table of contents, add one with ranlib(1) (can't load from it) /usr/bin/libtool: internal link edit command failed make[2]: *** [registry.dylib] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1 }}} Here's the output of the file command: {{{ jeff$ file src/cregistry/cregistry.a src/cregistry/cregistry.a: current ar archive }}} This is when building from source. Let me know how badly you need the output from a selfupdate... in order to get you that, I'll have to move aside my (now working) 1.6 install, download and install 1.5 (probably from source I guess, depends what archives are available for download), and then run selfupdate again. Unless there's an easy way to restore my old 1.5, but I doubt it since I "make install"ed the 1.6 version over top of it (didn't want to have to reinstall all my ports). Also FYI, doubt it is related but just in case... I'm having trouble getting the cmake port installed (using 1.6). It fails: {{{ [ 64%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmDependsJavaParser.o *** malloc_zone_malloc[4222]: argument too large: 3609800964 cc1plus: out of memory allocating 3609800964 bytes after a total of 0 bytes make[2]: *** [Source/CMakeFiles/CMakeLib.dir/cmDependsJavaParser.o] Error 1 make[1]: *** [Source/CMakeFiles/CMakeLib.dir/all] Error 2 make: *** [all] Error 2 Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13634#comment:4> MacPorts </projects/macports> Ports system for Mac OS