chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Deployment test failure (latest sources, FreeBSD)


From: Vitaly Magerya
Subject: [Chicken-users] Deployment test failure (latest sources, FreeBSD)
Date: Sun, 20 Nov 2011 18:39:47 +0200

Hi, folks. While running gmake check the deployment test fails, saying:

    /libexec/ld-elf.so.1: Shared object "libchicken.so.6" not found,
    required by "rev-app"

The full log is at [1]. The chicken in question is bootstrapped using
4.7.0, and installed into /tmp/c0 (see the log for full details).

The problem seems to be that while rev-app is linked with
libchicken.so.6, and even though that library is copied into the same
directory as rev-file, the linker does not want to find it:

    $ ldd tests/rev-app/rev-app
    tests/rev-app/rev-app:
            libchicken.so.6 => not found (0x0)
            libm.so.5 => /lib/libm.so.5 (0x800648000)
            libthr.so.3 => /lib/libthr.so.3 (0x800768000)
            libc.so.7 => /lib/libc.so.7 (0x800881000)

It's possible to specify the library path directly:

    $ env LD_LIBRARY_PATH=tests/rev-app ldd tests/rev-app/rev-app
    tests/rev-app/rev-app:
            libchicken.so.6 => tests/rev-app/libchicken.so.6 (0x800648000)
            libm.so.5 => /lib/libm.so.5 (0x800d51000)
            libthr.so.3 => /lib/libthr.so.3 (0x800e71000)
            libc.so.7 => /lib/libc.so.7 (0x800f8a000)

... but the tests specifically unset LD_LIBRARY_PATH, so this
shouldn't be required.

So, is this a known issue? If not, how do I diagnose it further?

The machine in question is a FreeBSD 8.2-RELEASE amd64 box.
GCC version is 4.2.1 (same behavior with gcc 4.6.1).

[1] http://tx97.net/~magv/chicken-2011-11-20-check.log



reply via email to

[Prev in Thread] Current Thread [Next in Thread]