clkao / plv8js-migrated

Automatically exported from code.google.com/p/plv8js
Other
0 stars 0 forks source link

build problem with libintl on OS X #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The build fails on OS X like this:

Undefined symbols for architecture x86_64:
  "_libintl_gettext", referenced from:
      FormatSPIStatus(int)  in plv8.o
      DoCall(v8::Handle<v8::Function>, v8::Handle<v8::Object>, int, v8::Handle<v8::Value>*)in plv8.o
ld: symbol(s) not found for architecture x86_64

One fix is to add -lintl to the command line.

But since you are not translating any messages anyway, it might be easier to 
just remove the gettext() or _()  calls for now.

Possible patch attached.  (The stuff I removed in the patch wasn't used anyway, 
because LIBS is not used for the shared library linking.)

Original issue reported on code.google.com by petereisentraut on 18 Apr 2013 at 3:29

Attachments:

GoogleCodeExporter commented 9 years ago
Does attached work for you?

Original comment by umi.tan...@gmail.com on 19 Apr 2013 at 7:11

Attachments:

GoogleCodeExporter commented 9 years ago
Yes, that works.

Original comment by petereisentraut on 19 Apr 2013 at 1:00

GoogleCodeExporter commented 9 years ago
Thanks.

Original comment by umi.tan...@gmail.com on 20 Apr 2013 at 5:03