Stephen Davies <sdavies@sdc.com.au> writes:
> psql:/data1/pgsql840/pg_upgrade_dump_db.sql:52010: ERROR: could not find
> function "LWGEOM_distance_ellipsoid_point" in file "/usr/lib/liblwgeom.so"
I think you'd have better luck asking about that on the postgis lists
--- from here it looks like a version-to-version incompatibility in
postgis.
regards, tom lane