Error while trying to start ElasticSearch in Mac OS X

When trying to start elasticsearch in my local machine (OS X Lion) with the following command:
elasticsearch/bin/elasticsearch -f
I am getting this error:
dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
Referenced from: /opt/local/bin/getopt
Reason: no suitable image found. Did find:
/opt/local/lib/libintl.8.dylib: mach-o, but wrong architecture
Error parsing arguments!

Has anyone came up with this error in the past and found a solution?

Lion messes up the development environment at many places. So, it removes
gettext. Try to reinstall from MacPorts with

sudo port clean gettext

sudo port install gettext

Best regards,

Jörg

On Tuesday, November 13, 2012 12:38:07 PM UTC+1, Alexandros Kom wrote:

When trying to start elasticsearch in my local machine (OS X Lion) with
the
following command:
/elasticsearch/bin/elasticsearch -f/
I am getting this error:
/dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
Referenced from: /opt/local/bin/getopt
Reason: no suitable image found. Did find:
/opt/local/lib/libintl.8.dylib: mach-o, but wrong architecture
Error parsing arguments!/

Has anyone came up with this error in the past and found a solution?

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Error-while-trying-to-start-ElasticSearch-in-Mac-OS-X-tp4025373.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

--

Hi,thx for the reply but that doesn't seem to work

When trying to start elasticsearch in my local machine (OS X Lion) with
the following command:
/elasticsearch/bin/elasticsearch -f/
I am getting this error:
/dyld: Library not loaded: /opt/local/lib/libintl.8.dylib

How have you installed elasticsearch? Downloading from
Elasticsearch Platform — Find real-time answers at scale | Elastic & unpacking, using Homebrew? Are you
using MacPorts, Fink?

Karel

--