How to find out version information of a shared library file?

I need to know what version the shared library is on. Is there a command that'll show the library version?
OS is 32bit of Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
Kernel is 2.6.9-67.0.1.ELsmp
The library is called

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

try to use
'what [libraryname]'

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
as woolmilkporc mentioned what is a good command to get the version provided the library file supports that. another way is to use command

strings /path/to/libraryfile

which might catch relevant info
ckhsu1977Author Commented:
I don't have the what command installed. Which package is that from?
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

You could use
grep -A 3 "$(#)"
But, as omarfarid wrote, your library must support it.
Julian ParkerSenior Systems AdministratorCommented:
this is starting to sound a bit like whos on first...

it's the which package.... what!
forgot the first part -

strings [libraryname] |  grep -A 3 "$(#)"
Julian ParkerSenior Systems AdministratorCommented:
...or... I mean...
it's the what command.... which!

I think it may be depricated, check rpmfind.
ckhsu1977Author Commented:
what provided:
LIBRFC (c) SAP AG: Version: 640 Patch level: 0 Patch number: 165 thread-safe build 32 bit

Thank you all.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.