Problem with apxs under Fedora 7 x86_64

I was trying to compile mod_openpgp under Fedora 7 x86_64 with command:

apxs -c -Wc,-g -i -l gpgme -l gpg-error -I /usr/include/ mod_openpgp.c

Output was:

cannot open /httpd/build/ No such file or directory at /usr/sbin/apxs line 201.

The problem caused because pkg-config --variable=libdir apr-1 was giving just nothing. It happens because I had installed apr-devel.i386 and httpd-devel.x86_64.
Problem solved by removing i386 apr-devel and installing x86_64 version instead 🙂


  1. Hey 😉 – Good catch! Would you like to add those details to the ? BTW, it’s mod_openpgp, not mod_auth_openpgp.

    Hope you find it useful. Stay tuned, and use the svn version if you can.

    Let me know if you need any assistance with getting gpg to work server-side.

    Hash: SHA1

    Yes, if it is usefull you can add it to wiki. I haven’t tried how it works, but already installed it on my server. I am looking forward to make main admin access on our web sites through openpgp authentication. I’ll write you when I start making this 🙂

    Thanks for great tool 🙂
    Version: GnuPG v1.4.7 (GNU/Linux)


  3. Hey 😉 – I’ll add the details to the wiki along with a link to this post.

    Feel free to eMail me privately if you want to discuss ideas. Mod_openpgp provides secure session initiation and request verification, but how you use that data is up to the application.

    If you tried the ‘Begin Session’ test (and if your openpgp key is on a well known server) then you’ll see the useful headers you can use for authentication.

    I’m working on a MyBB Enigform plugin, and have plans for wordpress, too.


Leave a Reply to Alex Amiryan Cancel reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.