[email protected] wrote:
> Thank you for the continuing courteous service you provide in, no  
> doubt, often trying circumstances. It's impressive, and certainly most  
> helpful!
>
> On a MacBook running Mac OS X 10.5.7 I've fink-installed netpbm; but  
> whereas fink-installing many a package (e.g. pth, gmp, jpeg, etc.)  
> results in both a .a and a .la library file in /sw/lib,  
> fink-installing netpbm yields a raft of .dylib's such as  
> libnetpbm.10.dylib, libpbm.9.dylib, etc. but no libnetpbm.a (or .la)  
> and no libpbm.a (or .la).
>
> In consequence, my ld phase fails, unable to find the netpbm library.
>
> Is there a workaround for this ?
>
> Supplementary non-fink question: where do I find a description of the  
> various roles and distinctions between .dylib, .a, and .la files ?
>
> With thanks,
>
> Ian Parkin.
>
>   
It looks like netpbm(10) is set up not to create those.  You might try
checking with the package maintainer ("fink info netpbm10"), as he is
the one to handle such issues.

My take on this:

.la files aren't libraries.  They're "libtool archive" files which are
used by libtool when linking packages up.
.a files are static libraries; so executables or other libraries that
need them essentially have to incorporate them into themselves.
.dylib files are dynamic libraries.  Executables or other libraries that
need them link to them at run time.

-- 
Alexander Hansen
Fink User Liaison


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to