[Mono-bugs] [Bug 60533][Nor] Changed - Build fails because bindtextdomain is not in libc

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 22 Jun 2004 15:45:44 -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 edasque@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=60533

--- shadow/60533	2004-06-22 06:32:25.000000000 -0400
+++ shadow/60533.tmp.26867	2004-06-22 15:45:44.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 60533
 Product: Mono: Doctools
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: OS X 10.3
-Status: NEW   
+Status: NEEDINFO   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: Core
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: chris.ridd@isode.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -19,6 +19,20 @@
 Compilation of browser/catalog.cs fails on Mac OS X because the external functions 
 bindtextdomain, bind_textdomain_codeset and textdomain are actually in libintl, not libc.
 
 Changing the DllImports to libintl instead produces a working monodoc.
 
 This is probably an OS-uses-glibc vs OS-doesn't-use-glibc problem, not one specific to OS X.
+
+------- Additional Comments From edasque@ximian.com  2004-06-22 15:45 -------
+Add the following mapping in $MONO_PREFIX/etc/mono/config:
+
+
+<dllmap dll="libc">
+<dllentry target="bindtextdomain" dll="libintl.1.dylib" name="bindtextdomain"/>
+<dllentry target="bindtextdomain" dll="libintl.1.dylib" name="bind_textdomain_co
+deset"/>
+<dllentry target="bindtextdomain" dll="libintl.1.dylib" name="textdomain"/>
+</dllmap>
+
+Let us know if that fixes it.
+