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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.