pkg-config version is reported incorrect after install (Mandriva 10.2)
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
You should have installed it over the old version, i.e. using:
if pkgconfig was installed under /usr/lib/pkgconfig. If you don't want to reinstall you have to set the PATH and PKG_CONFIG_PATH accordingly, i.e .if you installed the newer version in /usr/local (the default) then:
You should use the Mandriva package manager (I think it's urpmi) to remove it.
But, I suggest you to uninstall the software you have installed from source (pkgconfig and glib2) and use that package manager to update to the newer versions. Because later you're going to fall in various dependencies that are not satisfied by the way you have compiled the sources.
when I rebooted, I had the same trouble with pkg-config version. Why is that ?
In order to be able to use always the environment variables you set, you must either put them in /etc/profile to be valid for all users, or to a user's ~/.profile (or ~/.bashrc, or ~/bash_profile whatever your distro uses) to be valid for that user. I suggest you to put them in /etc/profile, i.e. edit /etc/profile and add the 2 "export" statements there. Also if you go on with installing software from source in /usr/local (I'm also doinig so ) you must put "/usr/local/lib" in your /etc/ld.so.conf to be able to use the libraries you're installing there.