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

Re: Shared libs dependencies



Ole Streicher <debian-devel@liska.ath.cx> writes:

> Gergely Nagy <algernon@balabit.hu> writes:
>> Or, to put it in other words: Depends lists the packages your library
>> depends on, shlibs lists the libs that packages built against your lib
>> should depend on.
>
> So, this means that in the usual cases (like my one) this file looks
> like
>
> libwcs 4 libwcs4 (>= 4.8.1-1)

Sounds about right, yes.

>>> Then, I should install this in my installation rule in debian/rules [...]
>> No. Please read dh_installdeb(1).
>
>>From there, I would assume that I need to create a file
> debian/libwcs4.shlibs containing the line
>
> shlibs.libwcs4
>
> Is this correct?

Nope. debian/libwcs4.shlibs should be the line you wrote above. Ie,
rename your current shlibs.libwcs4 file to debian/libwcs4.shlibs, and
debhelper will do the right thing, and install it.

> I am also wondering why there are sometimes packages
> which dont have shlibs.* and *.shlibs files, but install shared
> libraries (popt as an example, or cfitsio3).

My vague guess, without looking at said packages, is that they use
symbol files.

-- 
|8]


Reply to: