bug-gsrc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gsrc] minor problm building unrtf


From: Brandon Invergo
Subject: Re: [bug-gsrc] minor problm building unrtf
Date: Mon, 10 Dec 2012 09:42:14 +0100
User-agent: Notmuch/0.14 (http://notmuchmail.org) Emacs/24.2.1 (x86_64-unknown-linux-gnu)

> my_iconv.o: In function `my_iconv_open':
> /usr/local/gsrc/gnu/unrtf/work/unrtf-0.21.2/src/my_iconv.c:35:
> undefined reference to `libiconv_open' [ 7 more citation
> lines. Click/Enter to show. ] [ lines omitted ]' collect2: error: ld
> returned 1 exit status make[2]: *** [unrtf] Error 1 make[2]: Leaving
> directory `/usr/local/gsrc/gnu/unrtf/work/unrtf-0.21.2/src'
>
> problem is missing iconv lib. Solution:
>
> gcc -g -O2 -L/usr/local/lib -o unrtf attr.o convert.o error.o hash.o
> my_iconv.o main.o malloc.o output.o parse.o path.o unicode.o user.o
> util.o word.o -liconv

Welcome to my personal libiconv hell. The build works for me and if I
add -liconv to LIBS, the build breaks. As I understand it, if you are
using GNU/Linux and have a recent (within years, I think) glibc, you
shouldn't need libiconv. Not that it matters since some packages still
misbehave regarding this library. Unfortunately, I haven't exactly
figured it out yet and it's probably the last great hurdle I have in
fully being in control of GSRC.

Anyway. I'm not sure how to proceed. What system are you using and which
version of libc do you have? Do you have libiconv installed separately?

I'll tentatively label this particular failule as "wont_fix" but I
eventually need to figure out a flexible solution for this libiconv
problem.

Thanks for bringing this up, -brandon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]