darkdh / cconv

Automatically exported from code.google.com/p/cconv
GNU General Public License v2.0
0 stars 0 forks source link

build failed under i686-apple-darwin11.3.0 #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./configure
2. make

What is the expected output? What do you see instead?
expect make successful

but failed with:
make  all-am
/bin/sh ./libtool --tag=CC --mode=link gcc  -g -O2   -o cconv  cconv-cconv.o 
cconv-main.o cconv-unicode.o  
gcc -g -O2 -o cconv cconv-cconv.o cconv-main.o cconv-unicode.o   
Undefined symbols for architecture x86_64:
  "_iconv_close", referenced from:
      _cconv_close in cconv-cconv.o
  "_iconv", referenced from:
      _cconv in cconv-cconv.o
  "_iconv_open", referenced from:
      _cconv_open in cconv-cconv.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[1]: *** [cconv] Error 1
make: *** [all] Error 2
l

What version of the product are you using? On what operating system?

$ ./config.guess 
i686-apple-darwin11.3.0

Please provide any additional information below.

in mac, the library name is /usr/lib/libiconv.dylib, not libiconv.so

Original issue reported on code.google.com by lidaob...@gmail.com on 1 May 2012 at 2:04