Thanks Vadim...

I compiled / installed both as root. Running an ubuntu 10.10 linux distribution.

locate returns nothing, however locate returns:


Did I install the wrong version of PCRE? It was the most current version on the PCRE site. If is backwards compatible, could I somehow point swig at it instead?

If not do you know what the correct PCRE distribution would be?

Thanks again for the help!


On 20/11/2010 20:13, Vadim Zeitlin wrote:
On Sat, 20 Nov 2010 19:25:41 +0000 Daniel Mostovoy <> wrote:

DM> Hi... I've recently decided to upgrade to swig 2.0.1 after using 1.3. 
DM> upon first running ./config i understood that I also had to install 
DM> PCRE. So I downloaded & installed pcre-8.10, came back to swig & the 
DM> config, make, make install seemed to work great. Upon completion 
DM> however, when I ran swig -version I got the following error:
DM> swig:error while loading shared libraries: cannot open 
DM> shared object file: No such file or directory
DM> Did I make some mistake while installing pcre that the shared libraries 
DM> are missing?

 If you're under Linux and installed PCRE as a normal user (and not root)
you may have forgotten to run ldconfig and/or add the directory where you
installed it (/usr/local/lib?) to /etc/ But this is just a
guess, it's difficult to say anything more without knowing anything about
your platform.

------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today
_______________________________________________ Swig-user mailing list