查看apache编译参数 cat /usr/local/apache/build/config.nice 查看nginx编译参数 /usr/local/nginx/sbin/nginx -V 查看mysql编译参数 grep CONFIGURE_LINE /usr/local/mysql/bin/mysqlbug 查看php编译参数 /usr/local/php/bin/php -i | grep configure It is not safe to rely on the system解决方
gcc -shared -o hack.so hack.c/usr/bin/ld: /tmp/ccUZREwA.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC/tmp/ccUZREwA.o: could not read symbols: Bad valuecollect2: ld returned 1 exit