[<<][nixos][>>][..]
Thu Oct 31 13:52:39 EDT 2019

rpaths still not ok

I have a nix-build +- working, but still have undefined symbols:

tom@panda:~$ ldd /nix/store/9c79arzzc34jhy2h232wdrkvcyndk0kz-buildroot-i586/host/bin/../libexec/gcc/i586-buildroot-linux-uclibc/6.4.0/cc1
	linux-vdso.so.1 (0x00007ffecac37000)
	libmpc.so.3 => /usr/lib/x86_64-linux-gnu/libmpc.so.3 (0x00007f4982dbf000)
	libmpfr.so.4 => /usr/lib/x86_64-linux-gnu/libmpfr.so.4 (0x00007f4982b58000)
	libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f49828d5000)
	libdl.so.2 => /nix/store/681354n3k44r8z90m35hm8945vsp95h1-glibc-2.27/lib/libdl.so.2 (0x00007f49831da000)
	libm.so.6 => /nix/store/681354n3k44r8z90m35hm8945vsp95h1-glibc-2.27/lib/libm.so.6 (0x00007f4983044000)
	libc.so.6 => /nix/store/681354n3k44r8z90m35hm8945vsp95h1-glibc-2.27/lib/libc.so.6 (0x00007f498271f000)
	/nix/store/681354n3k44r8z90m35hm8945vsp95h1-glibc-2.27/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007f4982fd7000)

Should be easy enough to patch up:

tom@panda:/nix/store/9c79arzzc34jhy2h232wdrkvcyndk0kz-buildroot-i586$ find -name '*libmpc*'
./host/lib/libmpc.so.3.0.0
./host/lib/libmpc.so.3
./host/lib/libmpc.so
./host/lib/libmpc.la



EDIT: Re-use the intelligence inside fix-rpath utility?
Anyways it looks like it is working now.  Will need some more testing.
Maybe first move exo builds to nix?





[Reply][About]
[<<][nixos][>>][..]