tech-pkg archive

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

Re: "libiconv" package doesn't build under Solaris



On Fri, Jan 01, 2010 at 05:44:32PM +0100, Joerg Sonnenberger wrote:
> On Thu, Dec 31, 2009 at 06:05:32PM +0000, Matthias Scheler wrote:
> > It looks like "libtool" thinks that it is linking a program and not
> > a shared object. I've tried to replace "-shared" with "-module" but
> > it doesn't help. Any ideas how to fix that?
> 
> Can you try adding -rpath ${PREFIX}/lib or so?

That doesn't fix the problem, and it doesn't look to me like the
right solution.

The cause seems to be that "libtool" thinks it is linking a problem
and is therefore linking with the C startup code which cannot find
"main" as we are really creating a shared object.

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index