On 3/31/10 5:23 PM, David Lowe wrote:
> On 31 Mar, 2010, at 12:41 PM, Alexander Hansen wrote:
>
>> Amplifying a bit:
>>
>> Depends can be implicit--though if they're libraries it's normally
>> better to spell them out.
>>
>> BuildDepends can *never* be implicit, because we don't currently
>> have a mechanism to allow for their inheritance.
>
> For those of us who weren't paying attention in class, are
> discrepancies discovered through 'otool -L' BuildDepends or normal
> Depends?

otool -L gives you libraries that your file links to.  These are needed
at runtime and so are Depends (and usually are foo-shlibs).  And 99.44%
of the time, you'll need the corresponding foo-dev (sometimes called
just foo, confusing, I know) package that contains the header (.h) files
so that your program knows what to do with the library it needs.  So if
you get /sw/lib/libintl.8.0.2.dylib as a linked library, then you want
Depends: libgettext8, and BuildDepends: libgettext8-dev.

Hanspeter

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to