[Libguestfs] [Hivex] OS X and iconv

Richard W.M. Jones rjones at redhat.com
Wed Oct 16 19:04:47 UTC 2013


On Wed, Oct 16, 2013 at 01:08:02PM -0400, Alex Nelson wrote:
> MacPorts' iconv works fine:
> 
>     $ file /opt/local/lib/libiconv.dylib
>     /opt/local/lib/libiconv.dylib: Mach-O 64-bit dynamically linked shared library x86_64
[...]
> Or is the correct answer to file a complaint with Apple and commence thumb-twiddling?

Heh :-)  It's a bit odd that the libiconv library doesn't have
a 64 bit version.

However I think what you need to do is to tell configure to search in
/opt/local/lib first.  I believe the following should work:

  ./configure LDFLAGS=-L/opt/local/lib CPPFLAGS=-I/opt/local/include
  make

There is more information in ./configure --help output.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list