Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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/ (used by \
dh_shlibdeps: dpkg-shlibdeps \
 -Tdebian/libopendbx1-oracle.substvars \
 debian/libopendbx1-oracle/usr/lib/opendbx/ \
 returned exit code 2
make: *** [binary-arch] Error 9

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

share|improve this question

I fixed the problem by creating /var/lib/dpkg/info/oracle-instantclient11.2-basic.shlibs with following contents:

libclntsh 11.1 oracle-instantclient11.2-basic (>=11)

That's obviously sub-optimal.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.