Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to find Base NCA due to missing libbfd-2.38-system.so, required by dated hac2l build #44

Closed
fedeharuchan opened this issue Oct 26, 2023 · 12 comments

Comments

@fedeharuchan
Copy link

a few days i formated my sd, so i had to get my games again. I download them from the same source, but now i cant update them. when i try i get this error. last time i tried a few months ago didnt have this problem
Screenshot_2023-10-26-16-59-10-182_com termux-edit

@mengchangji
Copy link

Have you solved it?

@dan3840
Copy link

dan3840 commented Oct 31, 2023

I have the same problem

@fedeharuchan
Copy link
Author

fedeharuchan commented Nov 1, 2023

No, seems like the script Is broken. Saw a few Reddit post that have the same problem

@dan3840
Copy link

dan3840 commented Nov 1, 2023

I looked at this error in the log, maybe this is the problem:
com.github.nozwock.yanu/hac2l: error while loading shared libraries: libbfd-2.38-system.so: cannot open shared object file: No such file or directory

@mengchangji
Copy link

have already been solved

@dan3840
Copy link

dan3840 commented Nov 1, 2023

have already been solved

How did you solve it?

@mengchangji
Copy link

It needs to be used in conjunction with the code 'root distro login ubuntu -- bash - c' cp/sdcard/Download/libbfd-2.38-system. so/usr/lib/arch64 Linux gnu/'and libbfd-2.38-system. so files

@fedeharuchan
Copy link
Author

have already been solved

How did you solve it?

your forks works fine, thanks

@dan3840
Copy link

dan3840 commented Nov 3, 2023

have already been solved

How did you solve it?

your forks works fine, thanks

Okay friend, I deleted the message to make a correction.

If you need it, here is the updated repository:
https://github.com/dan3840/yanu

@nozwock
Copy link
Owner

nozwock commented Nov 19, 2023

This issue with missing libraries is probably because the hac2l in use was compiled with older versions of libraries, which are now absent since they were replaced with the latest versions during a system update.

@nozwock
Copy link
Owner

nozwock commented Nov 19, 2023

A workaround would be to symlink to the newer library. The following command does that:

proot-distro login ubuntu -- sh -c 'ln -s "$(find /usr/lib/aarch64-linux-gnu/ -type f -name '"'libbfd*.so'"' | head -n1)" '"'/usr/lib/aarch64-linux-gnu/libbfd-2.38-system.so'"

@nozwock nozwock pinned this issue Nov 20, 2023
@nozwock nozwock changed the title Failed to find base NCA error Failed to find Base NCA due to missing libbfd-2.38-system.so, required by hac2l Nov 20, 2023
@nozwock nozwock changed the title Failed to find Base NCA due to missing libbfd-2.38-system.so, required by hac2l Failed to find Base NCA due to missing libbfd-2.38-system.so, required by dated hac2l build Nov 20, 2023
@nozwock
Copy link
Owner

nozwock commented Nov 20, 2023

For now, I've added a workaround in the installation script. So, those experiencing the issue can simply re-install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants