This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gettext/libiconv and libtool problem

gettext has a requirement on libiconv2. libiconv2 contains only the cygiconv dll and nothing else.

OK. So we have a typical (libtooled) autoconf/automake configure which has
a AM_GNU_GETTEXT([external]).

Fine, the configure proceeds and produces something like -

checking for GNU gettext in libc... no
checking for iconv... no, consider installing GNU libiconv
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl

Also fine.

We then do the make which blows up with -

libtool: link: cannot find the library `/usr/lib/' or unhandled argument

It looks to me as though libiconv2 should be supplying
as the gettext has these lines -

# Libraries that this one depends upon.
dependency_libs=' -L/usr/lib /usr/lib/'

In fact I wonder whether or not gettext should require libiconv
instead of/as well as libiconv2.


-- Problem reports: FAQ: Documentation: Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]