Error During PostGIS Install
Abram Gillespie
abe.gillespie.lists at gmail.com
Wed Jul 23 18:26:14 PDT 2008
Hi All,
I'm getting this when I attempt to install PostGIS:
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_postgis/work/postgis-1.3.1"
&& make all ICONV_LDFLAGS="-L/opt/local/lib -liconv" " returned error
2
Command output: make -C lwgeom
make[1]: Nothing to be done for `all'.
make -C loader
/usr/bin/gcc-4.0 -g -Wall -I.. -DUSE_ICONV -DUSE_VERSION=82
-DPOSTGIS_VERSION='"1.3.1"' shpopen.o dbfopen.o getopt.o shp2pgsql.o
-L/opt/local/lib -liconv -o shp2pgsql
Undefined symbols:
"_iconv_open", referenced from:
_utf8 in shp2pgsql.o
"_iconv", referenced from:
_utf8 in shp2pgsql.o
"_iconv_close", referenced from:
_utf8 in shp2pgsql.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [shp2pgsql] Error 1
make: *** [loaderdumper] Error 2
Error: Status 1 encountered during processing.
And this is my "port installed" (notice libiconv):
apache2 @2.2.4_1 (active)
apr @1.2.11_0 (active)
apr-util @1.2.10_0 (active)
bison @2.3_2 (active)
bzip2 @1.0.5_0 (active)
curl @7.16.4_0+darwin_8 (active)
db44 @4.4.20_1+darwin_8 (active)
expat @2.0.1_0 (active)
fontconfig @2.5.0_0+macosx (active)
freetype @2.3.5_0 (active)
geos @2.2.3_0+darwin_9 (active)
gettext @0.16.1_0 (active)
ghostscript @8.62_1 (active)
ImageMagick @6.4.1-0_0+q16 (active)
jpeg @6b_2 (active)
libiconv @1.11_6+darwin_8 (active)
libiconv @1.12_0
libmcrypt @2.5.8_0+darwin_8 (active)
libpng @1.2.20_0+darwin_8 (active)
libxml2 @2.6.29_0 (active)
libxslt @1.1.22_0 (active)
m4 @1.4.10_1 (active)
mhash @0.9.9_0+darwin_8 (active)
mysql5 @5.0.51a_0+server (active)
ncurses @5.6_0+darwin_8 (active)
ncursesw @5.6_0+darwin_8 (active)
openssl @0.9.8e_0+darwin_8 (active)
ossp-uuid @1.6.0_2 (active)
pcre @7.3_0 (active)
php5 @5.2.6_0+apache2+dbase+fastcgi+macosx+mysql5 (active)
pkgconfig @0.22_0 (active)
postgresql82 @8.2.7_0 (active)
postgresql82-server @8.2.7_0 (active)
proj @4.6.0_0 (active)
readline @5.2.007_0 (active)
sqlite3 @3.4.2_0+darwin_8 (active)
tiff @3.8.2_0+darwin_8 (active)
wget @1.10.2_0+darwin_8 (active)
zlib @1.2.3_1 (active)
I have postgres 8.2 installed but used to have postgres 8.3 installed.
Could an artifact be getting in the way? Thanks for any help!
-Abe
PS - Is it possible to use 8.3 with the PostGIS port?
More information about the macports-users
mailing list