eruwero <[email protected]> writes:

> Hi Rutherther,
>
> Rutherther <[email protected]> writes:
>> What is output of ldd on the guile that is used? (see shebang in
>> /gnu/store/q24khxz35bhd4gzm1m3sdf2vq14a274y-guix-command).
>
> ldd /gnu/store/22ad54w9nlg4nj3mylw8xa0wfnv7s4b1-guile-wrapper/bin/guile
>         linux-vdso.so.1 (0x00007fec4e5a3000)
>         libguile-3.0.so.1 => ~/.guix-profile/lib/libguile-3.0.so.1 
> (0x00007fec4e458000)
>         libgcc_s.so.1 => ~/.guix-profile/lib/libgcc_s.so.1 
> (0x00007fec4e42b000)
>         libc.so.6 => ~/.guix-profile/lib/libc.so.6 (0x00007fec4e24d000)
>         libgc.so.1 => ~/.guix-profile/lib/libgc.so.1 (0x00007fec4e1e0000)
>         libffi.so.8 => ~/.guix-profile/lib/libffi.so.8 (0x00007fec4e1d0000)
>         libunistring.so.5 => ~/.guix-profile/lib/libunistring.so.5 
> (0x00007fec4e01f000)
>         libcrypt.so.1 => 
> /gnu/store/z9irxvkjqjfqcba5d63229zlnbi1hh2f-libxcrypt-4.4.36/lib/libcrypt.so.1
>  (0x00007fec4dfe4000)
>         libm.so.6 => ~/.guix-profile/lib/libm.so.6 (0x00007fec4df04000)
>         
> /gnu/store/mprrfhb2cq6dwsxf6pgj1zmjincd4x5h-glibc-2.41/lib/ld-linux-x86-64.so.2
>  => 
> /gnu/store/hw6g2kjayxnqi8rwpnmpraalxi0djkxc-glibc-2.39/lib/ld-linux-x86-64.so.2
>  (0x00007fec4e5a5000)
>

This is wrong. Did you by any chance set LD_LIBRARY_PATH variable? If
so, unset it, I don't see other reason your so files would point to
~/.guix-profile/lib. LD_LIBRARY_PATH is a dirty workaround, I would
suggest you to refrain from using it, it is bound to break stuff.

>
>> Do you get segfault when starting that guile directly?
> Yes.
>
>> Also, have you tried verifying your store to see there is no file
>> corruption?
> I ran `guix gc --verify=contents` and it didn't print anything about
> corruptions.
>
>
> Thank you for your help!  And sorry for the duplicate email, I thought
> the first one wasn't sent properly.
>
>
> Best,
> eruwero

Reply via email to