O.T. Can I use my Mac Ports install to build odt2txt?
Peter B. West
lists at pbw.id.au
Mon Aug 31 20:50:18 PDT 2009
I'm trying to build odt2txt, which, unfortunately, is not in Mac Ports.
When I try to make it, I get:
lydia-2:odt2txt-0.4 pbw$ make
cc -O2 -c -o odt2txt.o odt2txt.c
cc -O2 -c -o regex.o regex.c
cc -O2 -c -o mem.o mem.c
cc -O2 -c -o strbuf.o strbuf.c
cc -O2 -c -o kunzip/fileio.o kunzip/fileio.c
cc -O2 -c -o kunzip/zipfile.o kunzip/zipfile.c
cc -o odt2txt odt2txt.o regex.o mem.o strbuf.o kunzip/fileio.o kunzip/
zipfile.o -lz
Undefined symbols:
"_iconv_open", referenced from:
_main in odt2txt.o
_main in odt2txt.o
"_iconv", referenced from:
_main in odt2txt.o
_main in odt2txt.o
"_iconv_close", referenced from:
_main in odt2txt.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [odt2txt] Error 1
So, iconv is causing problems. I see that various iconv bits and
pieces seem to be available in Mac Ports. Can anyone suggest things I
might try to get this to build?
Peter
More information about the macports-users
mailing list