[Qgis-developer] gdal-1.4.0 and qgis

Henning Lorenz henning.lorenz at geo.uu.se
Fri Jan 26 04:19:11 EST 2007


Hi!

I try to compile QGis 0.8.0. It worked fine as long as I had gda-1.3.2.
After an uprgrade to gdal-1.4.0, which I built with grass-support, I get
the following error below during compilation of QGis. Apparently libgrass
is not found, but I specified it and configure did not complain (I
configured with the same parameters as in the build against gdal-1.3.2).
Is there a problem with gdal-1.4.0 in general?

Henning

g++ -g -O2 -o .libs/qgis -rdynamic qgis-main.o  ../raster/.libs/libqgis_raster.so ../legend/.libs/libqgis_legend.so ../composer/.libs/libqgis_composer.so -L/usr/local/Trolltech/Qt-4.2.2//lib /usr/local/Trolltech/Qt-4.2.2/lib/libQtCore.so /usr/local/Trolltech/Qt-4.2.2/lib/libQt3Support.so /usr/local/Trolltech/Qt-4.2.2/lib/libQtGui.so /usr/local/Trolltech/Qt-4.2.2/lib/libQtNetwork.so /usr/local/Trolltech/Qt-4.2.2/lib/libQtXml.so /usr/local/Trolltech/Qt-4.2.2/lib/libQtSvg.so /usr/local/Trolltech/Qt-4.2.2/lib/libQtTest.so -lQtDesigner -L/usr/local/lib /usr/local/lib/libgdal.so -L/usr/lib -lpq /usr/local/lib/libgeos.so -lpython2.4 /usr/local/lib/libproj.so /usr/lib/libsqlite3.so ./.libs/libqgis_gui.so ../core/.libs/libqgis_core.so -lutil
/usr/bin/ld: warning: libgrass_vect.so, needed by /usr/local/lib/libgdal.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgrass_dig2.so, needed by /usr/local/lib/libgdal.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgrass_dgl.so, needed by /usr/local/lib/libgdal.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgrass_rtree.so, needed by /usr/local/lib/libgdal.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgrass_linkm.so, needed by /usr/local/lib/libgdal.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgrass_dbmiclient.so, needed by /usr/local/lib/libgdal.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgrass_dbmibase.so, needed by /usr/local/lib/libgdal.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgrass_I.so, needed by /usr/local/lib/libgdal.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgrass_gproj.so, needed by /usr/local/lib/libgdal.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgrass_vask.so, needed by /usr/local/lib/libgdal.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgrass_gmath.so, needed by /usr/local/lib/libgdal.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgrass_gis.so, needed by /usr/local/lib/libgdal.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgrass_datetime.so, needed by /usr/local/lib/libgdal.so, not found (try using -rpath or -rpath-link)
/usr/local/lib/libgdal.so: undefined reference to `G_get_cellhd'
/usr/local/lib/libgdal.so: undefined reference to `db_free_string'
/usr/local/lib/libgdal.so: undefined reference to `Vect_cidx_get_num_types_by_index'
/usr/local/lib/libgdal.so: undefined reference to `db_test_value_isnull'
/usr/local/lib/libgdal.so: undefined reference to `G_find_file2'
/usr/local/lib/libgdal.so: undefined reference to `db_get_num_rows'
/usr/local/lib/libgdal.so: undefined reference to `Vect_cidx_get_cat_by_index'
/usr/local/lib/libgdal.so: undefined reference to `Vect_set_open_level'
/usr/local/lib/libgdal.so: undefined reference to `G_get_c_raster_row'
/usr/local/lib/libgdal.so: undefined reference to `G__setenv'
/usr/local/lib/libgdal.so: undefined reference to `Vect_get_field'
/usr/local/lib/libgdal.so: undefined reference to `G_get_fp_range_min_max'
/usr/local/lib/libgdal.so: undefined reference to `Vect_get_isle_points'
/usr/local/lib/libgdal.so: undefined reference to `db_init_string'
/usr/local/lib/libgdal.so: undefined reference to `db_get_column_sqltype'
/usr/local/lib/libgdal.so: undefined reference to `G_free_colors'
/usr/local/lib/libgdal.so: undefined reference to `I_free_group_ref'
/usr/local/lib/libgdal.so: undefined reference to `Vect_open_old'
/usr/local/lib/libgdal.so: undefined reference to `db_close_cursor'
/usr/local/lib/libgdal.so: undefined reference to `G_allocate_c_raster_buf'
/usr/local/lib/libgdal.so: undefined reference to `G_store'
/usr/local/lib/libgdal.so: undefined reference to `G_get_color_range'
/usr/local/lib/libgdal.so: undefined reference to `G_get_window'
/usr/local/lib/libgdal.so: undefined reference to `Vect_cidx_get_field_number'
/usr/local/lib/libgdal.so: undefined reference to `db_open_select_cursor'
/usr/local/lib/libgdal.so: undefined reference to `Vect_new_cats_struct'
/usr/local/lib/libgdal.so: undefined reference to `db_start_driver_open_database'
/usr/local/lib/libgdal.so: undefined reference to `G_set_f_null_value'
/usr/local/lib/libgdal.so: undefined reference to `G_allocate_d_raster_buf'
/usr/local/lib/libgdal.so: undefined reference to `db_get_value_double'
/usr/local/lib/libgdal.so: undefined reference to `db_sqltype_to_Ctype'
/usr/local/lib/libgdal.so: undefined reference to `G_copy'
/usr/local/lib/libgdal.so: undefined reference to `db_close_database_shutdown_driver'
/usr/local/lib/libgdal.so: undefined reference to `db_get_value_string'
/usr/local/lib/libgdal.so: undefined reference to `Vect_destroy_cats_struct'
/usr/local/lib/libgdal.so: undefined reference to `Vect_get_area_isle'
/usr/local/lib/libgdal.so: undefined reference to `db_get_column_value'
/usr/local/lib/libgdal.so: undefined reference to `Vect_cidx_get_type_count_by_index'
/usr/local/lib/libgdal.so: undefined reference to `db_append_string'
/usr/local/lib/libgdal.so: undefined reference to `G_get_f_color_rule'
/usr/local/lib/libgdal.so: undefined reference to `Vect_get_area_box'
/usr/local/lib/libgdal.so: undefined reference to `G_set_d_null_value'
/usr/local/lib/libgdal.so: undefined reference to `db_get_column_name'
/usr/local/lib/libgdal.so: undefined reference to `G_open_cell_old'
/usr/local/lib/libgdal.so: undefined reference to `G_set_window'
/usr/local/lib/libgdal.so: undefined reference to `db_get_value_int'
/usr/local/lib/libgdal.so: undefined reference to `G_read_colors'
/usr/local/lib/libgdal.so: undefined reference to `Vect_get_line_box'
/usr/local/lib/libgdal.so: undefined reference to `Vect_get_num_lines'
/usr/local/lib/libgdal.so: undefined reference to `G_reset_mapsets'
/usr/local/lib/libgdal.so: undefined reference to `Vect_read_line'
/usr/local/lib/libgdal.so: undefined reference to `Vect_get_area_num_isles'
/usr/local/lib/libgdal.so: undefined reference to `G_close_cell'
/usr/local/lib/libgdal.so: undefined reference to `Vect_cidx_get_type_count'
/usr/local/lib/libgdal.so: undefined reference to `Vect_cidx_get_num_fields'
/usr/local/lib/libgdal.so: undefined reference to `db_get_table_column'
/usr/local/lib/libgdal.so: undefined reference to `G_set_error_routine'
/usr/local/lib/libgdal.so: undefined reference to `Vect_get_area_points'
/usr/local/lib/libgdal.so: undefined reference to `db_fetch'
/usr/local/lib/libgdal.so: undefined reference to `G_set_c_null_value'
/usr/local/lib/libgdal.so: undefined reference to `I_init_group_ref'
/usr/local/lib/libgdal.so: undefined reference to `G_get_projunits'
/usr/local/lib/libgdal.so: undefined reference to `db_get_table_number_of_columns'
/usr/local/lib/libgdal.so: undefined reference to `G_is_c_null_value'
/usr/local/lib/libgdal.so: undefined reference to `G_get_projinfo'
/usr/local/lib/libgdal.so: undefined reference to `G_strcasecmp'
/usr/local/lib/libgdal.so: undefined reference to `G_add_mapset_to_search_path'
/usr/local/lib/libgdal.so: undefined reference to `db_get_string'
/usr/local/lib/libgdal.so: undefined reference to `db_set_string'
/usr/local/lib/libgdal.so: undefined reference to `G_read_fp_range'
/usr/local/lib/libgdal.so: undefined reference to `db_get_cursor_table'
/usr/local/lib/libgdal.so: undefined reference to `GPJ_grass_to_wkt'
/usr/local/lib/libgdal.so: undefined reference to `Vect_destroy_line_struct'
/usr/local/lib/libgdal.so: undefined reference to `G_set_gisrc_mode'
/usr/local/lib/libgdal.so: undefined reference to `db_convert_column_value_to_string'
/usr/local/lib/libgdal.so: undefined reference to `I_get_group_ref'
/usr/local/lib/libgdal.so: undefined reference to `G_allocate_f_raster_buf'
/usr/local/lib/libgdal.so: undefined reference to `G_adjust_Cell_head'
/usr/local/lib/libgdal.so: undefined reference to `db_describe_table'
/usr/local/lib/libgdal.so: undefined reference to `G_colors_count'
/usr/local/lib/libgdal.so: undefined reference to `Vect_new_line_struct'
/usr/local/lib/libgdal.so: undefined reference to `G_raster_map_type'
/usr/local/lib/libgdal.so: undefined reference to `Vect_set_fatal_error'
/usr/local/lib/libgdal.so: undefined reference to `G_no_gisinit'
/usr/local/lib/libgdal.so: undefined reference to `G_get_d_raster_row'
/usr/local/lib/libgdal.so: undefined reference to `G_get_f_raster_row'
/usr/local/lib/libgdal.so: undefined reference to `Vect_cidx_get_num_cats_by_index'
/usr/local/lib/libgdal.so: undefined reference to `G_get_color'
/usr/local/lib/libgdal.so: undefined reference to `Vect_get_map_box'
collect2: ld returned 1 exit status
make[4]: *** [qgis] Error 1
make[4]: Leaving directory `/home/hl/sources/qgis/qgis-0.8.0/src/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/hl/sources/qgis/qgis-0.8.0/src/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/hl/sources/qgis/qgis-0.8.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hl/sources/qgis/qgis-0.8.0'
make: *** [all] Error 2
hl at Ferrari3000:~/sources/qgis/qgis-0.8.0$ /usr/local/lib/libgdal.so:
undefined reference to `Vect_get_map_box' collect2: ld returned 1 exit
status





More information about the Qgis-developer mailing list