[solved] using Speex codec

I want to test Speex, so I’ve downloaded and compiled it and re-compiled Asterisk.

Finally I have codec_speex.so in /usr/lib/asterisk/modules/ but I don’t see that I have speex translations when I’m doing ‘core show translation’.

I’ve checked my startup process and got this:
WARNING[5657]: loader.c:363 load_dynamic_module: Error loading module ‘codec_speex.so’: libspeexdsp.so.1: cannot open shared object file: No such file or directory
WARNING[5657]: loader.c:649 load_resource: Module ‘codec_speex.so’ could not be loaded.

What’s wrong with libspeexdsp.so.1 and how can I fix this?

Solved by creating the links in /usr/lib/ :

ln -s /usr/local/lib/libspeexdsp.so.1 libspeexdsp.so.1
ln -s /usr/local/lib/libspeex.so.1 libspeex.so.1