Hello, I have tried linking the following two ways -L. -lxml2 -L. libxml2.so When I run ldd to see the dependencies, It depends libxml2.so.2 => ./libxml2.so.2 Even though I link with "libxml2.so", it's depending on libxml2.so.2 Why is that? Thanks Pankaja Kadakuntla.