Hi, do you have automake too? If you take a quick look at *configure.ac <http://configure.ac>* of gpg 2.0, you will notice that it checks the presence of libgcrypt via the automake macro
*AM_PATH_LIBGCRYPT.* hth, Andy 2017-03-22 0:10 GMT+01:00 terry <[email protected]>: > Hi > I'm having problems compiling GPG on a Solaris 10 server using gcc v.3.4.3 > and gmake v.3.80 > > I've successfully compiled and installed the dependencies > > Libgpg-error (v 1.27) > Libgcrypt (v 1.7.6) > Libksba (v 1.3.5) > Libassuan (v 2.4.3) > nPth (v 1.3) > as below > > ./configure (no arguments, just used default) > gmake > gmake check (all tests passed) > gmake install > > All libraries went into /usr/local/lib by default where I can see them > When it came to compiling gnupg-2.0.30 I have hit problems with configure, > which fails with the following > configure: checking system features for estream > configure: > *** > *** You need libgcrypt to build this program. > ** This library is for example available at > *** ftp://ftp.gnupg.org/gcrypt/libgcrypt/ > *** (at least version 1.5.0 using API 1 is required.) > *** > configure: > *** > *** It is now required to build with support for the > *** GNU Portable Threads Library (Pth). Please install this > *** library first. The library is for example available at > *** ftp://ftp.gnu.org/gnu/pth/ > *** On a Debian GNU/Linux system you can install it using > *** apt-get install libpth-dev > *** To build GnuPG for Windows you need to use the W32PTH > *** package; available at: > *** ftp://ftp.g10code.com/g10code/w32pth/ > *** > configure: error: > *** > *** Required libraries not found. Please consult the above messages > *** and install them before running configure again. > > I then installed pth-2.0.7 (again configure, gmake, gmake check gmake > install) and configure found pth, but I'm still getting the libgcrypt > error > I can see the libraries in /usr/local/lib > -rwxr-xr-x 1 root root 274K Mar 21 17:46 > libgpg-error.so.0.22.0 > lrwxrwxrwx 1 root root 22 Mar 21 17:46 libgpg-error.so.0 -> > libgpg-error.so.0.22.0 > lrwxrwxrwx 1 root root 22 Mar 21 17:46 libgpg-error.so -> > libgpg-error.so.0.22.0 > -rwxr-xr-x 1 root root 1.1K Mar 21 17:46 libgpg-error.la > -rwxr-xr-x 1 root root 477K Mar 21 17:47 libassuan.so.0.7.3 > lrwxrwxrwx 1 root root 18 Mar 21 17:47 libassuan.so.0 -> > libassuan.so.0.7.3 > lrwxrwxrwx 1 root root 18 Mar 21 17:47 libassuan.so -> > libassuan.so.0.7.3 > -rwxr-xr-x 1 root root 1.2K Mar 21 17:47 libassuan.la > -rwxr-xr-x 1 root root 844K Mar 21 17:48 libksba.so.8.11.6 > lrwxrwxrwx 1 root root 17 Mar 21 17:48 libksba.so.8 -> > libksba.so.8.11.6 > lrwxrwxrwx 1 root root 17 Mar 21 17:48 libksba.so -> > libksba.so.8.11.6 > -rwxr-xr-x 1 root root 1.1K Mar 21 17:48 libksba.la > -rwxr-xr-x 1 root root 17K Mar 21 17:49 libnpth.so.0.0.6 > lrwxrwxrwx 1 root root 16 Mar 21 17:49 libnpth.so.0 -> > libnpth.so.0.0.6 > lrwxrwxrwx 1 root root 16 Mar 21 17:49 libnpth.so -> > libnpth.so.0.0.6 > -rwxr-xr-x 1 root root 925 Mar 21 17:49 libnpth.la > -rwxr-xr-x 1 root root 3.0M Mar 21 18:03 libgcrypt.so.20.1.6 > lrwxrwxrwx 1 root root 19 Mar 21 18:03 libgcrypt.so.20 -> > libgcrypt.so.20.1.6 > -rwxr-xr-x 1 root root 75K Mar 21 18:39 libpth.so.20.0.27 > lrwxrwxrwx 1 root root 17 Mar 21 18:39 libpth.so.20 -> > libpth.so.20.0.27 > lrwxrwxrwx 1 root root 17 Mar 21 18:39 libpth.so -> > libpth.so.20.0.27 > -rwxr-xr-x 1 root root 791 Mar 21 18:39 libpth.la > -rw-r--r-- 1 root root 93K Mar 21 18:39 libpth.a > -rwxr-xr-x 1 root root 1.7M Mar 21 20:18 libgcrypt.so.11.8.4 > lrwxrwxrwx 1 root root 19 Mar 21 20:18 libgcrypt.so.11 -> > libgcrypt.so.11.8.4 > lrwxrwxrwx 1 root root 19 Mar 21 20:18 libgcrypt.so -> > libgcrypt.so.11.8.4 > -rwxr-xr-x 1 root root 1.2K Mar 21 20:18 libgcrypt.la > > and have set LD_LIBRARY_PATH to /usr/local/lib ,but can't make any headway > Do you have any suggestions on how to proceed? > > _______________________________________________ > Gnupg-users mailing list > [email protected] > http://lists.gnupg.org/mailman/listinfo/gnupg-users > >
_______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
