Hi list,
I am building gdal-1.4.0 on Linux. The reason that I am rebuilding
gdal/openEV is that "ldd" showed that some .so pointing to
/usr/local/lib/libsz.so, /usr/local/lib/libgdk-1.2.so,
/usr/local/lib/libgtk-1.2.so, ...
When I moved libsz.so and others out of /usr/local/lib/ I got the Make
error.
My steps
1) setenv LD_LIBRARY_PATH "/data/local_installations/lib"
2) gdal external format libraries (zlib-1.2.1, jpeg-6b, szip-2.0,
HDF5/4) were installed
libsz.so, libhdf5.so are in /data/local_installations/lib
3) ./configure --with-png=internal --with-libtiff=internal
--with-gif=internal --with-geotiff=internal
--with-libz=/data/local_installations
--with-jpeg=/data/local_installations
--with-hdf4=/data/local_installations
--with-hdf5=/data/local_installations --prefix=/data/local_installations
make clean
make
make error message:
g++: /usr/local/lib/libsz.so: no such file or directory
make[1]: *** [libgdal.la] Error 1
in GDALmake.opt:
LIBS = -L/usr/local/lib -lgeos -lgeos_c -ljasper
-L/home/sgong/dev171/dist/lib -lhdf5 -L/home/sgong/dev171/dist/lib
-lmfhdf -ldf -lsz -logdi31 -L/home/sgong/dev171/dist
-L/home/sgong/dev171/dist/lib -ljpeg -L/usr/lib -lpq -lz
-L/home/sgong/dev171/dist -L/home/sgong/dev171/dist/lib -lpthread -lm
-lrt -ldl $(DWG_LIBS) $(SDE_LIB) $(CURL_LIB) $(IDB_LIB)
(note /home/sgong/dev171/dist/ = /data/local_installations)
Question: Does above "-lsz" point to an empty string in GDALmake.opt?
and that is why "g++: /usr/local/lib/libsz.so: no such file or
directory" error showed?
But I had already set "--with-libz" in config, should I edit
GDALmake.opt?
Thanks,
Shawn
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
Openev-discuss mailing list
Openev-discuss@...
https://lists.sourceforge.net/lists/listinfo/openev-discuss