aix, dlopen(NULL, .), and gcc

来源:互联网 发布:希尔排序算法 java 编辑:程序博客网 时间:2024/06/07 06:21
For dlopen() [and the underlying AIX load()] functions to work,the symbols must be visible.  You either need to explicitly export thesymbols you will inquire with GCC -Wl,-bE:symbols.exp where symbols.expcontains a single line:fooor use -Wl,-bexpall which will work in this case but may cause problems inmore complicated settings.
0 0