I have Fink installed and working, and I've used it successfully to install
things like ImageMagick and netpbm (with all the necessary jpeg, png etc
libraries).

Now I want to install PHP 4.3.0, which I'm doing from original source as
it's not available through Fink. Some PHP extensions (like exif) use the
JPEG library and similar things. However, when I try to build PHP, it can't
find the libraries, giving me messages like:

If configure fails try --with-jpeg-dir=<DIR>
configure: error: libpng.(a|so) not found.

I can point --with-jpeg-dir at /sw/lib, but there doesn't seem to be a
similar option for things like includes that are also needed. Also, if I
have installed mysql via Fink, how do I tell PHP where to look for it - I'm
assuming it won't find it in a similar way.

Surely there must be some general solution to this, as it's got to be a very
common problem? I searched on fink-beginners and fink-users archives, but
this doesn't seem to have been discussed, though there is a thread about
libtool that says it's a problem (though I'm having no libtool troubles).

I'm used to doing this on OpenBSD, where ldconfig -m allows me to add
locations to be searched for libraries, and problems like this don't seem to
happen. However, it seems that OS X doesn't use the ldconfig mechanism, but
something that I would hope is even better...

Thanks,

Marcus
-- 
Marcus Bointon
Synchromedia Limited: Putting you in the picture

[EMAIL PROTECTED] | http://www.synchromedia.co.uk



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to