Termux-app: ERROR: ld.so: object '/lib/aarch64-linux-gnu/libgcc_s.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored

Created on 24 May 2020  路  4Comments  路  Source: termux/termux-app

I have problem with "ERROR: ld.so: object '/lib/aarch64-linux-gnu/libgcc_s.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored" I tried install ligbcc but when i install i have "E : Unable to Locate Package" and i can't install ligbcc i don't now what i can do

Most helpful comment

I also had this error

All 4 comments

Any reason to have that library in preload ?

unset LD_PRELOAD

or remove LD_PRELOAD env setting from proot command.

I also had this error

Alguna ayuda para solucionar esto muchas gracias.
ERROR: 1ld.so: object '/usr/lib/aarch64-linux-gnu/libgcc_s.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/aarch64-linux-gnu/libgcc_s.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
??????(kali??localhost)-[~]
????$

@BotGamer2813 Just edit your proot (Kali?) startup script and remove LD_PRELOAD assignment.

It seems that someone found LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libgcc_s.so.1 without understanding the context and add it in his scripts. LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libgcc_s.so.1 will work only in AArch64 (arm64) distributions. In any other you get an error: LD_PRELOAD cannot be preloaded.

Read the scripts you are getting from the Internet before using them, as sometimes they are doing literally weird stuff.

Was this page helpful?
0 / 5 - 0 ratings