first-time install, error on make
Tara Athan
tara_athan at ALT2IS.COM
Sat Aug 25 15:21:52 PDT 2007
I am trying to install mapserver (for the first time) on hosted web
account (bluehost).
I am following the instructions in
http://mapserver.gis.umn.edu/docs/howto/compiling_on_unix/#required-external-libraries
I have the required libraries as libpng, freetype and zlib where already
installed on the server.
I installed gd and gdal in my $HOME/local directory.
I modified the configuration command until I got something that ran
without errors:
./configure --with-ogr=$HOME/local/bin/gdal-config
--with-gdal=$HOME/local/bin/gdal-config --with-curl
--with-gd=$HOME/lib/gd-2.0.35 --with-jpeg --with-freetype --with-png \
Then I put in the command make and I get this output:
g++ -O2 -fPIC -Wall -DHAVE_VSNPRINTF -DNEED_STRLCAT
-DUSE_EPPL -DUSE_PDF -DUSE_OGR -DUSE_GDAL -DUSE_ICONV
-I/home/alttwois/lib/gd-2.0.35 -I/home
/alttwois/local/include shp2img.o -L. -lmapserver
-L/home/alttwois/lib/gd-2.0.35/.libs -lgd -ljpeg -lfreetype -lpng
-L/lib64 -lz -lpdf -ljpeg -lfreetype -lpng
-L/lib64 -lz -ljpeg -L/home/alttwois/local/lib -lgdal -ljpeg -ltiff
-lpng -lpq -L/usr/lib64 -lpq -lz -lm -lrt -ldl -L/usr/lib64 -lcurl
-L/usr/kerberos/lib -L/usr/kerbe
ros/lib64 -lidn -lssl -lcrypto -ldl -lssl -lcrypto -lgssapi_krb5 -lkrb5
-lcom_err -lk5crypto -lresolv -ldl -lz -lz -lc -L/lib64 -lz -lm
-lstdc++ -o shp2img
/usr/bin/ld: warning: libXpm.so.4, needed by
/home/alttwois/lib/gd-2.0.35/.libs/libgd.so, not found (try using -rpath
or -rpath-link)
/usr/bin/ld: warning: libX11.so.6, needed by
/home/alttwois/lib/gd-2.0.35/.libs/libgd.so, not found (try using -rpath
or -rpath-link)
/home/alttwois/lib/gd-2.0.35/.libs/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1
Is this caused by the options in the configuration statement that I took
out or something else?
Is there documentation for the configuration statement somewhere?
Thanks for your help,
Tara
More information about the MapServer-users
mailing list