bug-guix
[Top][All Lists]
Advanced

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

Re: Installing guix from Git


From: Ludovic Courtès
Subject: Re: Installing guix from Git
Date: Tue, 11 Jun 2013 14:17:33 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Konrad Hinsen <address@hidden> skribis:

> Ludovic Courtès writes:
>
>  > That is weird.  Can you send the output of this command:
>  > 
>  >   objdump -x /home/hinsen/Development/guix/guix-daemon | grep -E 
> '(PATH|NEED)'
>
> Sure:
>
>   NEEDED               libsqlite3.so.0
>   NEEDED               libgcrypt.so.11
>   NEEDED               libstdc++.so.6
>   NEEDED               libm.so.6
>   NEEDED               libgcc_s.so.1
>   NEEDED               libc.so.6
>   NEEDED               libpthread.so.0
>   RPATH                
> /nix/store/ybdv89csf4sn7wbmgj9kfjjk1b0mhrlb-glibc-2.17/lib:/nix/store/7aclzhylh2rns1m6ppmmvfzndrmvz7pa-gcc-4.7.3/lib64:/nix/store/7aclzhylh2rns1m6ppmmvfzndrmvz7pa-gcc-4.7.3/lib
>   VERNEED              0x0000000000403d68
>   VERNEEDNUM           0x0000000000000005

SQLite is not listed in the RPATH, hence the run-timer link failure you
observe.  Normally SQLite’s directory would appear in the RPATH.

If you are building with the GCC and libc installed from Guix, then you
must also install the linker wrapper:

  guix package -i ld-wrapper

The wrapper takes care of adding the relevant libraries to the RPATH,
which will fix the problem.

(Ideally, it would either be installed automatically when one installs
GCC, or at least be recommended.)

HTH,
Ludo’.



reply via email to

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