# CFLAGS="`sdb-config --cflags`" \ > LDFLAGS="`sdb-config --libs`" \ > ./configure --with-modules=mod_sql:mod_sql_sdb checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details.
使用ORACLE管理proftp,用mod_sql_sdb時出現錯誤,看config.log查到錯誤提示: configure:2732: result: a.out configure:2749: checking whether the C compiler works configure:2759: ./a.out ./a.out: error while loading shared libraries: libsdb.so.0: cannot open shared object file: No such file or directory configure:2762: $? = 127 configure:2771: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details.