Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
system broke after changing CHOST(solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
hedmo
Veteran
Veteran


Joined: 29 Aug 2009
Posts: 1305
Location: sweden

PostPosted: Thu Mar 17, 2022 2:55 pm    Post subject: system broke after changing CHOST(solved) Reply with quote

Hi all

After quite some time i decided to go with the advice from my bug : https://bugs.gentoo.org/785604
and changing my CHOST . but after :

Code:

emerge --ask --oneshot sys-devel/gcc


i am getting :

Code:

megabox / # emerge --ask --oneshot sys-libs/glibc
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.9/emerge", line 46, in <module>
    from _emerge.main import emerge_main
  File "/usr/lib/python3.9/site-packages/_emerge/main.py", line 22, in <module>
    from portage.sync import _SUBMODULE_PATH_MAP
  File "/usr/lib/python3.9/site-packages/portage/sync/__init__.py", line 9, in <module>
    from portage.sync.controller import SyncManager
  File "/usr/lib/python3.9/site-packages/portage/sync/controller.py", line 21, in <module>
    from portage.package.ebuild.doebuild import _check_temp_dir
  File "/usr/lib/python3.9/site-packages/portage/package/ebuild/doebuild.py", line 116, in <module>
    from portage.util.compression_probe import _compressors
  File "/usr/lib/python3.9/site-packages/portage/util/compression_probe.py", line 4, in <module>
    import ctypes
  File "/usr/lib/python3.9/ctypes/__init__.py", line 8, in <module>
    from _ctypes import Union, Structure, Array
ImportError: libgcc_s.so.1: cannot open shared object file: No such file or directory
megabox / #


i am following this : https://wiki.gentoo.org/wiki/Changing_the_CHOST_variable

regards hedmo


Last edited by hedmo on Sun Apr 03, 2022 3:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1697

PostPosted: Thu Mar 17, 2022 6:22 pm    Post subject: Reply with quote

Try running ldconfig?
Back to top
View user's profile Send private message
hedmo
Veteran
Veteran


Joined: 29 Aug 2009
Posts: 1305
Location: sweden

PostPosted: Thu Mar 17, 2022 7:23 pm    Post subject: Reply with quote

sam_ wrote:
Try running ldconfig?


sam_

Thanks emerge has started. will hold it open a bit more.

regards hedmo
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54388
Location: 56N 3W

PostPosted: Thu Mar 17, 2022 7:52 pm    Post subject: Reply with quote

Moved from Portage & Programming to Gentoo on ARM.

emerge --info says its an arm system
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hedmo
Veteran
Veteran


Joined: 29 Aug 2009
Posts: 1305
Location: sweden

PostPosted: Thu Mar 17, 2022 8:31 pm    Post subject: Reply with quote

NeddySeagoon

Yes . You are right . It is an arm system. Thanks for putting it in correct spot.

Regards hedmo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM 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