That depends on how the library was compiled and which operating system you are running on. On Linux, you could use "ldd" against the binary in question (it it has been linked dynamically against libmysqlclient).
The most important thing you need to determine is if the client library is from before or after MySQL 4.1 (as this is when the client/server protocol changed). Updating the library also depends on the operating system and dependencies on other installed applications - there is no default answer here.
Bye,
LenZ
Lenz Grimmer - MySQL Community Relations Manager -
http://de.sun.com/
Sun Microsystems GmbH, Sonnenallee 1, 85551 Kirchheim-Heimstetten, DE
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels
Vorsitz d. Aufsichtsrates: Martin Haering AG Muenchen: HRB161028