[Mono-list] P/Invoke on amd64 was :Marshalling problems
Michal Moskal
Michal Moskal <michal.moskal@gmail.com>
Sun, 13 Feb 2005 02:03:56 +0100
On Sat, 12 Feb 2005 22:04:54 +0000, James Fitzsimons
<james.fitzsimons@gmail.com> wrote:
> > Then, you can tell us what it takes to find the library, I can update my
> > guide, and everyone can be happy. :-)
> I wish I could. Actually as an example the little program (one of the examples from
> Mono - A developers Notebook ) I have attached runs fine in my 32 bit
> chroot but not under 64 bit. Both installations are using Mono 1.1.4
> built from the daily release a couple of days ago. On my 32 bit chroot
> libncurses.so lives in /lib. In my 64 bit install it lives in /lib64
> (which has a /lib symlink).
The example works for me without any problems, some other info:
[malekith@r64 07-pinvoke]$ ldd =mono
libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0
(0x0000002a9566c000)
libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0
(0x0000002a95770000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000002a95874000)
libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x0000002a95977000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x0000002a95afc000)
libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x0000002a95c13000)
libm.so.6 => /lib64/tls/libm.so.6 (0x0000002a95d28000)
librt.so.1 => /lib64/tls/librt.so.1 (0x0000002a95eac000)
libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a95fb6000)
/lib64/ld-linux-x86-64.so.2 (0x0000002a95556000)
[malekith@r64 07-pinvoke]$ mono --version
Mono JIT compiler version 1.1.4, (C) 2002-2004 Novell, Inc and
Contributors. www.go-mono.com
TLS: __thread
GC: Included Boehm (with typed GC)
SIGSEGV : normal
Globalization: none
[malekith@r64 07-pinvoke]$ uname -a
Linux roke 2.6.10-0.96 #1 Sun Jan 9 06:11:03 CET 2005 x86_64 0 unknown PLD Linux
[malekith@r64 07-pinvoke]$
--
: Michal Moskal :: http://nemerle.org/~malekith/ :: GCS !tv h e>+++ b++
: Logic - the art of being wrong with confidence :: UL++++$ C++ E--- a?