Thursday, June 19, 2008

libpcre.so.3




If you try to install the haXe libraries on Fedora with:


haxelib setup


you might get an error about libpcre.so.3 not being found. To correct this, just symlink your /lib/libpcre.so.0 to libpcre.so.3, like this:


ln -s /lib/libpcre.so.0.0.1 /lib/libpcre.so.3


And reload your libraries with:


ldconfig -v


You don't have to download that Debian version of libpcre, they just unilaterally chose to rename libpcre as version 3 for some reason, and because so many people use Ubuntu, it's starting to creep into common usage.