I just compiled GnuPG from source on my GNU/Linux RPM-based system and its not working. Why?
Many GNU/Linux distributions that are RPM-based will install a version of GnuPG as part of its standard installation, placing the binaries in the /usr/bin directory. Later, compiling and installing GnuPG from source other than from a source RPM won’t normally overwrite these files, as the default location for placement of GnuPG binaries is in /usr/local/bin unless the ‘–prefix’ switch is used during compile to specify an alternate location. Since the /usr/bin directory more than likely appears in your path before /usr/local/bin, the older RPM-version binaries will continue to be used when called since they were not replaced. To resolve this, uninstall the RPM-based version with ‘rpm -e gnupg’ before installing the binaries compiled from source. If dependency errors are displayed when attempting to uninstall the RPM (such as when Red Hat’s up2date is also installed, which uses GnuPG), uninstall the RPM with ‘rpm -e gnupg –nodeps’ to force the uninstall. Any dependent files should be a
Related Questions
- I can build Subversion from working copy source on Debian GNU/Linux; I get errors at the final link stage. Whats wrong?
- Many companies contributed to the system as it is today; doesn that mean we ought to call it GNU/Redhat/Novell/Linux?
- I just compiled GnuPG from source on my GNU/Linux RPM-based system and its not working. Why?