this is the error:
My first time setting up a 64 bit OS. I am guessing that it's trying to link to the 32bit libraries instead of the 64bit. I have libm and expat 64bit installed in /usr/lib64
What can I do to make custombuild use the proper libs?
Code:
make[2]: Entering directory `/usr/local/directadmin/custombuild/httpd-2.2.9/support'
/usr/local/directadmin/custombuild/httpd-2.2.9/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -I/usr/local/include -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/local/directadmin/custombuild/httpd-2.2.9/os/unix -I/usr/local/directadmin/custombuild/httpd-2.2.9/server/mpm/prefork -I/usr/local/directadmin/custombuild/httpd-2.2.9/modules/http -I/usr/local/directadmin/custombuild/httpd-2.2.9/modules/filters -I/usr/local/directadmin/custombuild/httpd-2.2.9/modules/proxy -I/usr/local/directadmin/custombuild/httpd-2.2.9/include -I/usr/local/directadmin/custombuild/httpd-2.2.9/modules/generators -I/usr/local/directadmin/custombuild/httpd-2.2.9/modules/mappers -I/usr/local/directadmin/custombuild/httpd-2.2.9/modules/database -I/usr/local/directadmin/custombuild/httpd-2.2.9/srclib/apr/include -I/usr/local/directadmin/custombuild/httpd-2.2.9/srclib/apr-util/include -I/usr/local/include -I/usr/local/directadmin/custombuild/httpd-2.2.9/modules/proxy/../generators -I/usr/include -I/usr/kerberos/include -I/usr/local/directadmin/custombuild/httpd-2.2.9/modules/ssl -I/usr/local/directadmin/custombuild/httpd-2.2.9/modules/dav/main -prefer-non-pic -static -c htpasswd.c && touch htpasswd.lo
/usr/local/directadmin/custombuild/httpd-2.2.9/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread -I/usr/local/include -L/usr/local/lib -L/usr/lib -o htpasswd htpasswd.lo -lm -L/usr/local/lib -lpcre /usr/local/directadmin/custombuild/httpd-2.2.9/srclib/apr-util/libaprutil-1.la -lexpat /usr/local/directadmin/custombuild/httpd-2.2.9/srclib/apr/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/lib/libexpat.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.9/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.9/support'
make: *** [all-recursive] Error 1
*** The make has failed, do you want to try to make again? (y,n):
My first time setting up a 64 bit OS. I am guessing that it's trying to link to the 32bit libraries instead of the 64bit. I have libm and expat 64bit installed in /usr/lib64
What can I do to make custombuild use the proper libs?