Compiling: libpango-1.0.dylib has no table of contents on Mac OS X 10.5 PPC
I am trying to build pango-1.36.3 as a dynamic library for Mac OS X 10.5 PPC. This is part of the dependencies I am putting togther, so I can build my own copy of the GIMP. I have built my own GIMP in the past and have had no problems compiling Pango. However, this time, the build fails when trying to link the executable pango-querymodules.
I get an error telling me that I have some undefined symbols. These symbols should be in the copy of libpango-1.0.dylib that was just built. When I find that library and run otool -Tv on it I find that it has no table of contents. When I tried otool -tv to disassemble the text section I find that the symbols are indeed there, but there is an empty table of contents so the library cannot be linked against. I was able to complete the compile when building only static libraries, but I do not want to use this build as the OSX "way" is to use dynamic libraries. I am on a newer installation of OSX 10.5 than when I built Pango earlier, so something must be awry in my build system. BTW, this also happens when trying to build GDK-Pixbuf, another Gnome library. I have not found anything useful on Google after hours of searching.
Can anybody give me a pointer as to where to look to fix this problem?
15" Aluminum Powerbook G4, Mac OS X (10.5.8), 1.25 GHz, 1 GB Ram