Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

iconv issues

65 views
Skip to first unread message

The Doctor

unread,
Jul 8, 2010, 10:44:30 AM7/8/10
to
conv concerns.

libiconv is compiled correctly yet any programme need iconv I get

/usr/lib/libintl.a(dcigettext.o)(.text+0x8b1): In function `_nl_find_msg':
: undefined reference to `libiconv_open'
/usr/lib/libintl.a(dcigettext.o)(.text+0x95b): In function `_nl_find_msg':
: undefined reference to `libiconv'
/usr/lib/libintl.a(dcigettext.o)(.text+0xb32): In function `_nl_find_msg':
: undefined reference to `libiconv_open'
/usr/lib/libintl.a(relocatable.o)(.text+0x11b): In function `libintl_set_relocation_prefix':
: undefined reference to `libiconv_set_relocation_prefix'

And I did compile from ports.

Same thing when I compile from source.

Seems to be a iconv/BSD issue.

Anyone knows about this and a workaround?
--
Member - Liberal International This is doc...@nl2k.ab.ca Ici doc...@nl2k.ab.ca
God, Queen and country! Never Satan President Republic! Beware AntiChrist rising!
http://twitter.com/rootnl2k http://www.facebook.com/dyadallee
Since 1 June 1995

The Doctor

unread,
Jul 8, 2010, 10:45:26 AM7/8/10
to
In article <i14o8e$8rm$1...@gallifrey.nk.ca>,

Fxed newsgroups line :-(

Johan van Selst

unread,
Jul 8, 2010, 11:57:16 AM7/8/10
to
Once upon a newsgroup, The Doctor claimed:

>>libiconv is compiled correctly yet any programme need iconv I get
>>/usr/lib/libintl.a(dcigettext.o)(.text+0x8b1): In function `_nl_find_msg':
>>: undefined reference to `libiconv_open'

What operating system are you using? At least FreeBSD doesn't have any
/usr/lib/libintl.a

Neither FreeBSD nor NetBSD have libiconv_open: they use iconv_open.

>>And I did compile from ports.

What program did you compile?

>>Seems to be a iconv/BSD issue.

I'm not convinced.

>>Anyone knows about this and a workaround?

You'll have to be more specific - a link to the complete configure/build
output of your program might be useful.


Ciao,
Johan
--
Why do we always come here - I guess we'll never know.
It's like a kind of torture to have to watch the show.

The Doctor

unread,
Jul 8, 2010, 12:03:15 PM7/8/10
to
In article <pgpmoose.2010...@mud.stack.nl>,

Johan van Selst <{c.u.b.f.m.}@news.gletsjer.org> wrote:
>Once upon a newsgroup, The Doctor claimed:
>>>libiconv is compiled correctly yet any programme need iconv I get
>>>/usr/lib/libintl.a(dcigettext.o)(.text+0x8b1): In function `_nl_find_msg':
>>>: undefined reference to `libiconv_open'
>
>What operating system are you using? At least FreeBSD doesn't have any
>/usr/lib/libintl.a
>


>Neither FreeBSD nor NetBSD have libiconv_open: they use iconv_open.
>

FreeBSD 7

/usr/local/lib/libiconv.a

>>>And I did compile from ports.
>
>What program did you compile?

getext.

>
>>>Seems to be a iconv/BSD issue.
>
>I'm not convinced.
>
>>>Anyone knows about this and a workaround?
>
>You'll have to be more specific - a link to the complete configure/build
>output of your program might be useful.
>

as in a script?

>
>Ciao,
>Johan
>--
>Why do we always come here - I guess we'll never know.
>It's like a kind of torture to have to watch the show.

Johan van Selst

unread,
Jul 8, 2010, 12:45:11 PM7/8/10
to
["Followup-To:" header set to comp.unix.bsd.freebsd.misc.]

Once upon a newsgroup, The Doctor claimed:
>>Once upon a newsgroup, The Doctor claimed:
>>>>libiconv is compiled correctly yet any programme need iconv I get
>>>>/usr/lib/libintl.a(dcigettext.o)(.text+0x8b1): In function `_nl_find_msg':
>>>>: undefined reference to `libiconv_open'
>>What operating system are you using? At least FreeBSD doesn't have any
>>/usr/lib/libintl.a

> FreeBSD 7
> /usr/local/lib/libiconv.a

This confuses me: the error message you quoted is not about
/usr/local/lib/libiconv.a but about /usr/lib/libintl.a, a file that
is not usually present on FreeBSD 7 machines.

If you do have a /usr/lib/libintl.a file on your system, please move
(or delete) it, and then try again.

>>>>Anyone knows about this and a workaround?
>>You'll have to be more specific - a link to the complete configure/build
>>output of your program might be useful.
> as in a script?

Yeah, script works. Just do
$ cd /usr/ports/devel/gettext
$ script
$ make clean build
^D

and post (a link to) the resulting 'typescript' file - or mail it to me
if you prefer and I'll have a look.

0 new messages