By ras
Date 04.05.05 12:59
Всем привет!
Может кто-нибудь сталкивлся с такой проблемой:
устанавливаю DBmail согласно приведенной доке,
но при выполнении 'make all' вываливаются ошибки:
make all-recursive
make[1]: Entering directory `/tmp/packages/dbmail/dbmail-2.1.0'
Making all in mysql
make[2]: Entering directory `/tmp/packages/dbmail/dbmail-2.1.0/mysql'
/bin/sh ../libtool --mode=link gcc -I'/usr/include/mysql' -fomit-frame-pointer -g -O2 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict-prototypes -L/opt/gnome/lib -lglib-2.0 -o libsqldbmail.la -rpath /usr/local/lib/dbmail dbmysql.lo -L'/usr/lib/mysql' -lmysqlclient -lz -lcrypt -lnsl -lm
gcc -shared .libs/dbmysql.o -Wl,--rpath -Wl,/usr/lib/mysql -Wl,--rpath -Wl,/usr/lib/mysql -L/opt/gnome/lib /opt/gnome/lib/libglib-2.0.so -L/usr/lib/mysql /usr/lib/mysql/libmysqlclient.so -lz -lcrypt -lnsl -lm -Wl,-soname -Wl,libsqldbmail.so.0 -o .libs/libsqldbmail.so.0.0.0
/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-linux/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[2]: *** [libsqldbmail.la] Error 1
make[2]: Leaving directory `/tmp/packages/dbmail/dbmail-2.1.0/mysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/packages/dbmail/dbmail-2.1.0'
make: *** [all-recursive-am] Error 2
Ставлю DBmail с mySQL,
Дистрибутив Suse Linux Pro 9.0
Page created in 0.071s with 10 database queries.