Now that's embarassing :
I have not noticed that there were separated packs for flacs and wavs for cmus in the ports.I just had to pkg_add them and bingo.
On the other hand it was good because i learnt the existence of ldd while i was trying to figure out what was the problem. :P
Thanks everyone for your answers.