wzdftpd compile error

ml at sd2i.com ml at sd2i.com
Tue Mar 7 13:04:21 UTC 2006


Jeremy Chadwick a écrit :
> 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).
> 

Do you know if there's a way to add it from portinstall (-m arg ?) or do 
i need to alter the sources after a make patch ?

By the way thanks for the tip.

Regards.


More information about the freebsd-ports mailing list