More recent versions of MHD are requiring newer versions of gnutls then RH
can provide, so I'm trying to build gnutls from source with a prefix into a
third party lib bundle for my project.  I get all the way up to the part
where gnutls fails on finding the nettle libs even though I'm building
nettle and I'm setting PKG_CONFIG_PATH as well.   Anyone have any
experience with this?

./configure --prefix=$DIR/nettle/3.5.1 --disable-openssl --enable-shared
--enable-mini-gmp
make && make install

export PKG_CONFIG_PATH=$DIR/nettle/3.5.1/lib64/pkgconfig
./configure --prefix=$DIR/nettle/3.5.1 --disable-guile
--with-included-libtasn1 --with-included-unistring --without-p11-kit
--disable-rpath
make && make install

/usr/bin/ld: warning: libnettle.so.7, needed by ../lib/.libs/libgnutls.so,
not found (try using -rpath or -rpath link)

Reply via email to