- Home /
duplicate symbol link error since integrating a plugin also using ogg vorbis
Hi all, I have a quite serious issue here blocking me in my project. I use the iPhone TTS acapala for iPhone SDK. This SDK provides a static library that uses ogg vorbis. The Unity libiPhone-lib.a static library also uses ogg vorbis, resuting in a wonderful :
ld: duplicate symbol _ov_streams in /somepath/acapelaTTSforiPhone-1.201-sdk/lib/libMobilityStatic.a(vorbisfile.o) and /someotherpath/Libraries/libiPhone-lib.a(vorbisfile.o)
I have found some solution that do not work for me.
Do you guys have at least a clue of how I can solve this ?
thanks...
Answer by Nawash · Mar 30, 2012 at 03:14 PM
Problem solved. while I was trying this WONDERFUL solution: http://stackoverflow.com/questions/2910205/how-to-handle-duplicate-symbol-error-from-3rd-party-libraries http://stackoverflow.com/questions/5352113/how-do-i-turn-a-fat-library-into-a-non-fat-library
One of the third party company was kind enough to rename the symbol to avoid collision and send me the new libraries The collision concerns ogg vorbis library. It is now duplicated in memory but it works. To avoid duplication it would be nice that the 2 companies work together : Unity and Acapela group.