Well, as far as making sure that the library gets loaded, /etc/ld.so.conf is the file you need to make sure has an entry to your library's directory (e.g. if your library is /usr/local/lib/abc_123.so.2, then you need to make sure that one line in /etc/ld.so.conf is /usr/local/lib) and then run
ldconfig. Within the Mandriva Wiki, the page that discusses how to install from source code has
a section on making sure that the libraries get loaded.
As far as adding a kernel module, well, if you have a pre-compiled one that you know will run with your kernel, you can copy it into one of the directories that is listed in /etc/ld.so.conf. I'd recommend still using /usr/local/lib to cut down the possibility of 'clobbering'/overwriting an existing library that might have the same name.
If you are talking about building a kernel module, well, I think that might be more work than you would care to do for something as simple as this.
HTH. Let us know.