Possible Duplicate:
How to specify the library version to use at link time?
Resolved in question: How to specify the library version to use at link time?
Thank you.
probably is lame question, but I have no answer after couple hours of searching.
I have two libraries in /usr/lib/
libmy.so.0.0.0
libmy.so.0 -> libmy.so.0.0.0
libmy.so.1.0.0
libmy.so.1 -> libmy.so.1.0.0
libmy.so -> libmy.so.1.0.0
I have an app, whose next branch builds against version 1.0.0, and current branch builds against 0.0.0. But I can't tell the compiler which version I want to compile against. E.g. I cant say -lmy.so.1
Is there a way of doing that in Linux?