Hi guys,
I'm trying to build and install libogg and libvorbis from the tar.gz source packages on
Mac OS X 10.7.1libogg-1.3.0.tar.gz
libvorbis-1.3.2.tar.gzFirst up I install libogg:
./configure
make
sudo make install
All works fine. Files are installed in /usr/local/include, /usr/local/lib, etc. as expected.
Now when I run
configure on libvorbis, I get the following:
checking for Ogg... no
*** Could not run Ogg test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occurred. This usually means Ogg was incorrectly installed
*** or that you have moved Ogg since it was installed.
configure: error: must have Ogg installed!
I wrote and compiled my own C program to test that Ogg is installed properly, and everything worked. So I'm pretty sure Ogg is installed correctly.
Inspection of the
config.log file reveals the following error:
configure:12668: gcc -o conftest -DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -04 -ffast-math -fsigned-char -DUSE_MEMORY_H conftest.c -logg >&5
ld: in /var/folders/.../ccZoNQ0N.o, could not parse object file /var/folders/.../ccZoNQ0N.o: Malformed metadata record for architecture x86_64
collect2: ld returned 1 exit status
The problem appears to be a linker error. Since my own test worked okay, the problem must be with the configure script itself?
Thanks in advance.