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

Re: Solaris 9 link failure

From: Amos <a.goo0h_at_gmail.com>
Date: 2006-02-19 15:47:56 CET

On 2/17/06, Amos <a.goo0h@gmail.com> wrote:
>
>
> Undefined first referenced
> symbol in file
> libintl_dgettext blame-cmd.o
> libintl_bind_textdomain_codeset
> /usr/soft/that/subversion-1.3.0
> /src/default/sparc_sun_solaris2.9/subversion/libsvn_subr/.libs/libsvn_subr-
> 1.so
> libintl_bindtextdomain
> /usr/soft/that/subversion-1.3.0
> /src/default/sparc_sun_solaris2.9/subversion/libsvn_subr/.libs/libsvn_subr-
> 1.so
> ld: fatal: Symbol referencing errors. No output written to svn
> collect2: ld returned 1 exit status
> gmake: *** [subversion/clients/cmdline/svn] Error 1
>
>
> The closest thing in the archives I could find to this is:
>
> http://article.gmane.org/gmane.comp.version-control.subversion.user/35959

Well, for the benefit of the archives, it seems the fix was as simple as
just defining the LDFLAGS environment variable thusly before running
configure:

LDFLAGS="-lintl"

Though, for my sake, to ensure completeness, this is what I used:

CC="gcc -I/usr/local/include/apr-1 -I${apache}/include"
LDFLAGS="-lintl -L/usr/local/lib -R/usr/local/lib -L${berkdb}/lib
-R${berkdb}/lib -L${apache}/lib -R${apache}/lib"
Received on Sun Feb 19 15:48:46 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.