[gdal-dev] gdal1.5.1 make error on RedHat Linux
Gong, Shawn (Contractor)
Shawn.Gong at drdc-rddc.gc.ca
Thu Apr 24 16:07:27 EDT 2008
hi List,
I updated to version 2.2.3 of libexpat and got these errors instead:
Is it because of the conflict of libcom_err.so.3, needed by
/usr/lib/libssl.so, with libcom_err.so.2
Do I need to rebuild /usr/lib/libssl.so ?
thanks,
Shawn
==================================
/bin/sh /home/sgong/dev171/gdal-1.5.1/libtool --mode=link g++
gdalinfo.o \
/home/sgong/dev171/gdal-1.5.1/libgdal.la -o gdalinfo
libtool: link: g++ gdalinfo.o -o .libs/gdalinfo
/home/sgong/dev171/gdal-1.5.1/.libs/libgdal.so -L/usr/local/lib
-L/home/marinier/gcc-4.2.2-build/i686-pc-linux-gnu/libstdc++-v3/src
-L/home/marinier/gcc-4.2.2-build/i686-pc-linux-gnu/libstdc++-v3/src/.lib
s -L/home/marinier/gcc-4.2.2-build/./gcc -L/home/sgong/dev171/dist/lib
-L/home/sgong/dev171/dist -L/usr/lib -L/usr/kerberos/lib
/usr/local/lib/libgeos_c.so /usr/local/lib/libgeos.so
/usr/local/lib/libexpat.so /home/sgong/dev171/dist/lib/libhdf5.so
/home/sgong/dev171/dist/lib/libsz.so -lmfhdf -ldf
/usr/local/lib/libsz.so -logdi31 /usr/lib/libjpeg.so -lpq -lpthread -lrt
/usr/local/lib/libcurl.so -lldap -lssl -lcrypto -lgssapi_krb5 -lkrb5
-lcom_err -lk5crypto -lresolv -ldl -lz /usr/local/lib/libstdc++.so -lm
-lc -lgcc_s -Wl,-rpath -Wl,/home/sgong/dev171/dist/lib -Wl,-rpath
-Wl,/usr/local/lib
/usr/bin/ld: warning: libcom_err.so.3, needed by /usr/lib/libssl.so, may
conflict with libcom_err.so.2
/home/sgong/dev171/gdal-1.5.1/.libs/libgdal.so: undefined reference to
`std::__default_alloc_template<true, 0>::allocate(unsigned int)'
/home/sgong/dev171/gdal-1.5.1/.libs/libgdal.so: undefined reference to
`std::__default_alloc_template<true, 0>::_S_free_list'
/home/sgong/dev171/gdal-1.5.1/.libs/libgdal.so: undefined reference to
`std::__default_alloc_template<true, 0>::_Lock::~_Lock()'
/home/sgong/dev171/gdal-1.5.1/.libs/libgdal.so: undefined reference to
`std::__default_alloc_template<true, 0>::_S_force_new'
/home/sgong/dev171/gdal-1.5.1/.libs/libgdal.so: undefined reference to
`std::__default_alloc_template<true, 0>::_Lock::_Lock()'
/home/sgong/dev171/gdal-1.5.1/.libs/libgdal.so: undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_Rep::_S_create(unsigned int, std::allocator<char> const&)'
/home/sgong/dev171/gdal-1.5.1/.libs/libgdal.so: undefined reference to
`std::__default_alloc_template<true, 0>::_S_refill(unsigned
int)'/home/sgong/dev171/gdal-1.5.1/.libs/libgdal.so: undefined reference
to `std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_S_empty_rep_storage'
/home/sgong/dev171/gdal-1.5.1/.libs/libgdal.so: undefined reference to
`std::__default_alloc_template<true, 0>::_S_node_allocator_lock'
/home/sgong/dev171/gdal-1.5.1/.libs/libgdal.so: undefined reference to
`std::__default_alloc_template<true, 0>::deallocate(void*, unsigned
int)'
collect2: ld returned 1 exit status
make[1]: *** [gdalinfo] Error 1
make[1]: Leaving directory `/home/sgong/dev171/gdal-1.5.1/apps'
make: *** [apps-target] Error 2
More information about the gdal-dev
mailing list