Mailinglist Archive: opensuse-packaging (284 mails)

< Previous Next >
Re: [opensuse-packaging] Problem Compiling Postfix 2.7.2 64bit Centos (32-bit works)
Hi,

Am 14.02.2011 11:30, schrieb Volker Stoppe:
Hallo!

I hope this is the right place to search for this kind of help. I am
trying to compile Postfix 2.7.2 for CentOS 64-Bit. I took all files
form Rusjako´s postfix package. I know they were ment for SuSE, but
the sources compile well for CentOS 5 32-Bit. The problem is that the
build for 64-Bit ends with a missing mysqlclient-library.
I'm not really a CentOS freak, but I don't think that mysql stuff will
be found in "/usr/lib/mysql" on 64bit.
I think it should be "-L/usr/lib64/mysl".
or better "-L/usr/%{lib}/mysql"

------- snip -------
gcc -shared -Wl,-soname,dict_mysql.so -o dict_mysql.so dict_mysql.o 
-L/usr/lib/mysql -lmysqlclient -L. -lutil -lglobal
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [dict_mysql.so] Error 1
make: *** [update] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.67235 (%build)


RPM build errors:
    cannot open Pubkeys index using db3 - No such file or directory (2)
    Bad exit status from /var/tmp/rpm-tmp.67235 (%build)
[  137.703436] System halted.

------- snap -------
chris
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References