Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ldconfig across architectures
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Tue Oct 24, 2006 11:56 pm    Post subject: ldconfig across architectures Reply with quote

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 != /.
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Thu Oct 26, 2006 12:01 am    Post subject: Reply with quote

I take it nobody knows. I guess I'll file a bug anyway because this needs to be resolved one way or another.

https://bugs.gentoo.org/show_bug.cgi?id=152828
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum