pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/29717: gnuplot/gd can't find libiconv on Solaris



>Number:         29717
>Category:       pkg
>Synopsis:       gnuplot/gd can't find libiconv on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 16 21:23:00 +0000 2005
>Originator:     Simon Kuhn
>Release:        pkgsrc-current
>Organization:
Case Western Reserve University
>Environment:
SunOS reducto 5.9 Generic_117171-13 sun4u sparc SUNW,Sun-Fire-V240 Solaris

>Description:
gd will not build without placing libiconv buildlink references in its Makefile 
and buildlink3.mk file.

Building fails with a "Can't find -liconv" sort of message, even though 
/usr/local/lib/libiconv.so exists and is working.

If the reference is not placed in gd's buildlink3.mk file as well, subsequent 
packages such as gnuplot will also fail in the same manner even though they do 
not depend upon libiconv themselves. gd seems to be at the center of this 
particular string of libiconv problems (although fontconfig may also be 
involved; no other low-level graphic packages seem to need libiconv that I have 
found yet).

>How-To-Repeat:
Build gd or gnuplot from pkgsrc-current on Solaris 9.
>Fix:
Add

.include "../../converters/libiconv/buildlink3.mk"

to gd/buildlink3.mk and gd/Makefile. Then perform the builds; pkgsrc is now 
able to link libiconv correctly.

I think that this is indicative of larger problems with pkgsrc on Solaris. 
libiconv lines are required to build a fair number of packages; part of the 
problem seems to be that linking in the form of /usr/local/lib/libiconv.so 
rather than -liconv does not work on my system (should it?)




Home | Main Index | Thread Index | Old Index