I would guess you are building against the latest release of wfmath? I released Mercator 0.3.0 yesterday which fixes this issue, amongst many other changes, but released versions of Eris, Cyphesis and Ember won't work with it yet. Releases of these packages should come this week.
If you want to build entirely from released software, you will need to back off to wfmath 0.3.10. If you want the latest and greatest, build from git, or wait for new releases of Eris, Cyphesis and Ember coming very soon.
While building cyphesis today .... I got error in the make check part . All test of mercator & cyphesis failed to find the library libwfmath-0.3.so.5
Though i manually found it present in usr/local/lib/ So i ignored the error in check & installed it .. i have still not run cyphesis so am a bit unsure if i did the right thing or not . I am in some problem with postgresql . Will post here if i find some error arising due to it .
/home/jekin/dep/mercator-0.3.0/tests/.libs/lt-mercatortest: error while loading shared libraries: libwfmath-0.3.so.5: cannot open shared object file: No such file or directory
This is almost certainly because of one of the following:
You have install wfmath into a location that the Linux runtime linker does not know about.
OR
You have not run ldconfig as root since installing wfmath.
You have probably installed wfmath in /usr/local, in which case just check that /usr/local/lib is listed in /etc/ld.so.conf, and then run ldconfig as root so that your system knows about all the libraries in there.