x


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...

more ▼

asked Mar 28 '12 at 03:13 AM

Nawash gravatar image

Nawash
55 2 2 7

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered Mar 30 '12 at 03:14 PM

Nawash gravatar image

Nawash
55 2 2 7

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2025
x284
x75

asked: Mar 28 '12 at 03:13 AM

Seen: 550 times

Last Updated: Mar 30 '12 at 03:14 PM