Hi I'm trying to compile libsndfile 1.0.25 on Mac OSX 10.6
I've installed libvorbis-1.3.4 and libogg-1.3.1 with brew
1 - I tried installing libsndfile with brew
2 - I tried installing libsndfile manually with ./configure and make
The ./configure step does seem to find libvorbis and libogg, and I've confirmed these are x86_64 libraries. I hope there is a hint in the output that I do not understand how to implement and that somebody can quickly spot it. Thanks for looking!
THE BREW ERROR OUTPUT:
==> Downloading http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz
Already downloaded: /Library/Caches/Homebrew/libsndfile-1.0.25.tar.gz
==> Downloading patches
######################################################################## 100.0%
######################################################################## 100.0%
==> Patching
patching file programs/sndfile-play.c
patching file M4/clang.m4
patching file M4/really_gcc.m4
patching file configure.ac
==> autoreconf -i
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:207: error: possibly undefined macro: AC_SYS_EXTRA_LARGEFILE
configure.ac:295: error: possibly undefined macro: AC_OCTAVE_BUILD
autoreconf: /usr/bin/autoconf failed with exit status: 1
THE MANUAL MAKE ERROR OUTPUT:
CCLD libsndfile.la
Undefined symbols for architecture x86_64:
"_vorbis_comment_clear", referenced from:
_vorbis_end in ogg_vorbis.o
_vorbis_read_header in ogg_vorbis.o
_vorbis_close in ogg_vorbis.o
"_vorbis_info_clear", referenced from:
_vorbis_end in ogg_vorbis.o
_vorbis_read_header in ogg_vorbis.o
_vorbis_close in ogg_vorbis.o
"_ogg_stream_reset", referenced from:
_vorbis_read_header in ogg_vorbis.o
_ogg_open in libcommon.a(ogg.o)
"_ogg_sync_reset", referenced from:
_vorbis_read_header in ogg_vorbis.o
_ogg_open in libcommon.a(ogg.o)
"_ogg_sync_buffer", referenced from:
_vorbis_read_header in ogg_vorbis.o
_ogg_vorbis_open in ogg_vorbis.o
_vorbis_read_sample in ogg_vorbis.o
_ogg_open in libcommon.a(ogg.o)
"_ogg_sync_wrote", referenced from:
_vorbis_read_header in ogg_vorbis.o
_ogg_vorbis_open in ogg_vorbis.o
_vorbis_read_sample in ogg_vorbis.o
_ogg_open in libcommon.a(ogg.o)
"_ogg_sync_pageout", referenced from:
_vorbis_read_header in ogg_vorbis.o
_ogg_vorbis_open in ogg_vorbis.o
_vorbis_read_sample in ogg_vorbis.o
_ogg_open in libcommon.a(ogg.o)
"_ogg_stream_clear", referenced from:
_vorbis_read_header in ogg_vorbis.o
_ogg_vorbis_open in ogg_vorbis.o
_ogg_close in libcommon.a(ogg.o)
_ogg_open in libcommon.a(ogg.o)
"_ogg_page_serialno", referenced from:
_vorbis_read_header in ogg_vorbis.o
_ogg_vorbis_open in ogg_vorbis.o
_ogg_open in libcommon.a(ogg.o)
"_ogg_stream_init", referenced from:
_vorbis_read_header in ogg_vorbis.o
_ogg_vorbis_open in ogg_vorbis.o
_vorbis_write_header in ogg_vorbis.o
_ogg_open in libcommon.a(ogg.o)
"_ogg_stream_pagein", referenced from:
_vorbis_read_header in ogg_vorbis.o
_ogg_vorbis_open in ogg_vorbis.o
_vorbis_read_sample in ogg_vorbis.o
_ogg_open in libcommon.a(ogg.o)
"_ogg_stream_packetout", referenced from:
_vorbis_read_header in ogg_vorbis.o
_ogg_vorbis_open in ogg_vorbis.o
_vorbis_read_sample in ogg_vorbis.o
_ogg_open in libcommon.a(ogg.o)
"_vorbis_block_clear", referenced from:
_vorbis_read_header in ogg_vorbis.o
_vorbis_close in ogg_vorbis.o
"_vorbis_dsp_clear", referenced from:
_vorbis_read_header in ogg_vorbis.o
_vorbis_close in ogg_vorbis.o
"_vorbis_info_init", referenced from:
_vorbis_read_header in ogg_vorbis.o
_ogg_vorbis_open in ogg_vorbis.o
_vorbis_write_header in ogg_vorbis.o
"_vorbis_comment_init", referenced from:
_vorbis_read_header in ogg_vorbis.o
_ogg_vorbis_open in ogg_vorbis.o
_vorbis_write_header in ogg_vorbis.o
"_vorbis_synthesis_headerin", referenced from:
_vorbis_read_header in ogg_vorbis.o
_ogg_vorbis_open in ogg_vorbis.o
"_vorbis_synthesis_init", referenced from:
_vorbis_read_header in ogg_vorbis.o
"_vorbis_block_init", referenced from:
_vorbis_read_header in ogg_vorbis.o
_vorbis_write_header in ogg_vorbis.o
"_vorbis_comment_query", referenced from:
_vorbis_read_header in ogg_vorbis.o
"_vorbis_version_string", referenced from:
_ogg_vorbis_open in ogg_vorbis.o
"_ogg_sync_init", referenced from:
_ogg_vorbis_open in ogg_vorbis.o
_ogg_open in libcommon.a(ogg.o)
"_ogg_page_eos", referenced from:
_ogg_vorbis_open in ogg_vorbis.o
_vorbis_read_sample in ogg_vorbis.o
_vorbis_write_samples in ogg_vorbis.o
_vorbis_close in ogg_vorbis.o
"_ogg_sync_clear", referenced from:
_ogg_vorbis_open in ogg_vorbis.o
_ogg_close in libcommon.a(ogg.o)
_ogg_open in libcommon.a(ogg.o)
"_ogg_page_granulepos", referenced from:
_ogg_vorbis_open in ogg_vorbis.o
"_vorbis_synthesis_pcmout", referenced from:
_vorbis_read_sample in ogg_vorbis.o
"_vorbis_synthesis_read", referenced from:
_vorbis_read_sample in ogg_vorbis.o
"_vorbis_synthesis", referenced from:
_vorbis_read_sample in ogg_vorbis.o
"_vorbis_synthesis_blockin", referenced from:
_vorbis_read_sample in ogg_vorbis.o
"_vorbis_analysis_wrote", referenced from:
_vorbis_write_samples in ogg_vorbis.o
_vorbis_close in ogg_vorbis.o
"_vorbis_analysis_blockout", referenced from:
_vorbis_write_samples in ogg_vorbis.o
_vorbis_close in ogg_vorbis.o
"_vorbis_analysis", referenced from:
_vorbis_write_samples in ogg_vorbis.o
_vorbis_close in ogg_vorbis.o
"_vorbis_bitrate_addblock", referenced from:
_vorbis_write_samples in ogg_vorbis.o
_vorbis_close in ogg_vorbis.o
"_vorbis_bitrate_flushpacket", referenced from:
_vorbis_write_samples in ogg_vorbis.o
_vorbis_close in ogg_vorbis.o
"_ogg_stream_packetin", referenced from:
_vorbis_write_samples in ogg_vorbis.o
_vorbis_write_header in ogg_vorbis.o
_vorbis_close in ogg_vorbis.o
"_ogg_stream_pageout", referenced from:
_vorbis_write_samples in ogg_vorbis.o
_vorbis_close in ogg_vorbis.o
"_vorbis_analysis_buffer", referenced from:
_vorbis_write_d in ogg_vorbis.o
_vorbis_write_f in ogg_vorbis.o
_vorbis_write_i in ogg_vorbis.o
_vorbis_write_s in ogg_vorbis.o
"_vorbis_comment_add_tag", referenced from:
_vorbis_write_header in ogg_vorbis.o
"_vorbis_analysis_init", referenced from:
_vorbis_write_header in ogg_vorbis.o
"_vorbis_analysis_headerout", referenced from:
_vorbis_write_header in ogg_vorbis.o
"_ogg_stream_flush", referenced from:
_vorbis_write_header in ogg_vorbis.o
ld: symbol(s) not found for architecture x86_64