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 Wed, Jan 06, 2010 at 03:58:43PM +0000, Matthias Scheler wrote:
> On Wed, Jan 06, 2010 at 11:20:38AM +0000, Matthias Scheler wrote:
> > > I'll try as soon as the Solaris machine (it's not mine) is up and
> > > running again.
> > 
> > I try change the rule to build a ".la" file it complains that the
> > target filename doesn't start with "lib". If I replace "-shared"
> > with "-module" the build succeeds but no ".so" file is generated.
> 
> That should read:
> 
> I changed the "Makefile" to build a ".la" file at which point "libtool"
> complained that the target filename doesn't start with "lib". After I
> replaced "-shared" with "-module" the build succeeded but no ".so" was
> generated.

pkgsrc seems to be on libiconv-1.12. libiconv-1.13.1 has the rather
hopeful note in its ChangeLog 2008-04-06 "More portable way of
building the preloadable library" and "(OS, GCC, PLUGLIB): Remove definitions."

The rules there seem to make a libiconv.la and then rename libiconv.so to
preloadable_libiconv.so, getting around your observation above.

So the simplest seems to be, upgrade to 1.13.1!

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index