编译安装apache2.2.22问题小结

版权声明:随意转载。 https://blog.csdn.net/Hynial/article/details/82053287

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

猜你喜欢

转载自blog.csdn.net/Hynial/article/details/82053287