all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* building guix from guix
@ 2014-05-10 12:01 John Darrington
  2014-05-10 13:08 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: John Darrington @ 2014-05-10 12:01 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 814 bytes --]

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.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: building guix from guix
  2014-05-10 12:01 building guix from guix John Darrington
@ 2014-05-10 13:08 ` Ludovic Courtès
  2014-05-10 16:51   ` John Darrington
  0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2014-05-10 13:08 UTC (permalink / raw)
  To: John Darrington; +Cc: guix-devel

John Darrington <john@darrington.wattle.id.au> 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’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: building guix from guix
  2014-05-10 13:08 ` Ludovic Courtès
@ 2014-05-10 16:51   ` John Darrington
  2014-05-10 18:33     ` Sergio Durigan Junior
  2014-05-10 20:01     ` Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: John Darrington @ 2014-05-10 16:51 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1500 bytes --]

On Sat, May 10, 2014 at 03:08:58PM +0200, Ludovic Courtès wrote:
     John Darrington <john@darrington.wattle.id.au> 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.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: building guix from guix
  2014-05-10 16:51   ` John Darrington
@ 2014-05-10 18:33     ` Sergio Durigan Junior
  2014-05-10 20:01     ` Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: Sergio Durigan Junior @ 2014-05-10 18:33 UTC (permalink / raw)
  To: John Darrington; +Cc: guix-devel

On Saturday, May 10 2014, John Darrington wrote:

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

<http://gcc.gnu.org/onlinedocs/gcc-4.9.0/gcc/Environment-Variables.html#Environment-Variables>

  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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: building guix from guix
  2014-05-10 16:51   ` John Darrington
  2014-05-10 18:33     ` Sergio Durigan Junior
@ 2014-05-10 20:01     ` Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2014-05-10 20:01 UTC (permalink / raw)
  To: John Darrington; +Cc: guix-devel

John Darrington <john@darrington.wattle.id.au> 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’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-05-10 20:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-10 12:01 building guix from guix John Darrington
2014-05-10 13:08 ` Ludovic Courtès
2014-05-10 16:51   ` John Darrington
2014-05-10 18:33     ` Sergio Durigan Junior
2014-05-10 20:01     ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.