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

Re: ${shlibs:Depends} - What is it?



> 
> I thought the main problem was this strange combination - I removed it to
> no avail, and fiddled with the line until I got the problem: I removed the
> first dependency (${shlibs:Depends}), and it worked correctly.
> 
> I have always seen this thing in the dependencies, and I still don't know
> what it means. Can anybody share some light on it?
> 

${shlibs} is replaced by the output of dpkg-shlibdeps.  debhelper should make a
call to this or you should.  This is how the depends on things like libc and
what not get in the control file.

Basically, it runs ldd on your item and then tries to figure out what package
and version each item in the list came from and lists it in the depends.

My package blackbox says:

Depends: ${shlibs:Depends}

and the output is:

Depends: libc6 (>= 2.2.4-4), libstdc++2.10-glibc2.2 (>= 1:2.95.4-0.010810),
xlibs (>> 4.1.0)

dh_shlibdeps is run in my rules file.


-- 
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: