I have run configure like this: 

./configure --with-libiconv-prefix=/users/jsalinas/mutt-src/lib/ 
--with-curses=/users/jsalinas/mutt-src/usr --prefix=/users/jsalinas/mutt-src 
--enable-imap --enable-flock --disable-fcntl

and

./configure --with-libiconv-prefix=/users/jsalinas/mutt-src/lib/libiconv.so 
--with-curses=/users/jsalinas/mutt-src/usr --prefix=/users/jsalinas/mutt-src 
--enable-imap --enable-flock --disable-fcntl

where /users/jsalinas/mutt-src/lib/ contains:
ls -l /users/jsalinas/mutt-src/lib/
total 2235
-rw-r--r--  1 jsalinas hdwe   14348 2007-02-22 11:11 libcharset.a
-rw-r--r--  1 jsalinas hdwe     827 2007-02-22 11:11 libcharset.la
lrwxrwxrwx  1 jsalinas hdwe      19 2007-02-22 11:11 libcharset.so -> 
libcharset.so.1.0.0
lrwxrwxrwx  1 jsalinas hdwe      19 2007-02-22 11:11 libcharset.so.1 -> 
libcharset.so.1.0.0
-rw-r--r--  1 jsalinas hdwe   18894 2007-02-22 11:11 libcharset.so.1.0.0
-rw-r--r--  1 jsalinas hdwe     803 2007-02-22 11:11 libiconv.la
lrwxrwxrwx  1 jsalinas hdwe      17 2007-02-22 11:11 libiconv.so -> 
libiconv.so.2.4.0
lrwxrwxrwx  1 jsalinas hdwe      17 2007-02-22 11:11 libiconv.so.2 -> 
libiconv.so.2.4.0
-rw-r--r--  1 jsalinas hdwe 1130804 2007-02-22 11:11 libiconv.so.2.4.0
-rw-r--r--  1 jsalinas hdwe 1119729 2007-02-22 11:11 preloadable_libiconv.so

However when I try to make it does not pick up the shared object 
libiconv: 

gcc  -Wall -pedantic -g -O2  -L/users/jsalinas/mutt-src/usr/lib -o mutt  
patchlist.o addrbook.o alias.o attach.o base64.o browser.o buffy.o color.o 
crypt.o cryptglue.o commands.o complete.o compose.o copy.o curs_lib.o 
curs_main.o date.o edit.o enter.o flags.o init.o filter.o from.o getdomain.o 
group.o handler.o hash.o hdrline.o headers.o help.o hook.o keymap.o main.o 
mbox.o menu.o mh.o mx.o pager.o parse.o pattern.o postpone.o query.o 
recvattach.o recvcmd.o rfc822.o rfc1524.o rfc2047.o rfc2231.o score.o send.o 
sendlib.o signal.o sort.o status.o system.o thread.o charset.o history.o lib.o 
muttlib.o editmsg.o utf8.o mbyte.o wcwidth.o url.o ascii.o mutt_idna.o 
crypt-mod.o pgp.o pgpinvoke.o pgpkey.o pgplib.o gnupgparse.o pgpmicalg.o 
pgppacket.o crypt-mod-pgp-classic.o smime.o crypt-mod-smime-classic.o resize.o 
dotlock.o bcache.o account.o mutt_socket.o mutt_tunnel.o md5c.o  -Limap -limap 
-lncursesw     
muttlib.o(.text+0x290e): In function `mutt_adv_mktemp':
/users/jsalinas/mutt-src/mutt-1.5.13/muttlib.c:78: warning: the use of `mktemp' 
is dangerous, better use `mkstemp'
handler.o(.text+0x1e71): In function `mutt_convert_to_state':
/users/jsalinas/mutt-src/mutt-1.5.13/handler.c:90: undefined reference to 
`libiconv'
handler.o(.text+0x2860): In function `mutt_decode_attachment':
/users/jsalinas/mutt-src/mutt-1.5.13/handler.c:1772: undefined reference to 
`libiconv_close'
...etc... 

Should I expect this to work?

This was with 
mutt-1.5.13 compiled under:
uname -a
Linux gold.us.cray.com 2.6.8-24.24-bigsmp #1 SMP Fri Jul 21 04:06:26 UTC 2006 
i686 i686 i386 GNU/Linux

I realize that libiconv is not in the system's cache of libs:
[EMAIL PROTECTED]:~/mutt-src/mutt-1.5.13> ldconfig -p |grep -i libiconv
[EMAIL PROTECTED]:~/mutt-src/mutt-1.5.13>  

But I did expect make to know where to look for it.  I did try to 
use the system's default but the configure said it was not good 
enough.  Any thoughts on getting this to work would be 
appreciated. 

Thanks,
john

Reply via email to