please..i really need help ..
i'm tryin to install odbc and connect it with my sqlanywhere 10 database..using php 5.1.2 in my SuSe 10 operation system
i already did this
export CFLAGS="-DODBC_UNIX"
export CUSTOM_ODBC_LIBS="-lodbc"
and do this configure script :
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-custom-odbc=/opt/sqlanywhere10
but when i do make command its result :
main/internal_functions.lo -lcrypt -lcrypt -lrt -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -lodbc -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -o libphp5.la
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot find -lodbc
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
please...i need help..any suggestions how i should do it??