A tip: sometimes you install stuff from source and library search order makes analyzing which library you are actually using a mess. A useful tool is ldconfig -p
that will print the cache of the dynamic linker for you allowing you to understand which libraries are actually being used.