Notwithstanding the library path issue, you're going to need patches
to Image::Scale anyway because it relies on an obsolete libpng function
that has since been removed.

I will post a port for this to ports@ shortly.


On 2012-01-20, Darcy Phipps <da...@eclecticmind.ca> wrote:
> Hi;
>
> I'm not sure if this is the right forum for such a question, if it isn't
> could someone please point me in the right direction?
>
> I was trying to install the Image::Scale module from CPAN on OpenBSD 5.0
> and it was failing as it couldn't find libjpeg during linking. After some
> digging it appears that /usr/local/lib, where libjpeg lives, isn't part of
> Config.pm's libpth variable.
>
> I did a bit of googling and it seems that this issue has happened before
> (http://monkey.org/openbsd/archive/misc/0001/msg01318.html) and was solved
> by adding /usr/local/lib to loclibpth in the openbsd.sh hints file.
>
> I can see that commit is still in the source, loclibpth is still in the
> openbsd.sh hints file, but it isn't in Config.pm.
>
> Does anyone have any ideas why there is this discrepancy?
>
> Thanks
> Darcy

Reply via email to