[opensuse-ppc] compiling postfix and mysql from source rpm fails
We are in the proces of setting up an email server using postfix compiled with “DOVECOT“, “TLS“, “BDB“, “MySQL“, and “VDA”. SLES 10 provides postfix 2.2.9 and we need a versio > 2.3.0. We are attemting to create a secure (smtps, pop3s, imaps) virtual user email service on our power5 with SLES10.2 with encrypted passwords. In an attemt to build from postifxi srpm rpmbuild --rebuild --target=ppc64 postfix-2.3.2-12.6.src.rpm we see: /usr/bin/ld:warning: powerpc:common64 architecture of input file XXX is incompatible with powerpc:common output and /usr/src/packages/BUILD/postfix-2.3.2/src/global/dict_mysql.c:444: undefined reference to `msg_info' in an attempt to rectiffy the mysql problems we tried building mysql from the srpm.. but this fails with the message libstdc++.so: could not read symbols: File in wrong format How can we build potfix > 2.3.0 with the needed support?-- To unsubscribe, e-mail: opensuse-ppc+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-ppc+help@opensuse.org
On Tue, Oct 07, Duncan noorman wrote:
In an attemt to build from postifxi srpm rpmbuild --rebuild --target=ppc64 postfix-2.3.2-12.6.src.rpm we see: /usr/bin/ld:warning: powerpc:common64 architecture of input file XXX is incompatible with powerpc:common output
rpm has no support for telling gcc about the desired architecture. SLES10 gcc defaults to 32bit powerpc-linux, but many configure scripts look at the 'uname -m' output and think that 64bit powerpc64-linux code will be created by gcc. Please use 'powerpc32 rpmbuild --rebuild postfix-2.3.2-12.6.src.rpm' to set the 'uname -m' output for subprocesses to 'ppc'.
and /usr/src/packages/BUILD/postfix-2.3.2/src/global/dict_mysql.c:444: undefined reference to `msg_info'
in an attempt to rectiffy the mysql problems we tried building mysql from the srpm.. but this fails with the message libstdc++.so: could not read symbols: File in wrong format
Running all commands via 'powerpc32 commandd ...' will fix this. To simplify that, run 'powerpc32 bash' to get a "32bit shell". Olaf -- To unsubscribe, e-mail: opensuse-ppc+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-ppc+help@opensuse.org
participants (2)
-
Duncan noorman
-
Olaf Hering