Aporia
Aporia copied to clipboard
could not import: iconv_open
I compiled the aporia successfully, but could not run it.
could not import: iconv_open
libiconv
had been installed
Which operating system?
mac osx 10.10.3
oh. That's a tough OS to get Aporia working on. You just need to install the correct GTK dependencies, GTK includes the correct libiconv. Afraid I can't help much here as I don't have a Mac.
I'll try it on ubuntu tomorrow.
Hoping to create a Mac bundle to make running Aporia on Mac OS X easier, will update if I manage to do so successfully.
Unfortunately, same problem in FreeBSD-11-p2.
How to set high debug level to understand the problem?
I too have the same problem on FreeBSD-11-p2, using the newly submitted, but as yet uncommitted nimble port.
Wish I could help, but I don't have FreeBSD to test Aporia on.
@dom96 try it in qemu or give me a patch - I can test it.
I'm afraid I don't have the time to do that. Maybe you could investigate?
I have time, but don't have skills in nim debugging ) Give me plz a point to start from.
I'm not sure whether this is a Nim problem. Do other GTK (version 2) apps work on your machine?
Nah. I'm wrong. This module is to blame for this error: https://github.com/nim-lang/Nim/blob/devel/lib/pure/encodings.nim
Perhaps the API is different on FreeBSD?
The libiconv.so DLL simply doesn't have the iconv_open
function, you need to figure out why.
ok. I'll check it. Thanks.
Any news about this problem?
FreeBSD 10.3-RELEASE-p5
the same problem.
nim 0.16.0 & nimble 0.8.2 installed from ports.
$ nm -D libiconv.so.2.5.1 w _Jv_RegisterClasses U ___mb_cur_max 00000000002f99ac A __bss_start w __cxa_finalize U __error U __isthreaded U __srget U __stack_chk_fail U __stack_chk_guard 00000000002f99ac A _edata 00000000002f99e8 A _end 000000000001a478 T _fini 0000000000002a30 T _init 00000000002f99a8 D _libiconv_version U abort U close U fclose U fdopen U free U fscanf U getc U getenv 0000000000004b30 T iconv_canonicalize 00000000000043a0 T libiconv 00000000000043d0 T libiconv_close 0000000000002ec0 T libiconv_open 00000000000043e0 T libiconv_open_into 000000000001a270 T libiconv_set_relocation_prefix 0000000000004830 T libiconvctl 0000000000004940 T libiconvlist U malloc U mbrtowc U memcmp U memcpy U nl_langinfo U open U qsort U realloc U strcmp U strcpy U strlen U strncmp U ungetc U wcrtomb