I wrote a program in Rust. When compiled, it requires glibc symbols as well as secure_getenv
.
objdump -T ~/Downloads/redisql_v1.0.1_x86_64.so | grep secure -C 3
0000000000000000 DF *UND* 0000000000000000 GLIBC_2.2.5 rewind
0000000000000000 DF *UND* 0000000000000000 GLIBC_2.2.5 bind
0000000000000000 D *UND* 0000000000000000 secure_getenv ### <--- here
0000000000000000 DF *UND* 0000000000000000 GLIBC_2.2.5 socket
0000000000000000 DF *UND* 0000000000000000 GLIBC_2.2.5 pthread_mutex_trylock
How can I tell which dependencies require this specific function?