php config error

vivek

Well-Known Member
#1
Hi there !

I want to downgrade from php 3.2.5 to 3.2.2. I used the same config command ,but retured an error

/opt/php_with_imap_client//lib64/libc-client.a(osdep.o)(.text+0xb12e): In function `ssl_onceonlyinit':
/home/cpeasyapache/src/imap-2006k/c-client/osdep.c:301: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
ext/session/mod_files.o(.text+0x85c): In function `ps_gc_files':
/home/lsws/phpbuild/php-5.2.2/ext/session/mod_files.c:229: undefined reference to `php_readdir_r'
ext/sqlite/sqlite.o(.text+0x1b03): In function `zm_startup_sqlite':
/home/lsws/phpbuild/php-5.2.2/ext/sqlite/sqlite.c:1108: undefined reference to `php_pdo_register_driver'
ext/sqlite/sqlite.o(.text+0x1b31): In function `zm_shutdown_sqlite':
/home/lsws/phpbuild/php-5.2.2/ext/sqlite/sqlite.c:1121: undefined reference to `php_pdo_unregister_driver'
ext/sqlite/pdo_sqlite2.o(.text+0x1e3): In function `_pdo_sqlite2_error':
/home/lsws/phpbuild/php-5.2.2/ext/sqlite/pdo_sqlite2.c:291: undefined reference to `php_pdo_get_exception'
ext/sqlite/pdo_sqlite2.o(.text+0x961): In function `pdo_sqlite2_last_insert_id':
/home/lsws/phpbuild/php-5.2.2/ext/sqlite/pdo_sqlite2.c:377: undefined reference to `php_pdo_int64_to_str'
ext/sqlite/pdo_sqlite2.o(.text+0xf66): In function `pdo_sqlite2_handle_factory':
/home/lsws/phpbuild/php-5.2.2/ext/sqlite/pdo_sqlite2.c:587: undefined reference to `php_pdo_get_exception'
collect2: ld returned 1 exit status
make: *** [sapi/litespeed/php] Error 1



My commandline was:

./configure '--disable-cgi' '--disable-pdo' '--enable-bcmath' '--enable-calendar' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-sockets' '--enable-wddx' '--enable-zip' '--prefix=/usr/local' '--prefix=/php5' '--with-litespeed' '--with-config-file-path=../php' '--with-bz2' '--with-curl=/opt/curlssl/' '--with-curlwrappers' '--with-freetype-dir=/usr' '--with-gd' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libdir=lib64' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mhash=/opt/mhash/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-pic' '--with-png-dir=/usr' '--with-tidy=/opt/tidy/' '--with-ttf' '--with-xpm-dir=/usr/X11R6' '--with-xsl=/opt/xslt/' '--with-zlib' '--with-zlib-dir=/usr'



Any idea?
 
Top