You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to GeoCommons Geocoder
Hello,
Has anyone had success compiling the geocoder in Windows using cygwin?
It seems that the prereqs are there (ruby, libsqlite3 and libsqlite3-
devel which includes the sqlite3ext.h, etc.). But I haven't had any
luck with it. When I run make I get:
...
cc -fPIC -shared extension.o wkb_compress.o util.o metaphon.o
levenshtein.o -o libsqlite3_geocoder.so
metaphon.o:metaphon.c:(.text+0x24): undefined reference to
`_sqlite3_malloc'
metaphon.o:metaphon.c:(.text+0x100): undefined reference to
`_sqlite3_free'
metaphon.o:metaphon.c:(.text+0x7f1): undefined reference to
`_sqlite3_free'
collect2: ld returned 1 exit status
...
That's using the Makefile.redhat in the src/libsqlite3_geocoder
directory.
libsqlite3.a seems to have the exports there:
$ nm /lib/libsqlite3.a | grep sqlite3_free
00000810 T _sqlite3_free
00005610 T _sqlite3_free_table
$ nm /lib/libsqlite3.a | grep sqlite3_malloc
00013f50 T _sqlite3_malloc