[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problem with compiling 0.37.0 on solaris

From: Joe Orton <joe_at_manyfish.co.uk>
Date: 2004-02-10 16:33:35 CET

On Tue, Feb 10, 2004 at 10:10:51AM -0500, Adrian Robert wrote:
> > I was trying to compile 0.37.0 on a solaris system (SunOS ultra18 5.8
> > Generic_108528-26 sun4u sparc SUNW,Sun-Blade-1000) but failed:
> >...
>
> > Undefined first referenced
> > symbol in file
> > libiconv_open
> > /var/tmp/e_tews/subversion-0.37.0/apr-util/.libs/libaprutil-0.so
> > libiconv
> > /var/tmp/e_tews/subversion-0.37.0/apr-util/.libs/libaprutil-0.so
> > libiconv_close
> > /var/tmp/e_tews/subversion-0.37.0/apr-util/.libs/libaprutil-0.so
> > ld: fatal: Symbol referencing errors. No output written to .libs/svn

I think this error could happen if:

- you have a recent libiconv installed somewhere with an iconv.h at
/usr/local/include, for instance

- apr-util does *not* detect libiconv and use -liconv, but it *does*
pick up libiconv's iconv.h which redefines "iconv_open" to
"libiconv_open" etc.

If this is correct, find the iconv.h from libiconv and remove it, then
rebuild apr-util and subversion. It's pretty hard to solve this kind of
problem in a configure script in general.

joe

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 10 16:33:58 2004

This is an archived mail posted to the Subversion Users mailing list.