View previous topic :: View next topic |
Author |
Message |
teqdruid
Joined: 11 May 2004 Posts: 390 Location: UMD
|
Posted: Sat Jul 22, 2006 10:20 pm Post subject: Mango on Linux with AMD64 |
|
|
Hey guys,
I just bought this hot new AMD64 system and I'm trying to get Mango working with it. My application (which uses Mango) compiles and links OK, but I get:
Error: required u_forDigit_3_2
OK, fine. I'm running 32 bit Mango application but I have 64bit ICU installed. So, I installed ICU 32 bit by hand with:
./configure --disable-64bit-libs
gmake
su make install
It put it in the wrong location (/usr/local/lib, which it ln -s to /usr/local/lib64) so I copied everything to /usr/lib32. Same error when I execute my program, so I strace it:
Code: | ...
open("/usr/lib32/i686/libicuuc.so.32", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib32/sse2/libicuuc.so.32", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib32/libicuuc.so.32", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\10\4\0"..., 512) = 512
close(3) = 0
munmap(0xf7f63000, 159278) = 0
fstat64(0x1, 0xff9649d8) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0x1000) = 0xfffffffff7f89000
write(1, "Error: required u_forDigit_3_2\n", 31Error: required u_forDigit_3_2
) = 31
exit_group(1) = ?
Process 2668 detached
|
So it found the file, but it can't find the function? I compiled and installed 32-bit ICU 3.2, so I'm a bit confused.
Also,
Code: | teqdruid@home ~/workspace/nnPersonal $ grep u_forDigit_3_2 /usr/lib32/libicuuc.so.32
Binary file /usr/lib32/libicuuc.so.32 matches
|
So it's in there somewhere!
Anybody got any suggestions?
Thanks,
John |
|
Back to top |
|
|
jcomellas
Joined: 30 Jan 2006 Posts: 22 Location: Buenos Aires, Argentina
|
Posted: Tue Jul 25, 2006 7:12 am Post subject: Re: Mango on Linux with AMD64 |
|
|
What 64 bit compiler are you using on Linux? AFAIK, DMD and GDC only generate 32 bit object files. |
|
Back to top |
|
|
teqdruid
Joined: 11 May 2004 Posts: 390 Location: UMD
|
Posted: Tue Jul 25, 2006 11:48 am Post subject: Re: Mango on Linux with AMD64 |
|
|
jcomellas wrote: | What 64 bit compiler are you using on Linux? AFAIK, DMD and GDC only generate 32 bit object files. |
I'm using DMD. I'm not trying to generate 64-bit files- I'm trying to run 32 bit, but can't get mango to use my 32 bit ICU library properly.
~John |
|
Back to top |
|
|
kris
Joined: 27 Mar 2004 Posts: 1494 Location: South Pacific
|
Posted: Wed Jul 26, 2006 1:45 am Post subject: |
|
|
Mango needs to be configured to work with specific ICU releases, since IBM prefix the function-names with the current-version. See ICU.d for info |
|
Back to top |
|
|
teqdruid
Joined: 11 May 2004 Posts: 390 Location: UMD
|
Posted: Wed Jul 26, 2006 2:02 am Post subject: |
|
|
kris wrote: | Mango needs to be configured to work with specific ICU releases, since IBM prefix the function-names with the current-version. See ICU.d for info |
I see ICUSig, but past that, I don't see anything else. It's using ICU 3.2 by default, and that's the version I've got installed. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|