Jump to content

error compiling php 5.3.3 to include mysql support


erichp

Recommended Posts

The info for my issue is as follows:

 

uname -a

SunOS 5.10 Generic_139555-08 sun4u sparc SUNW,Sun-Blade-1000

 

isainfo -kv

64-bit sparcv9 kernel modules

 

 

Server version: Apache/2.2.16 (Unix)

Server built: Aug 16 2010 13:52:35

 

mysql-enterprise-gpl-5.1.46sp1-solaris10-sparc-64bit

 

php version is 5.3.3

 

My error is below when I try to run the configure script for PHP. My configure line looks like this:

 

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql/mysql-enterprise-gpl-5.1.46sp1-solaris10-sparc-64bit --with-curl --with-zlib --with-gd --enable-mbstring --enable-soap --enable-zip

 

ld: fatal: file /usr/local/mysql/mysql-enterprise-gpl-5.1.46sp1-solaris10-sparc-64bit/lib/libmysqlclient.so: wrong ELF class: ELFCLASS64

ld: fatal: File processing errors. No output written to conftest

collect2: ld returned 1 exit status

configure: failed program was:

#line 60582 "configure"

 

Any help would be much appreciated.

 

Thanks,

Eric

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.