[Mono-list] DESTDIR problem (on OS-X)

Andy Satori dru@satori-assoc.com
Fri, 21 Nov 2003 13:00:50 -0500


--Apple-Mail-2-936138333
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

As an aside, I'm down to just a couple of errors of relevance:

Warnings:

ld: warning multiple definitions of symbol _locale_charset
/usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/usr/local/lib/libintl.dylib(localcharset.o) definition of  
_locale_charset
ld: warning suggest use of -bind_at_load, as lazy binding may result in  
errors or different symbols being used
symbol _locale_charset used from dynamic library  
/usr/lib/libiconv.dylib(localcharset.o) not from earlier dynamic  
library /usr/local/lib/libintl.2.dylib(localcharset.o)

Errors:

ld: Undefined symbols:
_mono_unicode_from_external
_mono_unicode_to_external
_mono_utf8_from_external


On Nov 21, 2003, at 10:24 AM, Markus W. Weissmann wrote:

> Hi folks,
>
> I'm trying to build and install Mono 0.26 on OS-X:
> when making a 'make install DESTDIR=...", I'll get an error, as it  
> seems it likes to do some
> late linking and assumes the files to be in the final destination  
> (/opt/local in this case), not in DESTDIR.
> Can someone help me solve this one? I assume this is a OS-X specific  
> bug;
>
> thanks,
>
> mww
>
> ---
> /bin/sh ../../mkinstalldirs  
> /Users/mww/Development/dports/devel/mono/work/destroot/opt/local/lib
>  /bin/sh ../../libtool --mode=install /usr/bin/install -c   
> libmono-profiler-cov.la  
> /Users/mww/Development/dports/devel/mono/work/destroot/opt/local/lib/ 
> libmono-profiler-cov.la
> libtool: install: warning: relinking `libmono-profiler-cov.la'
> (cd  
> /Users/mww/Development/dports/devel/mono/work/mono-0.26/mono/profiler;  
> /bin/sh ../../libtool --mode=relink gcc -g -Wall -Wunused  
> -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  
> -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual  
> -Wcast-align -Wwrite-strings -L/opt/local/lib -pthread -o  
> libmono-profiler-cov.la -rpath /opt/local/lib mono-cov.lo  
> ../../mono/mini/libmono.la -lpthread -inst-prefix-dir  
> /Users/mww/Development/dports/devel/mono/work/destroot)
> gcc -r -keep_private_externs -nostdlib -o  
> .libs/libmono-profiler-cov.0.0.0.dylib-master.o  mono-cov.lo && gcc  
> -dynamiclib -flat_namespace -undefined suppress -o  
> .libs/libmono-profiler-cov.0.0.0.dylib  
> .libs/libmono-profiler-cov.0.0.0.dylib-master.o  -L/opt/local/lib  
> /opt/local/lib/libmono.dylib -lpthread -lc -install_name  
> /opt/local/lib/libmono-profiler-cov.0.dylib -compatibility_version 1  
> -current_version 1.0
> gcc: /opt/local/lib/libmono.dylib: No such file or directory
> libtool: install: error: relink `libmono-profiler-cov.la' with the  
> above command before installing it
> make[3]: *** [install-libLTLIBRARIES] Error 1
> make[2]: *** [install-am] Error 2
> make[1]: *** [install-recursive] Error 1
> make: *** [install-recursive] Error 1
>
> ---
> Markus W. Weissmann
> http://www.mweissmann.de/
>
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>

--Apple-Mail-2-936138333
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Disposition: attachment;
	filename=smime.p7s

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGHDCCAtUw
ggI+oAMCAQICAwsQBTANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh
d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt
YWlsIElzc3VpbmcgQ0EwHhcNMDMxMTAzMDAzNDA5WhcNMDQxMTAyMDAzNDA5WjBGMR8wHQYDVQQD
ExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSMwIQYJKoZIhvcNAQkBFhRkcnVAc2F0b3JpLWFzc29j
LmNvbTCCASIwD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