Mailinglist Archive: opensuse-de (1852 mails)
| < Previous | Next > |
Postfix compile Problem
- From: "Kyek, Andreas, VF-DE" <A.Kyek@xxxxxxxxxxxx>
- Date: Fri, 19 May 2006 09:13:50 +0200
- Message-id: <4498DDECFD5E9E40A2B03505E72605E5021DF50E@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Moin zusammen,
ausgelöst durch einen anderen Thread hier (eMail über
verschiedene Provider übermitteln, abhängig vom Absender)
habe ich mir mal die aktuelle postfix-2.4 devel Version
besorgt. (das würde genau eines meiner noch offen Punkte
lösen!)
Nun will ich mir gerade ein rpm daraus bauen, scheitere
aber dabei. Fehlermeldungen:
--- cut here ---
gcc -Wmissing-prototypes -Wformat -DHAS_LDAP -DHAS_PCRE -DUSE_SASL_AUTH -I/usr/include/sasl -DMAX_DYNAMIC_MAPS -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DUSE_TLS -O2 -g -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -Wno-comments -DSNAPSHOT -O -I. -I../../include -DLINUX2 -o error error.o ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a -lldap -llber -lpcre -lsasl2 -lssl -lcrypto -ldb -lnsl -lresolv
../../lib/libglobal.a(dict_mysql.o): In function `dict_mysql_quote':
/usr/src/packages/BUILD/postfix-2.3-20060517/src/global/dict_mysql.c:279: undefined reference to `mysql_real_escape_string'
/usr/src/packages/BUILD/postfix-2.3-20060517/src/global/dict_mysql.c:283: undefined reference to `mysql_escape_string'
../../lib/libglobal.a(dict_mysql.o): In function `dict_mysql_lookup':
/usr/src/packages/BUILD/postfix-2.3-20060517/src/global/dict_mysql.c:360: undefined reference to `mysql_num_rows'
/usr/src/packages/BUILD/postfix-2.3-20060517/src/global/dict_mysql.c:364: undefined reference to `mysql_free_result'
/usr/src/packages/BUILD/postfix-2.3-20060517/src/global/dict_mysql.c:371: undefined reference to `mysql_fetch_row'
/usr/src/packages/BUILD/postfix-2.3-20060517/src/global/dict_mysql.c:372: undefined reference to `mysql_num_fields'
/usr/src/packages/BUILD/postfix-2.3-20060517/src/global/dict_mysql.c:384: undefined reference to `mysql_free_result'
...
--- cut here ---
Alle laut SPEC-file benötigten devel-Paket sind IMO installiert;
trotzdem kompiliert das nicht durch.
Hat jemand eine Idee? (Und ja, ich möchte unbeding ein rpm
und nicht an rpm vorbei installieren, da ich das auf mehr als
einem Rechner einsetzen will und diese alle reproduzierbar
sein sollen)
Andreas
ausgelöst durch einen anderen Thread hier (eMail über
verschiedene Provider übermitteln, abhängig vom Absender)
habe ich mir mal die aktuelle postfix-2.4 devel Version
besorgt. (das würde genau eines meiner noch offen Punkte
lösen!)
Nun will ich mir gerade ein rpm daraus bauen, scheitere
aber dabei. Fehlermeldungen:
--- cut here ---
gcc -Wmissing-prototypes -Wformat -DHAS_LDAP -DHAS_PCRE -DUSE_SASL_AUTH -I/usr/include/sasl -DMAX_DYNAMIC_MAPS -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DUSE_TLS -O2 -g -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -Wno-comments -DSNAPSHOT -O -I. -I../../include -DLINUX2 -o error error.o ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a -lldap -llber -lpcre -lsasl2 -lssl -lcrypto -ldb -lnsl -lresolv
../../lib/libglobal.a(dict_mysql.o): In function `dict_mysql_quote':
/usr/src/packages/BUILD/postfix-2.3-20060517/src/global/dict_mysql.c:279: undefined reference to `mysql_real_escape_string'
/usr/src/packages/BUILD/postfix-2.3-20060517/src/global/dict_mysql.c:283: undefined reference to `mysql_escape_string'
../../lib/libglobal.a(dict_mysql.o): In function `dict_mysql_lookup':
/usr/src/packages/BUILD/postfix-2.3-20060517/src/global/dict_mysql.c:360: undefined reference to `mysql_num_rows'
/usr/src/packages/BUILD/postfix-2.3-20060517/src/global/dict_mysql.c:364: undefined reference to `mysql_free_result'
/usr/src/packages/BUILD/postfix-2.3-20060517/src/global/dict_mysql.c:371: undefined reference to `mysql_fetch_row'
/usr/src/packages/BUILD/postfix-2.3-20060517/src/global/dict_mysql.c:372: undefined reference to `mysql_num_fields'
/usr/src/packages/BUILD/postfix-2.3-20060517/src/global/dict_mysql.c:384: undefined reference to `mysql_free_result'
...
--- cut here ---
Alle laut SPEC-file benötigten devel-Paket sind IMO installiert;
trotzdem kompiliert das nicht durch.
Hat jemand eine Idee? (Und ja, ich möchte unbeding ein rpm
und nicht an rpm vorbei installieren, da ich das auf mehr als
einem Rechner einsetzen will und diese alle reproduzierbar
sein sollen)
Andreas
| < Previous | Next > |