[Top][All Lists]

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

Re: [GUB] undefined reference to address@hidden'

From: Knut Petersen
Subject: Re: [GUB] 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 "" && ln -s "" 
libtool: link: (cd ".libs" && rm -f "" && ln -s "" 
libtool: link: ( cd ".libs" && rm -f "" && ln -s "../" 
"" )
/bin/bash ../libtool --tag=CC --mode=link i686-linux-gcc -g -O2 -Wall 
-Wmissing-prototypes -o guile guile-guile.o -lgmp -lcrypt -lm -lltdl
libtool: link: i686-linux-gcc -g -O2 -Wall -Wmissing-prototypes -o .libs/guile 
guile-guile.o ./.libs/ -lgmp -lcrypt -lm -lltdl -Wl,-rpath 
/home/dev/gub/target/linux-x86/root/lib/ undefined reference to 

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, inspect 
LIBRARY_PATH and LD_LIBRARY_PATH definitions in the environment ... try to 
understand whats going on ...


reply via email to

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