PHP Binary Compiling

Discussion in 'Installation/Configuration' started by TheNTW, Mar 16, 2008.

  1. TheNTW

    TheNTW New Member

    uname -m -> x86_64

    Linux Ubuntu 7.10 ( Server edition )

    I don't understand, what the hell. When it says that it can't mv the files, there are no files to move, even after after extracting the new files. I've searched for past 3 hours for help, and still didn't find anything useful.
    I Think the problem is in mysql dev files, but I couldn't find mysql-dev or mysql-devel ,
    What I found and managed to install was:

    Code:
    libmysql++-dev - mysql C++ library bindings (development)
    libmysql++2c2a - mysql C++ library bindings (runtime)
    libmysqlclient15-dev - MySQL database development files
    libmysqlclient15off - MySQL database client library
    
    I would really appreciate some help.
    Thanks.
     
  2. Ben

    Ben Active Member Moderator

    Could you please post the lines before the above posted lines, when the compile error occured, to see what's the matter.
     
  3. TheNTW

    TheNTW New Member

    Code:
    
    /compile_aps/clamav-0.92/libclamunrar_iface/.libs -Wl,--rpath -Wl,/home/admispconfig/ispconfig/tools/clamav/lib -L/usr/local/lib -lz -lpthread ../libclamunrar_iface/.libs/libclamunrar_iface.so -lnsl  -Wl,-soname -Wl,libclamav.so.3 -o .libs/libclamav.so.3.0.3
    /usr/bin/ld: /usr/local/lib/libz.a(gzio.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
    /usr/local/lib/libz.a: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make[2]: *** [libclamav.la] Error 1
    make[2]: Leaving directory `/var/www/isp/install_ispconfig/compile_aps/clamav-0.92/libclamav'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/var/www/isp/install_ispconfig/compile_aps/clamav-0.92'
    make: *** [all] Error 2
    ERROR: Could not make ClamAV
    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 873: 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!
    
    
    
    Well I guess it can't compile CalmAV. Now what ?
     
  4. Ben

    Ben Active Member Moderator

  5. TheNTW

    TheNTW New Member

    Code:
    /etc/init.d/apache2 force-reload
    apache2: Syntax error on line 183 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/libxml2.so.2: undefined symbol: gzopen64
       ...fail!
    

    Ubuntu Linux x86_64 . Now I installed the zlib , and see what has happened! I Can't even restart apache anymore ( and yeah, the ISP install failed again :p )
     
  6. Ben

    Ben Active Member Moderator

  7. TheNTW

    TheNTW New Member

    I already had a chat with google for like 2 hours. Nothing found. Only thing I found was that it's a bug or something. Any Ideas ?
     
  8. TheNTW

    TheNTW New Member

    Error


    EDIT
    Fixed this myself. Installed ClamAV through apt-get install and removed the line in the compling file where it says to install clamav. That's it for me. Done with errors.
     
    Last edited: Mar 20, 2008

Share This Page