Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-05-2013, 08:56 AM   #1
Registered: May 2006
Posts: 80

Rep: Reputation: 2
Compile sendmail from source

I'm trying to manually compile Sendmail 8.14.7 on Slackware 14.1 and it keeps failing. Does anyone know how to get this to compile? I've compiled and installed sasl2 in /apps/sasl2 but I don't think thats the problem.

cc -o sendmail -L/apps/sasl2/lib main.o alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o map.o mci.o milter.o mime.o parseaddr.o queue.o ratectrl.o readcf.o recipient.o sasl.o savemail.o sfsasl.o shmticklib.o sm_resolve.o srvrsmtp.o stab.o stats.o sysexits.o timers.o tls.o trace.o udb.o usersmtp.o util.o version.o -lsasl2 /usr/src/build/sendmail-8.14.7/obj.Linux.3.10.18.x86_64/libsmutil/libsmutil.a /usr/src/build/sendmail-8.14.7/obj.Linux.3.10.18.x86_64/libsm/libsm.a -ldl
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: domain.o: undefined reference to symbol '__res_querydomain@@GLIBC_2.2.5'
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: note: '__res_querydomain@@GLIBC_2.2.5' is defined in DSO /lib64/ so try adding it to the linker command line
/lib64/ could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [sendmail] Error 1
make[1]: Leaving directory `/usr/src/build/sendmail-8.14.7/obj.Linux.3.10.18.x86_64/sendmail'
Old 12-05-2013, 09:17 AM   #2
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,646

Rep: Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958
let me guess... multilib ??
Old 12-05-2013, 10:02 AM   #3
Registered: May 2006
Posts: 80

Original Poster
Rep: Reputation: 2
I don't know what multilib is. Do I need it?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail from source roopunix Linux - Networking 1 08-23-2005 12:52 PM
Compile source on other pc ??? sys7em Linux - General 1 11-01-2004 09:53 AM
To compile X from source or not? Rounan Linux - Software 2 02-12-2004 03:23 PM
sendmail compile and config for local relay heathpitts Linux - Software 0 06-23-2003 02:01 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration