fragged my /usr/lib

harkyman

Registered
Hi folks... I'm a developer who works on the open source Blender project. I'd been developing on win32 under cygwin for a while, but the opportunity presented itself to use a Dual G5, and I couldn't resist.

I had my dev environment working just fine (gcc 3.3, xcode 1.2 under 10.3.9), compiling the project with scons. That Dual G5 just completely smoked the compile times on the win32 machine I'd been using! But then, I made the fateful error of moving some files from an OpenEXR lib into /usr/lib instead of into /usr/local/lib where they should have gone. After that, compiling the project, which had worked flawlessly before, failed. After much fooling around, I decided to attempt to upgrade to Tiger (I've had the disks for a while, but never the motivation to actually do it). The upgrade worked fine, and I updated to the latest Xcode as well (gcc 4, etc.)

But it didn't solve the compilation problem. I've spoken with some of the higher level Blender devs who use OS X, and they are of the opinion that it's a problem with my system, not with the project sources or scons configuration, but none of them know the compiler messages well enough to really pin down what I need to do.

Here are the last few lines that my system gives me before compilation dies:

/usr/bin/ld: warning -L: directory name (lib) does not exist
/usr/bin/ld: Undefined symbols:
std::__default_alloc_template<true, 0>::deallocate(void*, unsigned long)
std::__default_alloc_template<true, 0>::_S_free_list
__ZNSt24__default_alloc_templateILb1ELi0EE5_LockC4Ev
__ZNSt24__default_alloc_templateILb1ELi0EE5_LockD4Ev
std::__default_alloc_template<true, 0>::allocate(unsigned long)
collect2: ld returned 1 exit status
scons: *** [blender] Error 1
scons: building terminated because of errors.

Failing that anyone can identify something useful in those messages, can anyone give me advice on how I can restore my /usr/lib directory to it's original state without completely nuking my system and reinstalling it?
 
Well, you can try and do an Archive and Install installation of 10.3 which will preserve your files but will replace the System folder with a new one. I don't know if this will replace stuff in /usr/lib, but I imagine it would since you would be installaing a new system while preserving your apps and documents.

I would wait for some more responses just to be on the safe side before you do anything.
 
Back
Top