próbowalem przeinstalować php5.1.1 z obsługą PostgreSQL, dostaję błąd:
Kod
[root@cleanit php-5.1.1]# make install
Installing php SAPI module: cgi
Installing php CGI into: /usr/server/php/bin/
Installing shared extensions: /usr/server/php/lib/php/extensions/no-debug-non-zts-20050922/
Installing build environment: /usr/server/php/lib/php/build/
Installing header files: /usr/server/php/include/php/
Installing helper programs: /usr/server/php/bin/
program: phpize
program: php-config
Installing man pages: /usr/server/php/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/server/php/lib/php/
/usr/server/source/php-5.1.1/sapi/cli/php: relocation error: /usr/server/source/php-5.1.1/sapi/cli/php: undefined symbol: xmlParserInputBufferCreateFilenameDefault
make[1]: *** [install-pear-installer] Error 127
make: *** [install-pear] Error 2
[root@cleanit php-5.1.1]#
Installing php SAPI module: cgi
Installing php CGI into: /usr/server/php/bin/
Installing shared extensions: /usr/server/php/lib/php/extensions/no-debug-non-zts-20050922/
Installing build environment: /usr/server/php/lib/php/build/
Installing header files: /usr/server/php/include/php/
Installing helper programs: /usr/server/php/bin/
program: phpize
program: php-config
Installing man pages: /usr/server/php/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/server/php/lib/php/
/usr/server/source/php-5.1.1/sapi/cli/php: relocation error: /usr/server/source/php-5.1.1/sapi/cli/php: undefined symbol: xmlParserInputBufferCreateFilenameDefault
make[1]: *** [install-pear-installer] Error 127
make: *** [install-pear] Error 2
[root@cleanit php-5.1.1]#
do reinstalacji wykorzystałem wpis z phpinfo() w sekcji Configure Command:
Cytat
'./configure' '--prefix=/usr/server/php5' '--with-config-file-path=/usr/server/php5' '--with-mysql=/usr/server/mysql5/' '--with-zlib' '--with-gd' '--enable-force-cgi-redirect' '--enable-bcmath' '--enable-calendar' '--enable-ctype' '--enable-dbase' '--enable-discard-path' '--enable-exif' '--enable-filepro' '--enable-ftp' '--enable-gd-imgstrttf' '--enable-gd-native-ttf' '--enable-inline-optimalization' '--enable-mbstr-enc-trans' '--enable-mbstring' '--enable-mbregex' '--enable-track-vars' '--enable-wddx' '--enable-bz2' '--with-dom=/usr/lib' '--with-ftp' '--with-gettext' '--with-jpeg-dir=/usr' '--with-mcal=/usr/include' '--with-mhash=shared' '--with-png-dir=/usr/lib' '--with-iconv' '--with-ncurses' '--with-xml' '--with-libxml-dir=/usr/server/libs/libxml' '--with-xslt-sablot=/usr/lib' '--enable-xslt' '--with-kreberos' '--enable-fastcgi' '--with-tiff-dir=/usr/local/' '--with-curl'
dodałem tylko --with-pgsql=/usr/server/pgsql811/
co to za błąd ? w googlach jest garstka wyników, żaden nie pasuje do mojego.
czy ktoś z Was spotkał się z czyms podobnym ?