* Thomas Arendsen Hein <[EMAIL PROTECTED]> [20070530 21:44]: > I'm not subscribed to the list, so please Cc: me on replies. > > When building clamav-0.90.2-20070413.src.rpm on Debian sarge on > x86 with OpenPKG-current from today I got the following error: > > /kolab/bin/cc -O2 -pipe -o clamscan output.o getopt.o cfgparser.o misc.o > options.o clamscan.o others.o manager.o treewalk.o -L/kolab/lib > ../libclamav/.libs/libclamav.a -liconv -lbz2 /kolab/lib/libgmp.a > /kolab/lib/libcurl.a -lz -lssl -lcrypto -ldl -lnsl -lpthread > output.o: In function `logg': > output.c:(.text+0x1c8): undefined reference to `libintl_gettext' > output.c:(.text+0x2ca): undefined reference to `libintl_gettext' > output.c:(.text+0x31c): undefined reference to `libintl_gettext'
Ah, I just saw that I had the same problem a while ago with an OpenPKG 2.5 based installation, see my mail on this list: [EMAIL PROTECTED] My proposed solution there was: --- clamav.spec.orig 2007-02-14 06:54:23.000000000 +0100 +++ clamav.spec 2007-02-14 17:54:29.000000000 +0100 @@ -84,6 +84,7 @@ CFLAGS="%{l_cflags -O}" \ CPPFLAGS="%{l_cppflags}" \ LDFLAGS="%{l_ldflags}" \ + LIBS="-lintl -liconv" \ GREP="grep" \ ./configure \ --prefix=%{l_prefix} \ Seems as if -lintl isn't added automatically (while -liconv is), adding LIBS="-lintl" solves (or works around) the problem. Thomas -- [EMAIL PROTECTED] - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A Intevation GmbH, Osnabrueck - Register: Amtsgericht Osnabrueck, HR B 18998 Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner ______________________________________________________________________ OpenPKG http://openpkg.org Developer Communication List openpkg-dev@openpkg.org