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

Symbol not found #2273

Open
continue98 opened this issue Jan 17, 2025 · 6 comments
Open

Symbol not found #2273

continue98 opened this issue Jan 17, 2025 · 6 comments

Comments

@continue98
Copy link

Hi, I'm trying to run teamspeak3 server on an arm machine and i'm getting errors:

Using emulated libts3_ssh.so
Using native(wrapped) libdl.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libm.so.6
Using native(wrapped) libpthread.so.0
Using emulated /usr/lib/box64-x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) libbsd.so.0
Using emulated /usr/lib/box64-x86_64-linux-gnu/libgcc_s.so.1
Using emulated libts3db_postgresql.so
Using emulated /usr/lib/box64-x86_64-linux-gnu/libpq.so.5
Using native(wrapped) libssl.so.3
Using native(wrapped) libcrypto.so.3
Using native(wrapped) libgssapi_krb5.so.2
Using emulated /usr/lib/box64-x86_64-linux-gnu/libldap-2.5.so.0
Using emulated /usr/lib/box64-x86_64-linux-gnu/liblber-2.5.so.0
Using emulated /usr/lib/box64-x86_64-linux-gnu/libsasl2.so.2
Using native(wrapped) libgnutls.so.30
Error: Symbol pthread_getconcurrency not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0505b100 (0x10676) in /usr/lib/box64-x86_64-linux-gnu/libldap-2.5.so.0
Error: Symbol dn_expand not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0505b1c0 (0x107f6) in /usr/lib/box64-x86_64-linux-gnu/libldap-2.5.so.0
Error: Symbol res_query not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0505bc70 (0x11d56) in /usr/lib/box64-x86_64-linux-gnu/libldap-2.5.so.0
Error: relocating Plt symbols in elf libldap-2.5.so.0
Error initializing needed lib libcrypto.so.3
Error loading one of needed lib
Error initializing needed lib ld-linux-x86-64.so.2
Error loading one of needed lib
Error initializing needed lib libts3db_postgresql.so

How can this be fixed? Thanks in advance!

@ptitSeb
Copy link
Owner

ptitSeb commented Jan 17, 2025

Mmm, those symbols are wrapped already, are you using latest version of box64?

@continue98
Copy link
Author

Mmm, those symbols are wrapped already, are you using latest version of box64?

Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Neoverse-N1 with 16 cores
Will use hardware counter measured at 25.0 MHz emulating 3.2 GHz
Params database has 98 entries
Box64 with Dynarec v0.3.3 bcc497c8 built on Jan 14 2025 06:21:48

@ptitSeb
Copy link
Owner

ptitSeb commented Jan 17, 2025

Ah ok. So I guess those function are missing from libc (probably only the __dn_expand instead). I'll think of something.

@continue98
Copy link
Author

continue98 commented Jan 17, 2025

Ah ok. So I guess those function are missing from libc (probably only the __dn_expand instead). I'll think of something.

I also just copied the required libraries from amd64 machine, but I'm not sure (or rather it's definitely a dirty hack) and maybe because of that it broke..... Copied just to /usr/lib/box64-x86_64-linux-gnu, but I didn't think of anything smarter unfortunately ¯\_(ツ)_/¯

@ptitSeb
Copy link
Owner

ptitSeb commented Jan 17, 2025

Yeah, I noticed that. That's perfectly fine.

@continue98
Copy link
Author

Yeah, I noticed that. That's perfectly fine.

Hi, tag me when the problem is solved, please

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

2 participants