upgrade from 2.2.11

Discussion in 'Installation/Configuration' started by andron26, May 19, 2007.

  1. andron26

    andron26 New Member

    Hi,

    I wanted to upgrade from version 2.2.11 to 2.2.12 but it failed.
    I have suse 10.2 installed with perfect setup.
    What is wrong?
    I had such errors:

    ext/iconv/.libs/iconv.o: In function `_php_iconv_strlen':
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:594: undefined reference to `libiconv_open'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:617: undefined reference to `libiconv'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:651: undefined reference to `libiconv_close'
    ext/iconv/.libs/iconv.o: In function `php_iconv_string':
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:432: undefined reference to `libiconv_open'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:444: undefined reference to `libiconv'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:458: undefined reference to `libiconv'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:469: undefined reference to `libiconv_close'
    ext/iconv/.libs/iconv.o: In function `_php_iconv_strpos':
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:835: undefined reference to `libiconv_open'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:860: undefined reference to `libiconv'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:974: undefined reference to `libiconv_close'
    ext/iconv/.libs/iconv.o: In function `_php_iconv_appendl':
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:339: undefined reference to `libiconv'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:376: undefined reference to `libiconv'
    ext/iconv/.libs/iconv.o: In function `_php_iconv_substr':
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:707: undefined reference to `libiconv_open'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:731: undefined reference to `libiconv'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:786: undefined reference to `libiconv_close'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:790: undefined reference to `libiconv_close'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:739: undefined reference to `libiconv_open'
    ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_decode':
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:1335: undefined reference to `libiconv_open'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:1446: undefined reference to `libiconv_close'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:1449: undefined reference to `libiconv_open'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:1804: undefined reference to `libiconv_close'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:1807: undefined reference to `libiconv_close'
    ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_dtor':
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:2403: undefined reference to `libiconv_close'
    ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_append_bucket':
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:2553: undefined reference to `libiconv'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:2475: undefined reference to `libiconv'
    ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor':
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:2429: undefined reference to `libiconv_open'
    ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_encode':
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:1024: undefined reference to `libiconv_open'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:1038: undefined reference to `libiconv_open'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:1297: undefined reference to `libiconv_close'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:1300: undefined reference to `libiconv_close'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:1300: undefined reference to `libiconv_close'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:1157: undefined reference to `libiconv'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:1109: undefined reference to `libiconv'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:1141: undefined reference to `libiconv'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:1209: undefined reference to `libiconv'
    /tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:1240: undefined reference to `libiconv'
    ext/iconv/.libs/iconv.o:/tmp/ispc/install_ispconfig/compile_aps/php-5.2.1/ext/iconv/iconv.c:1284: more undefined references to `libiconv' follow
    collect2: ld returned 1 exit status
    make: *** [sapi/cli/php] Error 1
    ERROR: Could not make PHP
    cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/aps.tar.gz': No such file or directory
    mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
    mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
    mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
    mv: cannot stat `binaries/cronolog': No such file or directory
    mv: cannot stat `binaries/cronosplit': No such file or directory
    mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
    mv: cannot stat `binaries/zip': No such file or directory
    mv: cannot stat `binaries/unzip': No such file or directory
    tar: spamassassin.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `spamassassin': No such file or directory
    tar: uudeview.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `uudeview': No such file or directory
    tar: clamav.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `clamav': No such file or directory
    tar: aps.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    ./setup2: line 862: ispconfig_tmp/php/bin/php: No such file or directory
    ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
     
  2. andron26

    andron26 New Member

    I've tried to install older version of ispconfig but the same result.
    I've tried to reinstall libinconv but nothing helped.
    Please help to resolve this problem.
     
  3. andron26

    andron26 New Member

    solved

    I've uninstalled libiconv and everything worked fine.
     
  4. charles

    charles Banned

    undefined reference to `libiconv_open'

    To fix the error:
    undefined reference to `libiconv_open'

    Run configure like this:
    [root@hostname project-version]# ./configure CFLAGS=-liconv
     

Share This Page