Hey there!
That's not really what dlsym is for.
What language are these classes written in? Do that language have built-in support for dynamic loading (like Java, for example)?
If you're programming in C++, you can certainly use shared libraries ... but your shared object would typically contain *many* classes. And you'd have to invent your own protocol for a) "discovering" which library to load, and b) which class(es) to load from that library.
Apple has some very interesting guidelines for what kinds of things to consider if you wish to create your own shared libraries:
http://developer.apple.com/documenta...idelines.html#