mxcl/homebrew — Issue #8844: speex fails to install
Author: asymmetric
Created: 2011-11-28 18:53:13+00:00
State: open

Hi!

I'm trying to install `speex`, as it is a dependency of `mpd`, but i'm encountering some issues.

[Here](https://gist.github.com/1401472)'s the output of `brew install -v speex`, and [this](https://gist.github.com/1401475) is the output of `brew list --unbrewed | egrep '^(lib|include)'`.

I ran `brew doctor` but apparently `Your system is raring to brew.`

The [error](https://gist.github.com/1401472#L427) seems to be:

````
Undefined symbols for architecture x86_64:
"_ogg_stream_init", referenced from:
_main in speexenc.o
"_ogg_stream_packetin", referenced from:
_main in speexenc.o
_add_eos_packet_to_stream in skeleton.o
_add_fisbone_to_stream in skeleton.o
_add_fishead_to_stream in skeleton.o
"_ogg_stream_flush", referenced from:
_main in speexenc.o
_flush_ogg_stream_to_file in skeleton.o
"_ogg_stream_pageout", referenced from:
_main in speexenc.o
"_ogg_stream_clear", referenced from:
_main in speexenc.o
ld: symbol(s) not found for architecture x86_64
````

One strange thing is that [it says](https://gist.github.com/1401472#L365) that libraries have been installed in `/usr/local/Cellar/speex/1.2rc1/lib`, but that's not the case.

Anyone knows whats' going on? Should I remove some of the dirs found by `brew list --unbrewed`?

Thanks!