1. gcc -shared -fPIC -o hello.so hello.c :这是动态模块编译选项 2.gcc -o hello_dlopen hello_dlopen.c -ldl -export-dynamic: 这是主程序编译选项