Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could not import: iconv_open #88

Open
Iancurtis opened this issue May 20, 2015 · 19 comments
Open

could not import: iconv_open #88

Iancurtis opened this issue May 20, 2015 · 19 comments
Labels

Comments

@Iancurtis
Copy link

I compiled the aporia successfully, but could not run it.
could not import: iconv_open
libiconv had been installed

@dom96
Copy link
Owner

dom96 commented May 20, 2015

Which operating system?

@Iancurtis
Copy link
Author

mac osx 10.10.3

@dom96
Copy link
Owner

dom96 commented May 20, 2015

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.

@Iancurtis
Copy link
Author

I'll try it on ubuntu tomorrow.

@dom96 dom96 added the Question label Mar 25, 2016
@dom96
Copy link
Owner

dom96 commented Mar 25, 2016

Hoping to create a Mac bundle to make running Aporia on Mac OS X easier, will update if I manage to do so successfully.

@kandeshvari
Copy link

kandeshvari commented Dec 4, 2016

Unfortunately, same problem in FreeBSD-11-p2.

How to set high debug level to understand the problem?

@nealie
Copy link

nealie commented Dec 15, 2016

I too have the same problem on FreeBSD-11-p2, using the newly submitted, but as yet uncommitted nimble port.

@dom96
Copy link
Owner

dom96 commented Dec 15, 2016

Wish I could help, but I don't have FreeBSD to test Aporia on.

@kandeshvari
Copy link

@dom96 try it in qemu or give me a patch - I can test it.

@dom96
Copy link
Owner

dom96 commented Dec 15, 2016

I'm afraid I don't have the time to do that. Maybe you could investigate?

@kandeshvari
Copy link

I have time, but don't have skills in nim debugging ) Give me plz a point to start from.

@dom96
Copy link
Owner

dom96 commented Dec 15, 2016

I'm not sure whether this is a Nim problem. Do other GTK (version 2) apps work on your machine?

@dom96
Copy link
Owner

dom96 commented Dec 15, 2016

Nah. I'm wrong. This module is to blame for this error: https://github.com/nim-lang/Nim/blob/devel/lib/pure/encodings.nim

@dom96
Copy link
Owner

dom96 commented Dec 15, 2016

Perhaps the API is different on FreeBSD?

@dom96
Copy link
Owner

dom96 commented Dec 15, 2016

The libiconv.so DLL simply doesn't have the iconv_open function, you need to figure out why.

@kandeshvari
Copy link

ok. I'll check it. Thanks.

@Peter2121
Copy link

Any news about this problem?
FreeBSD 10.3-RELEASE-p5
the same problem.
nim 0.16.0 & nimble 0.8.2 installed from ports.

@Peter2121
Copy link

Peter2121 commented May 3, 2017

$ 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants
@dom96 @nealie @Iancurtis @kandeshvari @Peter2121 and others