Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


Kept getting an error:

# cd /usr/local/src/msmtp-1.4.27]
# make check
Making check in src
make[1]: Entering directory `/usr/local/src/msmtp-1.4.27/src'
  CCLD   msmtp
tls.o: In function `tls_init':
/usr/local/src/msmtp-1.4.27/src/tls.c:1100: undefined reference to `gnutls_priority_set_direct'
collect2: ld returned 1 exit status
make[1]: *** [msmtp] Error 1
make[1]: Leaving directory `/usr/local/src/msmtp-1.4.27/src'
make: *** [check-recursive] Error 1

The solution is simple:

# ./configure --with-ssl=openssl
# ./make check
# ./make install

Hint page:

gmail_on_linux_with_msmtp.txt · Last modified: 2012/04/22 14:05 by juckins