php 5.3 - configure: error: wrong mysql library version or lib not found.
Hello friends,
Well I am trying to compile php 5.3 from sources.. I've met every other required dependencies, but I am getting an error while configuring, which I don't seem to understand well. I am configuring it using below Code:
./configure --prefix=/usr --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --enable-mod-charset --with-libxml-dir --with-openssl --with-kerberos --with-pcre-regex --with-zlib --with-bz2 --with-curl --with-dbm --enable-exif --enable-ftp --with-gd --with-jpeg-dir --with-png-dir --with-zlib-dir --with-xpm-dir --with-freetype-dir --with-t1lib --enable-gd-native-ttf --enable-gd-jis-conv --with-gettext --with-gmp --with-mhash --with-imap-ssl --enable-intl --enable-mbstring --with-mcrypt --with-mssql --with-mysql --with-mysqli --enable-embedded-mysqli --with-apxs2 --with-snmp --enable-zip Code:
checking whether to enable multibyte regex support... yes I really searched alot but couldn't find anything valuable. I have following mysql packages installed Code:
mysql-server-5.0.77-3.el5 My system is a 64 bit system... I have libmysqlclient.so in /usr/lib64/mysql/ I also made a symlink of it in /usr/lib64 But still no luck. Any help will be greatly appreciated .... :) Thanks |
ok I got it ..
If you're facing the same error then following is the remedy.. if you're configure with --with-mysqli --enable-embedded-mysqli then just remove "--enable-embedded_mysqli" and everything will be fine. |
Well .... building php-5.3 for Fedora Xx and Redhat EL 5
from source, I guess this one will provide all the "tricks" : (And using an 'src.rpm' is the obvious choice, when available.) http://download.fedora.redhat.com/pu...6.fc12.src.rpm > > php-5.3.0-6.fc12.src.rpm including some patching .. and also supplying all the "70" configure options, ready to compile. Ref. http://www.linuxquestions.org/questi...ux-5.0-764323/ post # 3. ..... |
Quote:
Thanks man, thanks very much, My problem has been solved. :) |
All times are GMT -5. The time now is 06:54 AM. |