From :: DaGeek Subject :: 'make' error | the './configure' was fine, no errors on my CentOS v5.2 box...
but i get the following error when running 'make'
-------------
gcc -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql -o nacctd main.o process.o config.o utils.o capture.o daemon.o collect.o mysql.o oracle.o -lpcap -Wl,-R/usr/lib/mysql -lmysqlclient -Wl,-R/usr/lib -lpthread -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpcap.so when searching for -lpcap
/usr/bin/ld: skipping incompatible /usr/lib/libpcap.a when searching for -lpcap
/usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient
/usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.a when searching for -lmysqlclient
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make[2]: *** [nacctd] Error 1
make[2]: Leaving directory `/root/netacct/netacct-mysql-0.78/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/netacct/netacct-mysql-0.78'
make: *** [all] Error 2
------------
can anyone help/point me in the correct direction...
Thanks. | From :: Baloo Subject :: Re: 'make' error | You need install mysql-client.
#yum install mysql-client | From :: Josh Subject :: Re: Re: 'make' error | I don't think it's compatible with 64-bit.
|
|
 |
 |
|
 |
|