You are here: Unable to compile PHP 5.2.4 with mysql extension on Hp-UX 11.11 « PHP Programming Language « IT news, forums, messages
Unable to compile PHP 5.2.4 with mysql extension on Hp-UX 11.11

Posted by byron on 11/08/07 23:59

I've downloaded the 64bit gcc compiler since the mysql installed is
the 64bit option but now I'm getting the following error

#./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/
usr/local/mysql

configure:60026: checking for mysql_errno in -lmysqlclient
configure:60045: gcc -o conftest -I/usr/local/include -mgnu-ld -
D_XOPEN_SOURCE_EXTENDED -L/usr/local/mysql/lib -L/usr/local/mysql/lib -
L/usr/local/lib -L/usr/local/lib -L/usr/local/lib conftest.c -
lmysqlclient -lz -lm -lnsl -lxml2 -lz -liconv -lm -lxml2 -lz -liconv
-lm 1>&5
ld: Mismatched ABI (not an ELF file) for -lxml2
Fatal error.
collect2: ld returned 1 exit status

#gcc -v
Using built-in specs.
Target: hppa64-hp-hpux11.11
Configured with: /tmp/gcc-4.2.1.tar.gz/gcc-4.2.1/configure --
host=hppa64-hp-hpux11.11 --target=hppa64-hp-hpux11.11 --build=hppa64-
hp-hpux11.11 --prefix=/opt/hp-gcc64-4.2.1 --with-gnu-as --without-gnu-
ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix --enable-
languages=c,c++
Thread model: posix
gcc version 4.2.1
#

#/usr/local/mysql/bin/mysql --version
/usr/local/mysql/bin/mysql Ver 14.12 Distrib 5.0.37, for hp-hpux11.11
(hppa2.0w) using readline 5.0
#

anyideas? I've searched all over and haven't found anything on
t'internet.

thanks
Byron

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация