log4cpp universal dylib on OS X
Configure and make using GCC 4.0 for x86_64 i386 and ppc against the 10.5 sdk then modify the library using install_name_tool.
$ ./configure --disable-dependency-tracking
$ make CC="gcc-4.0 -arch x86_64 -arch i386 -arch ppc7400" CXX="g++ -arch x86_64 -arch i386 -arch ppc7400 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5"
$ cd src/.libs/
$ rm liblog4cpp.dylib
$ cp liblog4cpp.4.0.6.dylib liblog4cpp.dylib
$ install_name_tool -id @executable_path/liblog4cpp.dylib liblog4cpp.dylib
You may or may not need to modify the library after running make, it depends how the library is bundled with your application.