silpol / pyspatialite

Automatically exported from code.google.com/p/pyspatialite
zlib License
0 stars 0 forks source link

Error to build pyspatialite-3.0.1 on mac os x 10.8.2 #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. sudo python setup.py build

What is the expected output? What do you see instead?
running build
running build_py
running build_ext
/usr/bin/cc -fno-strict-aliasing -O3 -w -pipe -DNDEBUG -g -fwrapv -O3 -Wall 
-Wstrict-prototypes -I/usr/local/Cellar/python/2.7.2/include/python2.7 -c 
/tmp/iconvL0nCeB.c -o tmp/iconvL0nCeB.o
/usr/bin/cc tmp/iconvL0nCeB.o -o a.out
Undefined symbols for architecture x86_64:
  "_iconv", referenced from:
      _main in iconvL0nCeB.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

What version of the product are you using? On what operating system?
pyspatialite-3.0.1 and mac os x 10.8.2

Please provide any additional information below.
I do have libiconv in /usr/lib

Original issue reported on code.google.com by guig...@gmail.com on 5 Oct 2012 at 2:22