wzdftpd compile error

Jeremy Chadwick freebsd at jdc.parodius.com
Tue Mar 7 09:44:45 UTC 2006


On Tue, Mar 07, 2006 at 09:38:01AM +0100, ml at sd2i.com wrote:
> I have the error on 4.11 and 5.4, ports tree updated today, anyone can 
> help me to complete the install ?
> {snip} 
> # portversion -v libiconv
> libiconv-1.9.2_2            =  up-to-date with port
> {snip} 
> 
> *** Warning: Linking the executable wzdftpd against the loadable module
> *** libwzd_core.so is not portable!
> cc -O -pipe -pthread -o .libs/wzdftpd -D_THREAD_SAFE wzd_main.o 
> wzd_ServerThread.o wzd_init_lex.o  -L/usr/local/lib -lcrypt 
> ../libwzd-core/.libs/libwzd_core.so -Wl,--rpath -Wl,/usr/local/lib
> ../libwzd-core/.libs/libwzd_core.so: undefined reference to `libiconv_open'
> ../libwzd-core/.libs/libwzd_core.so: undefined reference to `libiconv_close'
> ../libwzd-core/.libs/libwzd_core.so: undefined reference to `libiconv'
> gmake[2]: *** [wzdftpd] Error 1
> rm wzd_init_lex.c
> gmake[2]: Leaving directory 
> `/usr/ports/ftp/wzdftpd/work/wzdftpd-0.6.1/wzdftpd'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/ftp/wzdftpd/work/wzdftpd-0.6.1'
> gmake: *** [all] Error 2
> *** Error code 2

Looks like -liconv is missing from the gcc flags (which are passed
to ld).

-- 
| Jeremy Chadwick                                 jdc at parodius.com |
| Parodius Networking                        http://www.parodius.com/ |
| UNIX Systems Administrator                   Mountain View, CA, USA |
| Making life hard for others since 1977.                             |



More information about the freebsd-ports mailing list