[postgis-users] Unable to pass the configure step on HP-UX 11.23

VEYSSIERE Nicolas nicolas.veyssiere at thalesgroup.com
Fri Sep 13 07:38:54 PDT 2013


If i add -lstdc++ and -lgeos like that :

	g++ -o conftest conftest.c -lgeos_c -lgeos -lstdc++

It works, and I can execute the result.

The problem is that if I use gcc instead of g++ it failed like for the unit test :

ld: (Warning) Unsatisfied symbol "_Unwind_SetIP" in file /usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.3/../../../libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_SetGR" in file /usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.3/../../../libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_GetIP" in file /usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.3/../../../libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_GetGR" in file /usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.3/../../../libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_RaiseException" in file /usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.3/../../../libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_GetRegionStart" in file /usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.3/../../../libstdc++.so
ld: Unsatisfied symbol "_Unwind_Resume" in file /usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.3/../../../libgeos_c.a[libgeos_c_la-geos_ts_c.o]
ld: (Warning) Unsatisfied symbol "_Unwind_GetLanguageSpecificData" in file /usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.3/../../../libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_DeleteException" in file /usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.3/../../../libstdc++.so
8 warnings.
1 errors.
collect2: ld a retourné 1 code d'état d'exécution


And even if I patch the configure script for postgis to add -lstdc++ and -lgeos, it use gcc and so failed again.




-- 
Nicolas V.


-----Message d'origine-----
De : postgis-users-bounces at lists.osgeo.org [mailto:postgis-users-bounces at lists.osgeo.org] De la part de Sandro Santilli
Envoyé : vendredi 13 septembre 2013 16:26
À : PostGIS Users Discussion
Cc : scottso at sonalysts.com
Objet : Re: [postgis-users] Unable to pass the configure step on HP-UX 11.23

On Fri, Sep 13, 2013 at 03:56:13PM +0200, VEYSSIERE Nicolas wrote:

> Note : I don't have .so libraries after install of geos
> 
> $ ls /usr/local/lib/libgeos*
> /usr/local/lib/libgeos.a     /usr/local/lib/libgeos_c.a
> /usr/local/lib/libgeos.la    /usr/local/lib/libgeos_c.la
> 
> 
> Is it normal ?

Uhm, no, I don't think so. And this is the likely culprit of the failing test in postgis, because that test is assuming passing -lgeos_c is enough to derive the need to link to libgeos and thus to libstd++, while if only .a files are present I think -lgeos and -lstdc++ must be explicit. Can you try that ?

--strk;
_______________________________________________
postgis-users mailing list
postgis-users at lists.osgeo.org
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users


More information about the postgis-users mailing list