Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2003 11:53:44 -0800
From:      Brett McCormick <brett@nodetree.net>
To:        freebsd-questions@freebsd.org
Subject:   /usr/local/lib/libiconv.so: undefined reference to `nl_langinfo'
Message-ID:  <15944.840.229360.703008@wasson.nodetree.net>

next in thread | raw e-mail | index | archive | help

I'm attempting to compile mono (version 0.19) and I'm getting the
following error:

Making all in monoburg
gcc -o monoburg ./monoburg.c parser.c -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I.  -L/usr/local/lib -lglib-2.0 -lintl -liconv
/usr/local/lib/libiconv.so: undefined reference to `nl_langinfo'
*** Error code 1

I get this error whenever I attempt to link something with libiconv.
AFAIK, nl_langinfo should be part of the standard C library, but it is
not.  I haven't always had this problem.

FreeBSD ******* 4.5-RELEASE-p2 FreeBSD 4.5-RELEASE-p2 #11: Wed Dec 18 14:37:34 PST 2002     ********:/home/src/sys/compile/*****  i386

I am not sure how to fix it.  I have tried recompiling iconv, gettext
and am now trying to recompile glib.

This is causing quite a few problems with compilation/administration.
Please CC replies to brett@nodetree.net as I do not subscribe to
-questions.

brett

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15944.840.229360.703008>