Ian Parkin wrote:
> Hi!
> 
>  
> 
> Thanks for allowing my subscription to the list and for the service you 
> provide.
> 
>  
> 
> On a MacBook with Mac OS X  10.4.10:  after successful ‘fink install’ s 
> of jpeg, gmp, pth, etc. ‘fink install netpbm’ results in the 
> compile/load time loader message
> 
>      /usr/bin/ld: can’t locate file for: -lnetpbm

Are you saying that this happens during the build phase of the netpbm 
package? In this case, could you give some more lines of output before 
this one?

Or when does this happen? You seem to say that you successfully 
installed netpbm? If this is during some compilation that you are doing 
on your own and that is supposed to use the Fink-installed libnetpbm, 
then you might want to read a paragraph from Fink's FAQ first:
Fink FAQ #8.3 "How do I compile something myself using Fink-installed 
software?" at 
<http://fink.sourceforge.net/faq/faq.en.html#usage-general.compile-myself>

> Examination of directory /sw/lib shows that, unlike those other 
> packages, ‘fink install netpbm’ has not produced any ‘.a’ files with the 
> name ‘netpbm’ or any of the netpbm-component names ‘pbm’, pgm’, etc. 
>  (‘.dylib’ files for all those names are presnt.)

That's because netpbm produces by default shared libraries, not static 
libraries.

> Is this a deliberate characteristic of the netpbm offering ? (Why ?)

For the reason you would have to ask the netpbm authors. Fink uses the 
default configurations.

> Can I get all those ‘.a’ files some other way ? If not,  what do I do to 
> make use of the corresponding ‘.dylib’ files ?

If you have a "-lnetpbm" flag on the linker line, the linker looks first 
for "libnetpbm.dylib" and then for "libnetpbm.a". The reason that in 
your case it did not find either was perhaps that you did not give the 
right directory path. For Fink's netpbm you would use

  -L/sw/lib -lnetpbm

-- 
Martin


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to