erichp Posted August 18, 2010 Share Posted August 18, 2010 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 Quote Link to comment https://forums.phpfreaks.com/topic/211080-error-compiling-php-533-to-include-mysql-support/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.