Mam problem ze skompilowaniem daemonow
[root@au246 daemon]# ./configure Database type... MySQL Library location... /usr/lib Includes location... /usr/include SQL queries debugging... no Events debugging... no Install directory... /usr/local/bin Create Makefile for main program... done Create Makefile for mod_cutoff... done Create Makefile for mod_dhcp... done Create Makefile for mod_dns... done Create Makefile for mod_ethers... done Create Makefile for mod_ggnotify... done Create Makefile for mod_hostfile... done Create Makefile for mod_notify... done Create Makefile for mod_oident... done Create Makefile for mod_payments... done Create Makefile for mod_tc... done Create Makefile for mod_traffic... done *************************************************************** Configuration finished. Now You can type 'make && make install'
[root@au246 daemon]# make cc -I/usr/include -DUSE_MYSQL -c -o almsd.o almsd.c In file included from almsd.c:34: util.h:28:1: warning: no newline at end of file cc -I/usr/include -DUSE_MYSQL -c -o db.o db.c In file included from db.c:12: util.h:28:1: warning: no newline at end of file cc -I/usr/include -DUSE_MYSQL -c -o util.o util.c In file included from util.c:10: util.h:28:1: warning: no newline at end of file cc -I/usr/include -DUSE_MYSQL -c -o iniparser/iniparser.o iniparser/iniparser.c cc -I/usr/include -DUSE_MYSQL -c -o iniparser/dictionary.o iniparser/dictionary.c cc -I/usr/include -DUSE_MYSQL -c -o iniparser/strlib.o iniparser/strlib.c iniparser/strlib.c:263:7: warning: no newline at end of file gcc almsd.o db.o util.o iniparser/iniparser.o iniparser/dictionary.o iniparser/strlib.o -o almsd -L/usr/lib -lmysqlclient -ldl /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status make: *** [almsd] Error 1
Mam RedHata 9.0 i zainstalowane:
mysql-3.23.58-1.9.i386.rpm mysql-devel-3.23.58-1.9.i386.rpm mysql-debuginfo-3.23.58-1.9.i386.rpm mysql-server-3.23.58-1.9.i386.rpm
nie mam pakiety mysql-client ale nie ma takiego pakietu pod redhata, czy musze zainstalowac mysql ze zrodel z tar.gz ?
Pozdrawiam
Grzegorz Jakóbik