[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dh_shlibdeps and non-standard library paths



Hello list,

I've been working on trying to hack up the packaging of PostGIS to try
and cope better with multiple, simultaneously installed versions.  To
that end, I am setting "--prefix=/opt/postgresql-9.3-postgis-2.1" and
stuffing most of the supporting libraries it generates in there.

My problem is that I can't seem to get past this error:

dh_shlibdeps \
-l/build/buildd/postgresql-9.3-postgis-2.1-src-2.1.0/debian/tmp/opt/postgresql-9.3-postgis-2.1/lib
dpkg-shlibdeps: error: no dependency information found for
/build/buildd/postgresql-9.3-postgis-2.1-src-2.1.0/debian/tmp/opt/postgresql-9.3-postgis-2.1/lib/liblwgeom-2.1.0.so
(used by debian/postgis2.1/usr/bin/raster2pgsql).
dh_shlibdeps: dpkg-shlibdeps -Tdebian/postgis2.1.substvars
debian/postgis2.1/usr/bin/shp2pgsql-gui
debian/postgis2.1/usr/bin/pgsql2shp
debian/postgis2.1/usr/bin/raster2pgsql
debian/postgis2.1/usr/bin/shp2pgsql returned exit code 2

Even though liblwgeom-2.1.0.so is sitting around in the place I expect
and is mentioned in "postgresql-9.3-postgis-2.1-liblwgeom.install" as:

opt/postgresql-9.3-postgis-2.1/lib/liblwgeom-2.1.0.so

I just can't seem to make the toolchain want to like/autoscan this dependency.

Thoughts?  For now I'm going to make this package more monolithic
(getting rid of the break-out of multiple binary packages), but I'd
like to understand what's going on here.

Thanks in advance.


Reply to: