> On Wed, Jul 09, 2008 at 04:50:12PM +0100, Paul Carey wrote: >>> >>>> After reading around I get the impression that this might be related to >>>> openssl and the crypto library in erlang. Indeed, running >>>> crytpo.start(). from erl fails with ** exception error: bad function >>>> 'crypto.start' >>>> >>> >>> Yup, that's exactly what it is. Try uninstalling Erlang and reinstalling. >>> >>> If that doesn't work, it may be a MacPorts problem, you could try from >>> source. >>> >> >> Thanks for your advice. >> >> Uninstalling and reinstalling Erlang didn't help, but I did observe >> that $macport_home/lib/erlang/lib/crypto-1.5.1.1 is empty apart from a >> docs dir and an info file. >> >> Upgrading openssl to openssl 0.9.8h_0 made no difference. >> >> Installing Erlang from source elicited no errors, and the crypto dir >> is populated, but crypto.start(). stil gives me the same error ** >> exception error: bad function 'crypto.start' >> > > Can you double check that the 'erl' that you built from source is > the first that gets found in your PATH? > > In related news, you might want to try this: > http://jan.prima.de/~jan/plok/archives/142-CouchDBX-Revival.html<http://jan.prima.de/%7Ejan/plok/archives/142-CouchDBX-Revival.html> >
Thanks Jan, I should have replied to my earlier mail. After uninstalling CouchDB and Erlang and rebuilding both from source, the installation succeeded.
