pkgsrc-Bugs archive

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

Re: pkg/43518: converters/libiconv fails to build on OpenSolaris

The following reply was made to PR pkg/43518; it has been noted by GNATS.

From: "David H. Gutteridge" <>
Subject: Re: pkg/43518: converters/libiconv fails to build on OpenSolaris
Date: Thu, 25 Aug 2011 22:29:15 -0400

 On 2011-08-24, at 7:50 AM, Aleksey Cheusov wrote:
 > Bear in mind that libtool is used for linking libiconv.
 > It has path to ld inside libtool script detected at compile time.
 > Run the following command and anaylyse its output.
 > If GNU ld was before SUN ld in PATH at *libtool build time*,
 > GNU ld's options are used for building shared libraries.
 > Run the following command
 >    grep ^archive_cmds= /usr/pkg/bin/libtool
 > I guess, you'll see there -shared and -soname options instead of -G and
 > -h, for example.
 > Solution:
 > 1) Place /usr/ccs/bin before /usr/gnu/bin in PATH.
 > 2) Rebuild libtool-base package and install it.
 >    Just for test, run
 >    grep ^archive_cmds= /usr/pkg/bin/libtool
 >    and compare its output with currently installed libtool.
 > I consider this is a local problem.
 Confirming that placing /usr/ccs/bin before /usr/gnu/bin in PATH and
 rebuilding libtool-base fixed the problem.  Thanks for your help!

Home | Main Index | Thread Index | Old Index