May I know why the .so file in linux will show up the string value from my cpp code? Even with fvisibility=hidden set in gcc make. for example, i set “Hello World” and it will show up. I tried google but found nothing related.. Thanks. Answer -fvisibility=hidden only affects the linker visibility, i.e. whether symbols are visible when a linker
Tag: .so
How to programmatically check whether a library dependent program can run in a Linux system?
I am having a program(binary) which depends upon libraries such as pthread, sqlite3,libcrypto and libcurl.I want to run this program in multiple user PCs.How to programmatically check whether the dependencies are met, before installing the binary? ./configure cannot be be used as it is for the purpose of building the program as mentioned in , Making os independent configure file