dellat 0 Newbie Poster

I have more than one version of berkeleydb installed in my linux box and when I use
-ldb to link berkeleydb to my c code I couldn't know which version is linked to.
Please tell me which version is used by linker.

I can't configure eclipse cdt with berkeley db as I don't know which library path
I should define as there are many libdb-a.b.c etc. (from multiple versions of
berkeley db).
I want to know the path and name of exact libdb which is being linked by linker.

Thank you.