Please help me. The problem with iconv.
OS: FedoraCore5 $ ./configure --with-libiconv-prefix=/usr/local result: no errors
$ make result: make all-recursive make[1]: Entering directory `/usr/local/src/curlftpfs/curlftpfs-0.9.1' Making all in compat make[2]: Entering directory `/usr/local/src/curlftpfs/curlftpfs-0.9.1/compat' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/local/src/curlftpfs/curlftpfs-0.9.1/compat' Making all in doc make[2]: Entering directory `/usr/local/src/curlftpfs/curlftpfs-0.9.1/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/local/src/curlftpfs/curlftpfs-0.9.1/doc' make[2]: Entering directory `/usr/local/src/curlftpfs/curlftpfs-0.9.1' /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -Wall -W -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/usr/local/include -L/usr/local/lib -o curlftpfs ftpfs.o libcurlftpfs.a -lglib-2.0 -pthread -L/usr/local/lib -lfuse -lrt -L/usr/local/lib -lcurl mkdir .libs gcc -g -O2 -Wall -W -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/usr/local/include -o curlftpfs ftpfs.o -pthread -L/usr/local/lib libcurlftpfs.a -lglib-2.0 /usr/local/lib/libfuse.so -lrt /usr/local/lib/libcurl.so -lssl -lcrypto libcurlftpfs.a(charset_utils.o): In function `convert_charsets': /usr/local/src/curlftpfs/curlftpfs-0.9.1/charset_utils.c:26: undefined reference to `libiconv_open' /usr/local/src/curlftpfs/curlftpfs-0.9.1/charset_utils.c:39: undefined reference to `libiconv' /usr/local/src/curlftpfs/curlftpfs-0.9.1/charset_utils.c:50: undefined reference to `libiconv_close' collect2: ld returned 1 exit status make[2]: *** [curlftpfs] Error 1 make[2]: Leaving directory `/usr/local/src/curlftpfs/curlftpfs-0.9.1' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/curlftpfs/curlftpfs-0.9.1' make: *** [all] Error 2
Try: gcc -g -O2 -Wall -W -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/usr/local/include -o curlftpfs ftpfs.o -pthread -L/usr/local/lib libcurlftpfs.a -lglib-2.0 /usr/local/lib/libfuse.so -lrt /usr/local/lib/libcurl.so -lssl -lcrypto -liconv
Can you send me the config.log file?
Log in to post a comment.
Please help me. The problem with iconv.
OS: FedoraCore5
$ ./configure --with-libiconv-prefix=/usr/local
result: no errors
$ make
result:
make all-recursive
make[1]: Entering directory `/usr/local/src/curlftpfs/curlftpfs-0.9.1'
Making all in compat
make[2]: Entering directory `/usr/local/src/curlftpfs/curlftpfs-0.9.1/compat'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/curlftpfs/curlftpfs-0.9.1/compat'
Making all in doc
make[2]: Entering directory `/usr/local/src/curlftpfs/curlftpfs-0.9.1/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/curlftpfs/curlftpfs-0.9.1/doc'
make[2]: Entering directory `/usr/local/src/curlftpfs/curlftpfs-0.9.1'
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -Wall -W -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/usr/local/include -L/usr/local/lib -o curlftpfs ftpfs.o libcurlftpfs.a -lglib-2.0 -pthread -L/usr/local/lib -lfuse -lrt -L/usr/local/lib -lcurl
mkdir .libs
gcc -g -O2 -Wall -W -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/usr/local/include -o curlftpfs ftpfs.o -pthread -L/usr/local/lib libcurlftpfs.a -lglib-2.0 /usr/local/lib/libfuse.so -lrt /usr/local/lib/libcurl.so -lssl -lcrypto
libcurlftpfs.a(charset_utils.o): In function `convert_charsets':
/usr/local/src/curlftpfs/curlftpfs-0.9.1/charset_utils.c:26: undefined reference to `libiconv_open'
/usr/local/src/curlftpfs/curlftpfs-0.9.1/charset_utils.c:39: undefined reference to `libiconv'
/usr/local/src/curlftpfs/curlftpfs-0.9.1/charset_utils.c:50: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make[2]: *** [curlftpfs] Error 1
make[2]: Leaving directory `/usr/local/src/curlftpfs/curlftpfs-0.9.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/curlftpfs/curlftpfs-0.9.1'
make: *** [all] Error 2
Try:
gcc -g -O2 -Wall -W -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/usr/local/include -o curlftpfs
ftpfs.o -pthread -L/usr/local/lib libcurlftpfs.a -lglib-2.0
/usr/local/lib/libfuse.so -lrt /usr/local/lib/libcurl.so -lssl -lcrypto -liconv
Can you send me the config.log file?