[postgis-users] failure to load postgis.sql

strk strk at keybit.net
Mon Dec 1 02:25:11 PST 2003


byronea wrote:
> Hello,
> 
> Finally have compiled postgis-0.80 for my mac running osx10.3.1 with
> postgresql-7.4. I also have proj4 and geos compiled as well. No problems
> there.
> 
> but when attempting to load postgis.sql I get the following error:
> 
> ERROR:  could not load library "/usr/local/pgsql/lib/libpostgis.so.0.8":
> dyld: /usr/local/pgsql/bin/postmaster Undefined symbols:
> __ZNSs20_S_empty_rep_storageE
> __ZNSs4_Rep11_S_max_sizeE
> __ZNSs4_Rep11_S_terminalE
> __ZNSt24__default_alloc_templateILb1ELi0EE12_S_force_newE
> __ZNSt24__default_alloc_templateILb1ELi0EE12_S_free_listE
> __ZNSt24__default_alloc_templateILb1ELi0EE22_S_node_allocator_lockE
> __ZTIPv
> __ZTVN10__cxxabiv117__class_type_infoE
> __ZTVN10__cxxabiv119__pointer_type_infoE
> __ZTVN10__cxxabiv120__si_class_type_infoE
> __ZTVN10__cxxabiv121__vmi_class_type_infoE
> ___cxa_pure_virtual
> ___gxx_personality_v0

All these symbols are likely defined in the standard C++ library.
There is probably a missed link against stdc++.
Have you tried re-compiling postgresql forcing libstdc++ linkage ?

--strk;



More information about the postgis-users mailing list