[Nix-dev] libtool: link: unsupported hardcode properties while compiling nix-0.16

Paul Dufresne dufresnep at gmail.com
Tue Oct 25 20:50:42 CEST 2011


I am trying to compile nixos-0.16 on Lubuntu 11.10.

First, ./configure seems to have not found that I needed g++, that I
then installed.

But now I get:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT sha1.lo
-MD -MP -MF .deps/sha1.Tpo -c sha1.c  -fPIC -DPIC -o .libs/sha1.o
mv -f .deps/sha1.Tpo .deps/sha1.Plo
/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../..     -g -O2 -MT sha256.lo -MD -MP -MF .deps/sha256.Tpo -c
-o sha256.lo sha256.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT
sha256.lo -MD -MP -MF .deps/sha256.Tpo -c sha256.c  -fPIC -DPIC -o
.libs/sha256.o
mv -f .deps/sha256.Tpo .deps/sha256.Plo
/bin/bash ../../libtool --tag=CXX   --mode=link g++ -Wall -I./..    -o
libutil.la -rpath /usr/local/lib/nix util.lo hash.lo serialise.lo
archive.lo xml-writer.lo md5.lo sha1.lo sha256.lo
../boost/format/libformat.la
libtool: link: unsupported hardcode properties
libtool: link: See the libtool documentation for more information.
libtool: link: Fatal configuration error.
make[3]: *** [libutil.la] Erreur 1
make[3]: quittant le répertoire « /home/paul/nix-0.16/src/libutil »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/paul/nix-0.16/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/paul/nix-0.16 »
make: *** [all] Erreur 2
paul at Arcturus:~/nix-0.16$

Well, I expect you to tell me something that would avoid me to do what
libtool suggest me to do: See the libtool documentation (which I don't
even know what it does).


More information about the nix-dev mailing list