0

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?

Community
  • 1
  • 1
Dragomir Ivanov
  • 534
  • 7
  • 19
  • Use the `close` link under the question body. If I'm not mistaken, you should be able to vote to close your own question as a duplicate, even with 55 rep. After 5 such votes have been cast, the question will be closed. Alternatively, you can delete your question if you think the close process takes too much time. – Frédéric Hamidi Jan 31 '12 at 13:28
  • I see only `link | edit | delete | flag`, no `close`. Do I am looking at the right place? – Dragomir Ivanov Jan 31 '12 at 13:36
  • You're looking at the right place. I was under the impression that you could close your own question, but I was wrong. You can either delete it or wait for the community to accumulate five close votes. – Frédéric Hamidi Jan 31 '12 at 13:41

0 Answers0