I can not compile gdal 1.72 on fedora 13 beacuse of this. 6.3.1. GCC now uses Implicit DSO linking Key points:
1. ld will no longer automatically search in the dependencies of linked objects. 2. If your project used both libraries *A* and *B*, it will not compile unless *A* and *B* are both explicitly linked. 3. There are more explanations on the GCC features page on the Fedora wiki: http://fedoraproject.org/w/index.php?title=UnderstandingDSOLinkChange. Under the new changes, if your package fails its build with a message like: /usr/bin/ld: gpx-parser.o: undefined reference to symbol 'acos@@GLIBC_2.0' /usr/bin/ld: note: 'acos@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line Then the line that builds the specified .o needs to explicitly link *libm*. What i have to modify to implicit DSO linking all libraries. /bin/sh /home/nahum/Descargas/gdal-1.7.2/libtool --mode=link g++ gdalmanage.lo /home/nahum/Descargas/gdal-1.7.2/libgdal.la -o gdalmanage libtool: link: g++ .libs/gdalmanage.o -o .libs/gdalmanage /home/nahum/Descargas/gdal-1.7.2/.libs/libgdal.so /usr/bin/ld: /usr/local/lib/libNCSUtil.so.0: undefined reference to symbol 'pthread_cancel@@GLIBC_2.2.5' /usr/bin/ld: note: 'pthread_cancel@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line /lib64/libpthread.so.0: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[1]: *** [gdalmanage] Error 1 make[1]: se sale del directorio `/home/nahum/Descargas/gdal-1.7.2/apps' make: *** [apps-target] Error 2 Thanks in advance -- Nahum Castro González León, Guanajuato, México
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
