Thanks a lot for the info!
I installed MySQL from source codes, and 'rpm -qa' can find it. Why?
Is glib2 and glib-2.xxx the same package?
Quote:
Originally Posted by
pludi
RPM only knows about packages that are registered with it's database, and that contains only packages installed using RPM. So if you compile and install a library from source, it won't register with RPM. You'll have to build a package, and then install that. Best way would be to install the source package for glib2-2.12.3, and use rpmbuild and /usr/src/packages/SPECS/glib2.spec as starting points.
Also, if you absolutely have to install a newer version of a library by hand and want to overwrite the old installation, it's sometimes a good idea to remove the old library first. Otherwise, a repair feature could destroy all your effort.