[Mono-bugs] [Bug 59470][Nor] Changed - Beta 2 build fails (missing -lintl)
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 3 Jun 2004 10:15:45 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by grompf@sublimeintervention.com.
http://bugzilla.ximian.com/show_bug.cgi?id=59470
--- shadow/59470 2004-06-03 08:55:23.000000000 -0400
+++ shadow/59470.tmp.11063 2004-06-03 10:15:45.000000000 -0400
@@ -55,6 +55,18 @@
at the end
------- Additional Comments From lupus@ximian.com 2004-06-03 08:55 -------
This is not a bug in mono but in in libintl.a: compile it correctly or
use a precompiled package that has it correctly compiled.
Running ranlib /usr/local/lib/libintl.a as root may help, too.
+
+------- Additional Comments From grompf@sublimeintervention.com 2004-06-03 10:15 -------
+This is not a mono bug, but a libintl bug on OSX. libintl cannot be built statically out of
+the box, but it does build a stub .la. The solution is:
+
+A) Dont bind libintl statically
+B) Fix your libintl.la
+
+perl -pi -e "s/old_library='libintl.a'/old_library=''/" $PREFIX/libintl.la
+
+-kangaroo
+