Add dpkg .symbols or.shlibs to package made using checkinstall

Posted by Hubert Kario on Server Fault See other posts from Server Fault or by Hubert Kario
Published on 2012-01-24T13:33:59Z Indexed on 2012/10/14 21:40 UTC
Read the original article Hit count: 382

I have created a simple package using checkinstall of the Oracle Instantclient client libraries, the package installs without problem and is seen in the system.

Problem is, that checkinstall doesn't create /var/lib/dpkg/info/oracle-instantclient11.2-basic.symbols or /var/lib/dpkg/info/oracle-instantclient11.2-basic.shlibs files so when I try to create another package (with proper build scripts) that depends on oracle-instantclient11.2-basic the build fails with

dpkg-shlibdeps: error: no dependency information found for \
 /usr/lib/libclntsh.so.11.1 (used by \
 debian/libopendbx1-oracle/usr/lib/opendbx/liboraclebackend.so.1.2.0).
dh_shlibdeps: dpkg-shlibdeps \
 -Tdebian/libopendbx1-oracle.substvars \
 debian/libopendbx1-oracle/usr/lib/opendbx/liboraclebackend.so.1.2.0 \
 returned exit code 2
make: *** [binary-arch] Error 9

Is there an easy way to automatically create a package with .symbols or .shlibs files?

© Server Fault or respective owner

Related posts about debian

Related posts about package-management