Chewi Developer
Joined: 01 Sep 2003 Posts: 886 Location: Edinburgh, Scotland
|
Posted: Tue Oct 24, 2006 11:56 pm Post subject: ldconfig across architectures |
|
|
I have my Mac system mounted over NFS on my PC. I use Portage with ROOT and PORTAGE_CONFIGROOT to build stuff for it. That's all fine but every time Portage runs ldconfig to regenerate the Mac's ld.so.cache, the cache gets wiped out and some stuff won't run on the Mac until I run ldconfig on the Mac itself. I tried doing it manually on the PC too. ldconfig -r /mnt/mac just wipes out the cache. If I update the cache on the Mac and try to print the cache on the PC, it says there are 1711341568 libraries in the cache and then segfaults. Is it simply that ldconfig cannot work across architectures like this? If so, I better file a Portage bug to say that ldconfig shouldn't be run if CBUILD != CHOST and ROOT != /. |
|