Questions tagged [libiconv]

81 questions
3
votes
1 answer

How to replace MacPort's libiconv with Mac's default 64-bit version?

MacPorts installed "libiconv @1.14_0+universal" as a dependency on my system. This happens to be a 32-bit flavor and it started causing issue when I tried to compile a voice recognition software called Simon Listens. While googling I found out that…
pulkitsinghal
  • 3,855
  • 13
  • 45
  • 84
3
votes
1 answer

c++, MingW, undefined reference to `libiconv'

I'm getting these errors with MingW: undefined reference to `libiconv_close' undefined reference to `libiconv_open' undefined reference to `libiconv' I have the libiconv package from MingW installed. What is causing this? If this is of some…
blubberbernd
  • 3,641
  • 8
  • 35
  • 46
3
votes
4 answers

Installation of R fails because of "undefined reference to `libiconv'"

I have problem with the installation of R 3.5.1. Although I have defined the path of the library "libiconv" in "cshrc", the installation fails with following message: -L"../../lib" -lRblas -L/usr/lib/gcc/x86_64-redhat-linux/4.4.4 -lgfortran -lm …
3
votes
2 answers

Build libxml2 from source under Windows environment

Trying to build libxml2 from source from the current master branch: https://github.com/GNOME/libxml2 I'm working in Windows 10 environment and trying to build the msvc variant. Following the readme…
user7867434
3
votes
1 answer

Why is hexdump of UTF-16 string when passed in as a command line argument different from what it is directly on the terminal?

In bash, I can get the hexdump of the string hello as UTF-16 by doing the following: $ echo -n "hello" | iconv -f ascii -t utf-16 | hexdump 0000000 feff 0068 0065 006c 006c 006f 000000c I can also write a short C program like so: int…
DJG
  • 6,413
  • 4
  • 30
  • 51
3
votes
1 answer

libiconv missing on OSX 10.8 installing nokogiri

I know this has been asked before, but I'm struggling to get this working and a lot of gems depend on nokogiri unfortunately I'm running 10.8.2 with rvm, ruby 1.9.3 Running the following command, obtained from various gists / stack overflow…
Will
  • 4,498
  • 2
  • 38
  • 65
2
votes
1 answer

Weird iconv_open behavior in Linux

In porting a big app from a Windows to Linux, I need to be able to convert between wide characters and multibyte characters. To do this, I have code that looks like this: void IConv(const InType* begin, const InType* end, const char* inCode,…
Marcelo
  • 95
  • 1
  • 7
2
votes
2 answers

How to modify include path for a specific include

I've got an application which is using both iconv functionality and libxml2. libxml2 is installed in /usr/local, so I am using the compiler flag -I/usr/local/include. There is also a standalone libiconv installation in /usr/local which I don't want…
asc99c
  • 3,815
  • 3
  • 31
  • 54
2
votes
1 answer

libiconv.2.dylib Mac OS X Problem

I have a problem with the important file libiconv.2.dylib. When I want to start some applications (like macvim, etc.) i get this error: dyld: Library not loaded: /usr/lib/libiconv.2.dylib Referenced from:…
2
votes
2 answers

Installing rpy2 to work with R 3.4.0 on OSX

I would like to use some R packages requiring R version 3.4 and above. I want to access these packages in python (3.6.1) through rpy2 (2.8). I have R version 3.4 installed, and it is located in /Library/Frameworks/R.framework/Resources However, when…
Vince
  • 305
  • 1
  • 3
  • 7
2
votes
0 answers

How do I compile php 5.6 with this error? Undefined symbols for architecture x86_64

I'm trying to compile php 5.6 on OsX Mavericks but in the middle of linking process I am receiving this error and do not know what to do with it. Undefined symbols for architecture x86_64: "_libiconv", referenced from: _do_convert in gdkanji.o …
pogeybait
  • 3,065
  • 2
  • 21
  • 23
2
votes
0 answers

LAME executes via Terminal but not PHP. libiconv version error

After digging for 8 hours or so and solving many other mysteries I'm ansolutely stuck now. when I run lame /.../disa.mp3 /.../disa3.wav --decode -b 16 -m m via terminal (OSX Maverics) it works just fine, but when I try to do the same via PHP, I get…
2
votes
1 answer

NDK and libiconv

I'm trying to build libiconv through the ndk. I'd never used make files before so I'm learning as I go and used this suggestion as a starting point: https://groups.google.com/forum/#!msg/android-ndk/AS1nkxnk6m4/EQm09hD1tigJ This is my…
Anthony
  • 7,638
  • 3
  • 38
  • 71
2
votes
0 answers

libiconv error when using twitteR package on R

I was hard-pressed to find help on Stack Overflow with the issue I was having with the twitteR package on R. To make this simpler, I'll show you exactly what I…
2
votes
1 answer

QT creator and iconv

I have QT creator project, that has CMarkup library, that uses iconv library. On OSX 10.8.4 I'm having widespread issue with iconv library: Undefined symbols for architecture x86_64: "_iconv", referenced from: ... "_iconv_close", referenced…