编译安装apache2.2.22问题小结

1、configure时找不到pcre-config

编译参数:--with-pcre的目录需要写全,--with-pcre=/usr/local/bin 》》 --with-pcre=/usr/local/bin/pcre-config

2、Size of "void *" is less than size of "long"

you need to either add /usr/local/lib to /etc/ld.so.conf or set LD_LIBRARY_PATH
or whatever, to allow the runtime linker to find PCRE.

SO:配置.bash_profile

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

export LD_LIBRARY_PATH

你可能感兴趣的:(Linux-编译)