This is the old SliTaz forum - Please use the main forum.slitaz.org

[solved] C compiler can't create executable in SliTaz cooking
  • avamkavamk October 2010
    Hello again,
    I've been trying to compile Citadel groupware in SliTaz cooking, but keep encountering the following ./configure error:

    "checking for C compiler default output file name... configure: error: C compiler cannot create executables"

    I am running all commands as root during compilation, and I've installed the slitaz-toolchain, gcc, autotools, [all development packages I could find], etc.
    Any help would be appreciated.
  • mojomojo October 2010
    Have you installed:
    glibc.tazpkg
    glibc-base.tazpkg
    glibc-dev.tazpkg
    glibc-locale.tazpkg
  • avamkavamk October 2010
    Yes, I did. Any ideas??
  • mojomojo October 2010
    This problem is related to your other post:
    sudo can't find glibc in SliTaz cooking
    "sudo: /lib/libc.so.6: version 'GLIBC_2.11' not found (required by sudo)"

    See if gcc output error to version request:
    root@slitaz: gcc -v


    Common dependencies of sudo and gcc the compiler:

    root@slitaz:/home/tux# ldd -v /usr/bin/gcc
    linux-gate.so.1 => (0xffffe000)
    libc.so.6 => /lib/libc.so.6 (0xb7d9c000)
    /lib/ld-linux.so.2 (0xb7f0e000)

    Version information:
    /usr/bin/gcc:
    libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
    libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
    libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
    libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
    /lib/libc.so.6:
    ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
    ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2
    ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2


    root@slitaz:/home/tux# ldd -v /usr/bin/sudo
    linux-gate.so.1 => (0xffffe000)
    libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7ff7000)
    libc.so.6 => /lib/libc.so.6 (0xb7e91000)
    /lib/ld-linux.so.2 (0xb8036000)

    Version information:
    /usr/bin/sudo:
    libcrypt.so.1 (GLIBC_2.0) => /lib/libcrypt.so.1
    libc.so.6 (GLIBC_2.2.3) => /lib/libc.so.6
    libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
    libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
    libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
    libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
    /lib/libcrypt.so.1:
    libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
    libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
    /lib/libc.so.6:
    ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
    ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2
    ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2

    root@slitaz:/home/tux# find / -iname libc.so.6
    /lib/libc.so.6

    Try this as root if /lib/libc.so.6 is on your system:
    root@slitaz: ldconfig


    Try a reinstall of the glibc packages with --forced

  • godanegodane October 2010
    you need to do a tazpkg upgrade. I updated util-linux-ng, coreutils, mpfr, and gmp. This means you may need to upgrade in order compile.
  • godanegodane October 2010
    you need to do a tazpkg upgrade. I updated util-linux-ng, coreutils, mpfr, and gmp. This means you may need to upgrade in order compile.
  • avamkavamk October 2010
    Aha, it works now!! Thanks so much for everyone's help.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social