On Thu, Aug 03, 2006, Nick White wrote: > Hi there, > > First it should be mentioned that my computer is somewhat of a hotchpotch of > differernt libraries, from different sources, as it's what I've been using > since I first installed Linux. > > I couldn't get libkarma-0.0.5 to compile - it kept complaining about > "undefined reference to `libiconv'" > > I have libiconv 0.9.2 and gcc 3.4.5, and tried compiling with just "make > all".
Do you mean libiconv-1.9.2 ? 0.9.2 must be awfully old by now. I am intrigued that it is complaining about missing libiconv* since all the functions are called iconv*. I'm also somewhat suprised that you have specifically installed libiconv in the first place. On most systems it is part of libc. At any rate, it sounds like the library is not being found. If libiconv is installed as a separate package on your machine then there is most likely a libiconv.a file located on your system somewhere. You need to add the full pathname for this to your makefile. This is most easily done by changing the LDFLAGS line in tools/Makefile. Something like: LDFLAGS+=-ltag_c -lz /usr/local/lib/libiconv.a Hope this helps. Keith. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-karma-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-karma-devel
