[fdo-internals] Build warnings - PostGIS and Boost...

Mateusz Loskot mateusz at loskot.net
Sat Nov 10 03:28:37 EST 2007


Jason,

IMO it can be safely ignored as you are building FDO yourself
and you will use it on your machine only.
This warning says there are some problems possible if you will use these
binaries on other machines ie. if you are preparing binary packages for
other users.

-- Mateusz

Jason Birch wrote:
> It's warning about linking shared PostGIS against static Boost.
> 
> Is this something to be concerned about?
> 
> Jason
> 
> /usr/bin/install -c .libs/libPostGISOverrides-3.3.0.soT
> /usr/local/fdo-3.3.0/lib/libPostGISOverrides-3.3.0.so
> (cd /usr/local/fdo-3.3.0/lib && { ln -s -f libPostGISOverrides-3.3.0.so
> libPostGISOverrides.so || { rm -f libPostGISOver
> rides.so && ln -s libPostGISOverrides-3.3.0.so libPostGISOverrides.so;
> }; })
> /usr/bin/install -c .libs/libPostGISOverrides.lai
> /usr/local/fdo-3.3.0/lib/libPostGISOverrides.la
> PATH="$PATH:/sbin" ldconfig -n /usr/local/fdo-3.3.0/lib
> ----------------------------------------------------------------------
> Libraries have been installed in:
>    /usr/local/fdo-3.3.0/lib
> 
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use the `-LLIBDIR'
> flag during linking and do at least one of the following:
>    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
>      during execution
>    - add LIBDIR to the `LD_RUN_PATH' environment variable
>      during linking
>    - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
>    - have your system administrator add LIBDIR to `/etc/ld.so.conf'
> 
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
>  /bin/sh ../libtool --mode=install /usr/bin/install -c
> 'libPostGISProvider.la' '/usr/local/fdo-3.3.0/lib/libPostGISProv
> ider.la'
> libtool: install: warning: relinking `libPostGISProvider.la'
> (cd /home/administrator/fdosvn/Providers/PostGIS/Src; /bin/sh ../libtool
> --tag=CXX --mode=relink g++ -O2 -MMD -MT -o li
> bPostGISProvider.la -rpath /usr/local/fdo-3.3.0/lib -shared -release
> 3.3.0 -L../../../Thirdparty/pgsql/lib Provider/libP
> ostGISProviderSrc.la libPostGISOverrides.la
> ../../../Utilities/Common/libProvidersCommon.la
> ../../../Fdo/Unmanaged/Src/l
> ibFDO.la ../../../Thirdparty/boost/stage/lib/libboost_thread-mt.a
> ../../../Thirdparty/boost/stage/lib/libboost_date_time
> -mt.a -lpq )
> 
> *** Warning: Linking the shared library libPostGISProvider.la against
> the
> *** static library
> ../../../Thirdparty/boost/stage/lib/libboost_thread-mt.a is not
> portable!
> 
> *** Warning: Linking the shared library libPostGISProvider.la against
> the
> *** static library
> ../../../Thirdparty/boost/stage/lib/libboost_date_time-mt.a is not
> portable!
> 
> _______________________________________________
> fdo-internals mailing list
> fdo-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fdo-internals
> 


-- 
Mateusz Loskot
http://mateusz.loskot.net


More information about the fdo-internals mailing list