On Fri, 21 Dec 2012, anil beniwal wrote:
[root@mmprodam01 ~]# ldd /apps/db4/bin/db_recover libdb-4.8.so => /apps/db4/lib/libdb-4.8.so (0x00007f1ba4c31000)
That's what I'd hope for. I wonder if you somehow got the system's db4.7 headers when you were compiling your local copy of db4.8? (Although I'd think that'd #error out...hmm.)
You might be able to strings(1) or similarly dump the /apps/db4/lib/libdb-4.8.so and try to see what it thinks.