On 02/07/2014 02:11 AM, Maxim Ivanov wrote:
Good day!
I have ALT Linux 7.0.3.
Previously I installed QMail other systems and all was well.
But now I get a compile error (after patch)
cd / var/src/netqmail-1.06
bunzip2-c .. / tar/qmail-toaster-0.9.2.patch.bz2 | patch-p0
Perhaps this is due to the version of the library GLIBS.
/lib/libc.so.6
GNU C Library (GNU libc) stable release version 2.17, by Roland McGrath et al.
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.7.2 20121109 (ALT Linux 4.7.2-alt7).
I receive an error when compiling:
make
. / load qmail-smtpd chkuser.o qregex.o rcpthosts.o commands.o timeoutread.o \
timeoutwrite.o ip.o ipme.o ipalloc.o strsalloc.o control.o control_time.o
time.o \
constmap.o tls.o ssl_timeoutio.o ndelay.a
-L/usr/local/ssl/lib-lssl-lcrypto \
received.o date822fmt.o now.o qmail.o spf.o spam.o spam_get.o cdb.a fd.a wait.a
\
datetime.a getln.a open.a sig.a case.a env.a stralloc.a \
alloc.a strerr.a substdio.a error.a str.a fs.a auto_qmail.o auto_uids.o
base64.o `cat \
socket.lib tai.lib dns.lib `dns.o surbl.o lock.a` head -1 / home / vpopmail /
etc / lib_deps `
/ usr / bin / ld: dns.o: undefined reference to symbol «__res_search @ @
GLIBC_2.2»
/ usr / bin / ld: note : «__res_search @ @ GLIBC_2.2» is defined in DSO /
usr/lib/gcc/i586-alt-linux/3.4.5/../../../libresolv.so, try adding it to the
linker command line
/ usr/lib/gcc/i586-alt-linux/3.4.5/../../../libresolv.so: could not read
symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [qmail-smtpd] Error 1
Question: what to do in this case? I would be very grateful for a solution to
this problem
___________________________________________
С уважением,
Иванов Максим
mailto:[email protected]
---------------------------------------------------------------------
Please realize that this is not something the QMT community supports, as
ALT isn't a supported platform for us. None the less, maybe I can be of
some help.
dns.o: undefined reference to symbol «__res_search @ @ GLIBC_2.2»
appears to be the root cause. I've no idea off hand what is the cause.
You might have a look at the spec file(s) for QMT here:
https://github.com/orgs/QMailToaster/dashboard for reference. There are
many patches that should be applied to qmail to make a secure
operational build.
I wouldn't be adverse to providing ALT rpms for QMT at some point,
provided someone (like yourself) is willing to troubleshoot any problems
that crop up with that platform.
HTH.
--
-Eric 'shubes'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]