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: Aleksey Cheusov <vle%gmx.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/43518: converters/libiconv fails to build on OpenSolaris
Date: Wed, 24 Aug 2011 14:36:27 +0300

 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.
 


Home | Main Index | Thread Index | Old Index