P
P
PavloG2012-06-18 10:52:52
linux
PavloG, 2012-06-18 10:52:52

How to write dependency in control file to build debian package?

I have an Ubuntu binary that I've built and I want to get the Depends in debian/control correctly written

.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
antimirov, 2012-06-18
@antimirov

Try ldd first:
$ ldd ./path/my_binary
linux-gate.so.1 => (0xb76e6000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7524000)
/lib/ld-linux.so.2 (0xb76e7000)

P
PavloG, 2012-06-18
@PavloG

I found an example of how to do it for Ubuntu software center.
developer.ubuntu.com/2012/02/how-to-prepare-a-compiled-application-for-ubuntu-software-center/

P
PavloG, 2012-06-18
@PavloG

According to this, everything was registered
. It turned out something like
Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libgl1-mesa-glx | libgl1, libopenal1 (>= 1:1.13), libstdc++6 (>= 4.6), libx11-6

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question