I have been trying to install PHP-5.2.10 on Linux. My OS(Linux), which is a 64 bit system. Since I am enabling sybase, which is only a 32 bit. So I believe I have to build/make in 64 Bit os with 32 bit support.
I have set the LD_LIBRARY_PATH to point to /usr/lib instead of /usr/lib64.
Could the following errors due to 32 bit vs. 64 bit issue?
-
my config line looks like this:
./configure 686-redhat-linux --prefix=/usr/local/php-5.2.10 --with-libdir=/usr/lib --with-sybase-ct=/homessybase150/OCS-15_0 -
Here are the make errors:
/usr/bin/ld: skipping incompatible /home/sybase150/OCS-15_0/lib/libsy
btcl.so when searching for -lsybtcl
/usr/bin/ld: skipping incompatible /home/sybase150/OCS-15_0/lib/libsy
btcl.a when searching for -lsybtcl
/usr/bin/ld: cannot find -lsybtcl
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1
Appreciate any feedback.