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系统中的两个问题及解决办法。一是configure时找不到pcre - config,需写全--with - pcre的目录;二是出现‘Size of \void *\ is less than size of \long\’提示,可通过配置.bash_profile设置LD_LIBRARY_PATH来解决。

1839

被折叠的 条评论
为什么被折叠?



