Re: building guix from guix

2014-05-10 Thread Ludovic Courtès
John Darrington  skribis:

>  > Question: the previous step says to set the variable "LIBRARY_PATH" - 
> I presume this should say LD_LIBRARY_PATH - 
>  > (I set both anyway).
>  
>  No, it’s literally LIBRARY_PATH.
>  
>  Setting LD_LIBRARY_PATH may have caused non-Guix-provided programs to
>  link against Guix’s libc, possibly leading to the error above.
>
> Oh you were right.  Unsetting it fixes the problem.

Good to hear.  Let us know if anything else goes wrong.

Ludo’.



Re: building guix from guix

2014-05-10 Thread Sergio Durigan Junior
On Saturday, May 10 2014, John Darrington wrote:

> What is LIBRARY_PATH ? I have never heard of that one.



  LIBRARY_PATH

  The value of LIBRARY_PATH is a colon-separated list of directories, much
  like PATH. When configured as a native compiler, GCC tries the
  directories thus specified when searching for special linker files, if
  it can't find them using GCC_EXEC_PREFIX. Linking using GCC also uses
  these directories when searching for ordinary libraries for the -l
  option (but directories specified with -L come first). 

-- 
Sergio



Re: building guix from guix

2014-05-10 Thread John Darrington
On Sat, May 10, 2014 at 03:08:58PM +0200, Ludovic Courtès wrote:
 John Darrington  skribis:
 
 > I have been trying to follow the section in README entitled 
 >
 > * Installing Guix from Guix
 >
 > and have got as far as :
 >   - re-run the configure script passing it the option
 > `--with-libgcrypt-prefix=$HOME/.guix-profile/
 >
 > This results in a  error: 
 > /bin/sh: relocation error: /home/john/.guix-profile/lib/libc.so.6: 
symbol _dl_find_dso_for_object, version GLIBC_PRIVATE not defined in file 
ld-linux.so.2 with link time reference
 >
 > What does this mean and how can I resolve it?
 
 What command produces that error?

It was the configure command, but actually anything (except shell builtins 
provoked it).
 
 > Question: the previous step says to set the variable "LIBRARY_PATH" - I 
presume this should say LD_LIBRARY_PATH - 
 > (I set both anyway).
 
 No, it’s literally LIBRARY_PATH.
 
 Setting LD_LIBRARY_PATH may have caused non-Guix-provided programs to
 link against Guix’s libc, possibly leading to the error above.

Oh you were right.  Unsetting it fixes the problem.

What is LIBRARY_PATH ? I have never heard of that one.
 
-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.



signature.asc
Description: Digital signature


Re: building guix from guix

2014-05-10 Thread Ludovic Courtès
John Darrington  skribis:

> I have been trying to follow the section in README entitled 
>
> * Installing Guix from Guix
>
> and have got as far as :
>   - re-run the configure script passing it the option
> `--with-libgcrypt-prefix=$HOME/.guix-profile/
>
> This results in a  error: 
> /bin/sh: relocation error: /home/john/.guix-profile/lib/libc.so.6: symbol 
> _dl_find_dso_for_object, version GLIBC_PRIVATE not defined in file 
> ld-linux.so.2 with link time reference
>
> What does this mean and how can I resolve it?

What command produces that error?

> Question: the previous step says to set the variable "LIBRARY_PATH" - I 
> presume this should say LD_LIBRARY_PATH - 
> (I set both anyway).

No, it’s literally LIBRARY_PATH.

Setting LD_LIBRARY_PATH may have caused non-Guix-provided programs to
link against Guix’s libc, possibly leading to the error above.

Ludo’.



building guix from guix

2014-05-10 Thread John Darrington
I have been trying to follow the section in README entitled 

* Installing Guix from Guix

and have got as far as :
  - re-run the configure script passing it the option
`--with-libgcrypt-prefix=$HOME/.guix-profile/

This results in a  error: 
/bin/sh: relocation error: /home/john/.guix-profile/lib/libc.so.6: symbol 
_dl_find_dso_for_object, version GLIBC_PRIVATE not defined in file 
ld-linux.so.2 with link time reference

What does this mean and how can I resolve it?

Question: the previous step says to set the variable "LIBRARY_PATH" - I presume 
this should say LD_LIBRARY_PATH - 
(I set both anyway).


J'

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.



signature.asc
Description: Digital signature