-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 6/28/10 3:52 PM, Timothy Havel wrote:
>  From the shell,
> 
> % ipython -pylab
> 
> gives,
> 
> Traceback (most recent call last):
>    File "/sw/bin/ipython", line 28, in <module>
>      IPython.Shell.start().mainloop()
>    File "/sw/lib/python2.5/site-packages/IPython/Shell.py", line 1233,  
> in start
>      return shell(user_ns = user_ns)
>    File "/sw/lib/python2.5/site-packages/IPython/Shell.py", line 1108,  
> in __init__
>      shell_class=MatplotlibMTShell)
>    File "/sw/lib/python2.5/site-packages/IPython/Shell.py", line 778,  
> in __init__
>      import gtk
>    File "/sw/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py",  
> line 48, in <module>
>      from gtk import _gtk
> ImportError: dlopen(/sw/lib/python2.5/site-packages/gtk-2.0/gtk/ 
> _gtk.so, 2): Symbol not found: _iconv
>    Referenced from: /usr/X11/lib/libfontconfig.1.dylib
>    Expected in: /sw/lib/libiconv.2.dylib
> 
> Indeed,
> 
> % otool -Tv /sw/lib/libiconv.2.dylib
> /sw/lib/libiconv.2.dylib:
> Table of contents (8 entries)
> module name      symbol name
> single module    __libiconv_version
> single module    _iconv_canonicalize
> single module    _libiconv
> single module    _libiconv_close
> single module    _libiconv_open
> single module    _libiconv_set_relocation_prefix
> single module    _libiconvctl
> single module    _libiconvlist
> 
> whereas,
> 
> otool -Tv /usr/lib/libiconv.2.dylib
> /usr/lib/libiconv.2.dylib:
> Table of contents (20 entries)
> module name      symbol name
> single module    __libiconv_version
> single module    _aliases2_lookup
> single module    _aliases_lookup
> single module    _iconv
> single module    _iconv_canonicalize
> single module    _iconv_close
> single module    _iconv_open
> single module    _iconvctl
> single module    _iconvlist
> single module    _libiconv
> single module    _libiconv_close
> single module    _libiconv_open
> single module    _libiconv_relocate
> single module    _libiconv_set_relocation_prefix
> single module    _libiconvctl
> single module    _libiconvlist
> single module    _locale_charset
> single module    _utf8_decodestr
> single module    _utf8_encodestr
> single module    _utf_extrabytes
> 
> % printenv DYLD_LIBRARY_PATH
> /usr/local/lib:/sw/lib:/usr/lib:/lib
> 
> % fink list iconv
> Information about 9777 packages read in 3 seconds.
>   i   libiconv         1.12-4       Character set conversion library
>   i   libiconv-bin     1.12-4       Executables for libiconv package
>   i   libiconv-dev     1.12-4       Developer files for libiconv package
>       text-iconv-pm51  1.7-2        The iconv() character set  
> conversion func...
>       text-iconv-pm58  1.7-2        The iconv() character set  
> conversion func...
>       text-iconv-pm58  1.7-2        The iconv() character set  
> conversion func...
> 
> Anyone know why /sw/lib/libiconv.2.dylib doesn't provide iconv? Or for  
> that matter, why fink doesn't just provide a virtual package for  
> libiconv, since Xcode3 provides it already?
> 
> Thanks, TFH
> 

You've got something else going on than you think.
/usr/X11/lib/libfontconfig.1.dylib should *not* be linking to a Fink
libiconv at all.

Do you have DYLD_LIBRARY_PATH=/sw or something?

- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwpAgoACgkQB8UpO3rKjQ/+eQCdFsy3FEFop28XiYUeXdRTHHlY
cmYAnjOhBZUaYDOx62OKYvT//IHWVTjp
=rgsF
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to