guix-devel
[Top][All Lists]
Advanced

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

Building Guix


From: Pjotr Prins
Subject: Building Guix
Date: Fri, 9 May 2014 12:57:18 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

compile.log was rather informative. I ended up with a working
configure, but now make fails with:

  g++ -Wall -std=c++0x -g -O2  -L/home/cog/pprins/.nix-profile/lib -o 
guix-daemon nix/nix-daemon/guix_daemon-nix-daemon.o 
nix/nix-daemon/guix_daemon-guix-daemon.o libstore.a libutil.a libformat.a -lbz2 
-L/nix/store/7svaxfvzl8hb7ap3fjfyrqdw3bxi8pd3-sqlite-3.8.4.3/lib -lsqlite3   
-L/nix/store/gic3zisxrq8vir427366l51l0dyzg5ls-libgcrypt-1.5.3/lib -lgcrypt 
  /nix/store/pdskwizjw8ar31hql2wjnnx6g0s6xc50-glibc-2.19/lib/libpthread.so.0: 
undefined reference to address@hidden'
  /nix/store/pdskwizjw8ar31hql2wjnnx6g0s6xc50-glibc-2.19/lib/libpthread.so.0: 
undefined reference to address@hidden'
  /nix/store/pdskwizjw8ar31hql2wjnnx6g0s6xc50-glibc-2.19/lib/libpthread.so.0: 
undefined reference to address@hidden'
  /home/cog/pprins/.nix-profile/lib/libsqlite3.so: undefined reference to 
address@hidden'
  /nix/store/pdskwizjw8ar31hql2wjnnx6g0s6xc50-glibc-2.19/lib/libpthread.so.0: 
undefined reference to address@hidden'
  collect2: ld returned 1 exit status

Ouch.

 ldd /nix/store/pdskwizjw8ar31hql2wjnnx6g0s6xc50-glibc-2.19/lib/libpthread.so.0

shows

  /nix/store/pdskwizjw8ar31hql2wjnnx6g0s6xc50-glibc-2.19/lib/libpthread.so.0: 
/lib64/libc.so.6: version `GLIBC_2.14' not found (required by 
/nix/store/pdskwizjw8ar31hql2wjnnx6g0s6xc50-glibc-2.19/lib/libpthread.so.0)
        linux-vdso.so.1 =>  (0x00007fff5a293000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f8e6f0df000)
        
/nix/store/pdskwizjw8ar31hql2wjnnx6g0s6xc50-glibc-2.19/lib/ld-linux-x86-64.so.2 
=> /lib64/ld-linux-x86-64.so.2 (0x00000035c5800000)

Hmmm. Something must have gone wrong compiling glibc-2.19. That is
odd, very odd. I know was messing with the LD paths, but I did not think
that would influence Nix builds. Do I need a fresh Nix install?

Interestingly I found a Guix expression in Nixpkgs! It is dated, guix-0.3, but 
works. Anything I need to know to update that to guix-0.6? I may do just that :)

  
https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/package-management/guix/default.nix

Pj.



reply via email to

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