我有 .c 和 .so 文件。我尝试使用以下编译:gcc main.c -ldl。在该 .c 文件中,我通过 链接到 .so 文件dlsym()。如何使用 .so 文件和 .c 进行编译。
gcc main.c -ldl
dlsym()
c gcc
c ×1
gcc ×1