[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GUB] libc.so.6: undefined reference to address@hidden'
From: |
Knut Petersen |
Subject: |
Re: [GUB] libc.so.6: undefined reference to address@hidden' |
Date: |
Thu, 17 Jan 2019 13:42:56 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
On 16.01.19 14:47, Federico Bruni wrote:
My latest attempt to build GUB (on LilyDev Debian 9, gcc version 6.3.0) failed
when building guile for linux-x86.
Here's the tail:
libtool: link: (cd ".libs" && rm -f "libguile.so.17" && ln -s "libguile.so.17.3.1"
"libguile.so.17")
libtool: link: (cd ".libs" && rm -f "libguile.so" && ln -s "libguile.so.17.3.1"
"libguile.so")
libtool: link: ( cd ".libs" && rm -f "libguile.la" && ln -s "../libguile.la"
"libguile.la" )
/bin/bash ../libtool --tag=CC --mode=link i686-linux-gcc -g -O2 -Wall
-Wmissing-prototypes -o guile guile-guile.o libguile.la -lgmp -lcrypt -lm -lltdl
libtool: link: i686-linux-gcc -g -O2 -Wall -Wmissing-prototypes -o .libs/guile
guile-guile.o ./.libs/libguile.so -lgmp -lcrypt -lm -lltdl -Wl,-rpath
-Wl,/usr/lib
/home/dev/gub/target/linux-x86/root/lib/libc.so.6: undefined reference to
address@hidden'
What can I try to work around this?
Build with strace
cd /home/dev/gub
mkdir STRACE
rm -f STRACE/* target/linux-x86/packages/guile* ; strace -v -f -ff -s 1024
-o STRACE/TP bin/gub --fresh -k linux-x86::guile
Then use grep to search for the file in STRACE that contains the detailed trace
of the failing program.
In that strace file have a look at the attempts to load libc.so.6, inspect
LIBRARY_PATH and LD_LIBRARY_PATH definitions in the environment ... try to
understand whats going on ...
Knut