[Vorbis] Configure error, Ogg not found on Mac OS X
Joshua Root
josh+xiph at root.id.au
Sun Apr 20 09:11:19 PDT 2014
On 2014-4-21 00:18 , Unga wrote:
>
>
> Hi all
>
> I'm trying to compile and install libvorbis 1.3.4 on Mac OS X (Mavericks).
>
> When try to run configure, it shows the following error:
>
> CC=clang ./configure \
> --prefix=/usr --with-ogg-libraries=/usr/lib \
> --with-ogg-includes=/usr/include --enable-shared --disable-static
Leaving aside that /usr is vendor-land and thus not a great place to be
installing...
> checking for Ogg... no
> *** Could not run Ogg test program, checking why...
>
> The config.log shows:
>
> configure:12648: checking for Ogg
> configure:12683: clang -o conftest -DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char -Wdeclaration-after-statement -DUSE_MEMORY_H -I/usr/include conftest.c -L/usr/lib -logg >&5
> clang: warning: -O4 is equivalent to -O3
> ld: library not found for -logg
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
...have you tried running clang with -v to see the linker command as it
suggests?
- Josh
More information about the Vorbis
mailing list