# php-5.2.10 make errors - Linux

**URL:** <https://www.phphelp.com/t/php-5-2-10-make-errors-linux/18190>\
**Category:** PHP Installation and Configuration\
**Created:** [August 31, 2012, 8:59pm UTC](https://www.phphelp.com/t/php-5-2-10-make-errors-linux/18190 "2012-08-31T20:59:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phpron033](https://www.phphelp.com/letter_avatar_proxy/v4/letter/p/3be4f8/32.png) [@phpron033](https://www.phphelp.com/u/phpron033)\
**Post date:** [August 31, 2012, 8:59pm UTC](https://www.phphelp.com/t/php-5-2-10-make-errors-linux/18190/1 "2012-08-31T20:59:55Z")

</div>

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?

1. 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

2. 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.
