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

I have undefined symbol when use libmem with rustlang on Debian 12 #272

Open
expl01txx opened this issue Jan 24, 2025 · 1 comment
Open

Comments

@expl01txx
Copy link

I use find_module, find_symbol_address and hook_code
/home/sdd/Desktop/server/libhyprldr.so: undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE

cargo toml:

[package]
name = "hyprldr"
version = "0.1.0"
edition = "2021"

[dependencies]
java-bindgen = "0.1.0-alpha.4"
zip = "2.2.2"
chrono = "0.4"
xengine = {path="../xengine-project/xengine"}
rand = "0.8.5"
libmem = "5"
colored = "3.0.0"
ratatui-splash-screen = "0.1.4"
ratatui = "0.29.0"
sha2 = "0.10.8"
ctor = "0.2.9"

[target.x86_64-unknown-linux-gnu]
rustflags = ["-C", "link-args=-lstdc++ -ldl -lpthread -lm"]

[lib]
crate-type = ["cdylib"]

[profile.release]
lto = true
debug = "none"
opt-level = "z"
strip = true
panic = "abort"

[package.metadata.java-bindgen]
package = "org.expl01t.loader"
@rdbo
Copy link
Owner

rdbo commented Jan 24, 2025

Try updating your libstdc++
If you are on Debian stable, there is a good chance that it is extremely outdated also

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