Bug 6107 - Need a way to ask configure to disable all use of iconv_open()
Summary: Need a way to ask configure to disable all use of iconv_open()
Status: RESOLVED FIXED
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.0.5
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-12 10:40 UTC by Jeff Blaine
Modified: 2009-02-14 10:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Blaine 2009-02-12 10:40:41 UTC
Linux beijing 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

./configure --prefix=/usr/rcf --disable-iconv --disable-debug

make
make install

rsync

/usr/rcf/bin/rsync: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
Comment 1 Wayne Davison 2009-02-14 10:06:58 UTC
The --disable-iconv's purpose is to turn off the --iconv option (as ./configure --help states).  It does not disable all use of iconv_open(), since rsync still wants a good way to figure out what characters may be output to the user in a legible manner.

I have added the configure option --disable-iconv-open, which disables all use of iconv_open().  That will (of course) also disable --iconv.

Ideally, it would be better to figure out why configure believes that iconv_open() exists in your environment, yet rsync can't use it.  If you could discover what that disconnect is, please let me know.