[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fink-users
Subject:    Re: [Fink-users] Fink Snow Leopard install error
From:       Lizzy Wilbanks <ewilbanks () gmail ! com>
Date:       2010-09-28 19:26:52
Message-ID: AANLkTimaYHBOmKOOrEmWxCJjqVq_up+sFz-_h=3F-u1J () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thanks so much!!  That seems to have fixed things!

On Tue, Sep 28, 2010 at 11:41 AM, Alexander Hansen <
alexanderk.hansen@gmail.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 9/28/10 1:53 PM, Martin Costabel wrote:
> > On 28/09/10 18:44, Lizzy Wilbanks wrote:
> >
> > []
> >> $ /usr/bin/gcc-4.0 --version
> >> dyld: Library not loaded: /usr/lib/libiconv.2.dylib
> >>    Referenced from: /usr/bin/i686-apple-darwin10-gcc-4.0.1
> >>    Reason: no suitable image found.  Did find:
> >> /usr/lib/libiconv.2.dylib: mach-o, but wrong architecture
> >> /usr/local/lib/libiconv.2.dylib: mach-o, but wrong architecture
> >> /usr/lib/libiconv.2.dylib: mach-o, but wrong architecture
> >>
> >>
> >>     $ file /usr/lib/libiconv.2.dylib
> >>     /usr/lib/libiconv.2.dylib: Mach-O 64-bit dynamically linked shared
> >>     library x86_64
> >
> > I am bouncing this back to the list, because I don't know what could be
> > the cause that your /usr/bin/gcc-4.0 is 32bit
>
> gcc-4.0 being 32-bit is in fact normal on 10.6:
>
> $ file /usr/bin/gcc-4.0
> /usr/bin/gcc-4.0: Mach-O universal binary with 2 architectures
> /usr/bin/gcc-4.0 (for architecture i386):       Mach-O executable i386
> /usr/bin/gcc-4.0 (for architecture ppc7400):    Mach-O executable ppc
>
> and your
> > /usr/lib/libiconv.2.dylib is only 64bit and not "fat". Something must
> > have gone wrong in your system installation.
> >
> > The fink bootstrap process tests whether /usr/bin/gcc-4.0 is not too old
> > (this used to be important on older OSX versions), even if "gcc" is in
> > reality /usr/bin/gcc-4.2. And in your case, /usr/bin/gcc-4.0 does not
> > work, because it doesn't find the dynamic libraries it needs. Fink then
> > concludes that it is too old, which is of course not very intelligent.
> >
> > Maybe someone else has an idea.
> >
> > Anyway, reinstalling the xcode tools might repair your gcc-4.0, although
> > I doubt that /usr/lib/libiconv.2.dylib is installed from the xcode
> > tools. It is part of the base system, I believe.
> >
>
> On 10.6.4 I have:
> $ /usr/bin/file /usr/lib/libiconv.2.dylib
> /usr/lib/libiconv.2.dylib: Mach-O universal binary with 3 architectures
> /usr/lib/libiconv.2.dylib (for architecture x86_64):    Mach-O 64-bit
> dynamically linked shared library x86_64
> /usr/lib/libiconv.2.dylib (for architecture i386):      Mach-O dynamically
> linked shared library i386
> /usr/lib/libiconv.2.dylib (for architecture ppc7400):   Mach-O dynamically
> linked shared library ppc
> $ ls -l /usr/lib/libiconv.2.dylib
> - -r-xr-xr-x 1 root wheel 3205760 2010-02-10 23:49
> /usr/lib/libiconv.2.dylib
> $ pkgutil --file-info /usr/lib/libiconv.2.dylib
> volume: /
> path: /usr/lib/libiconv.2.dylib
>
> pkgid: com.apple.pkg.BaseSystem
> pkg-version: 10.6.0.1.1.1249291854
> install-time: 1282520957
> uid: 0
> gid: 0
> mode: 644
>
> pkgid: com.apple.pkg.update.os.10.6.4.combo
> pkg-version: 1.0.1.1249367152
> install-time: 1282528670
> uid: 0
> gid: 0
> mode: 555
>
> And even on 10.5.8, libiconv.2.dylib is supposed to be fat (it's even
> fatter, in fact, because it has ppc64).  Could you have installed
> something from a third-party source which overwrote the system's
> libiconv (and perhaps other libraries)?
>
>
> I'd recommend at the very least manually re-downloading the 10.6.4 Combo
> update (since Software Update won't see it any more).  Then run
>
> sudo pkgutil --forget com.apple.pkg.update.os.10.6.4.combo
>
> to unregister it.  Then reinstall the update from your download, and use
>
> file /usr/lib/libiconv.2.dylib
>
> again to make sure that it has all three architectures in it.
> - --
> Alexander Hansen
> Fink User Liaison
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkyiNuQACgkQB8UpO3rKjQ9DaACeO8ZToRMWc4rjns259LUG0bdO
> 2ScAnifFGIsAKZmDlOLuIC4yzNOT46V2
> =ziKf
> -----END PGP SIGNATURE-----
>



-- 
"The obvious goal of any bacterium is to become bacteria."

Lizzy Wilbanks
Graduate Student, Eisen and Facciotti Labs
UC Davis, Microbiology Graduate Group

[Attachment #5 (text/html)]

Thanks so much!!  That seems to have fixed things!<br><br><div class="gmail_quote">On \
Tue, Sep 28, 2010 at 11:41 AM, Alexander Hansen <span dir="ltr">&lt;<a \
href="mailto:alexanderk.hansen@gmail.com">alexanderk.hansen@gmail.com</a>&gt;</span> \
wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
                solid;padding-left:1ex;">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div class="im"><br>
On 9/28/10 1:53 PM, Martin Costabel wrote:<br>
&gt; On 28/09/10 18:44, Lizzy Wilbanks wrote:<br>
&gt;<br>
&gt; []<br>
&gt;&gt; $ /usr/bin/gcc-4.0 --version<br>
&gt;&gt; dyld: Library not loaded: /usr/lib/libiconv.2.dylib<br>
&gt;&gt;    Referenced from: /usr/bin/i686-apple-darwin10-gcc-4.0.1<br>
&gt;&gt;    Reason: no suitable image found.  Did find:<br>
&gt;&gt; /usr/lib/libiconv.2.dylib: mach-o, but wrong architecture<br>
&gt;&gt; /usr/local/lib/libiconv.2.dylib: mach-o, but wrong architecture<br>
&gt;&gt; /usr/lib/libiconv.2.dylib: mach-o, but wrong architecture<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;     $ file /usr/lib/libiconv.2.dylib<br>
&gt;&gt;     /usr/lib/libiconv.2.dylib: Mach-O 64-bit dynamically linked shared<br>
&gt;&gt;     library x86_64<br>
&gt;<br>
&gt; I am bouncing this back to the list, because I don&#39;t know what could be<br>
&gt; the cause that your /usr/bin/gcc-4.0 is 32bit<br>
<br>
</div>gcc-4.0 being 32-bit is in fact normal on 10.6:<br>
<br>
$ file /usr/bin/gcc-4.0<br>
/usr/bin/gcc-4.0: Mach-O universal binary with 2 architectures<br>
/usr/bin/gcc-4.0 (for architecture i386):       Mach-O executable i386<br>
/usr/bin/gcc-4.0 (for architecture ppc7400):    Mach-O executable ppc<br>
<div class="im"><br>
and your<br>
&gt; /usr/lib/libiconv.2.dylib is only 64bit and not &quot;fat&quot;. Something \
must<br> &gt; have gone wrong in your system installation.<br>
&gt;<br>
&gt; The fink bootstrap process tests whether /usr/bin/gcc-4.0 is not too old<br>
&gt; (this used to be important on older OSX versions), even if &quot;gcc&quot; is \
in<br> &gt; reality /usr/bin/gcc-4.2. And in your case, /usr/bin/gcc-4.0 does not<br>
&gt; work, because it doesn&#39;t find the dynamic libraries it needs. Fink then<br>
&gt; concludes that it is too old, which is of course not very intelligent.<br>
&gt;<br>
&gt; Maybe someone else has an idea.<br>
&gt;<br>
&gt; Anyway, reinstalling the xcode tools might repair your gcc-4.0, although<br>
&gt; I doubt that /usr/lib/libiconv.2.dylib is installed from the xcode<br>
&gt; tools. It is part of the base system, I believe.<br>
&gt;<br>
<br>
</div>On 10.6.4 I have:<br>
$ /usr/bin/file /usr/lib/libiconv.2.dylib<br>
<div class="im">/usr/lib/libiconv.2.dylib: Mach-O universal binary with 3 \
architectures<br> </div>/usr/lib/libiconv.2.dylib (for architecture x86_64):    \
Mach-O 64-bit<br> <div class="im">dynamically linked shared library x86_64<br>
</div><div class="im">/usr/lib/libiconv.2.dylib (for architecture i386):      Mach-O \
dynamically<br> linked shared library i386<br>
/usr/lib/libiconv.2.dylib (for architecture ppc7400):   Mach-O dynamically<br>
linked shared library ppc<br>
</div>$ ls -l /usr/lib/libiconv.2.dylib<br>
- -r-xr-xr-x 1 root wheel 3205760 2010-02-10 23:49 /usr/lib/libiconv.2.dylib<br>
$ pkgutil --file-info /usr/lib/libiconv.2.dylib<br>
volume: /<br>
path: /usr/lib/libiconv.2.dylib<br>
<br>
pkgid: com.apple.pkg.BaseSystem<br>
pkg-version: 10.6.0.1.1.1249291854<br>
install-time: 1282520957<br>
uid: 0<br>
gid: 0<br>
mode: 644<br>
<br>
pkgid: com.apple.pkg.update.os.10.6.4.combo<br>
pkg-version: 1.0.1.1249367152<br>
install-time: 1282528670<br>
uid: 0<br>
gid: 0<br>
mode: 555<br>
<br>
And even on 10.5.8, libiconv.2.dylib is supposed to be fat (it&#39;s even<br>
fatter, in fact, because it has ppc64).  Could you have installed<br>
something from a third-party source which overwrote the system&#39;s<br>
libiconv (and perhaps other libraries)?<br>
<br>
<br>
I&#39;d recommend at the very least manually re-downloading the 10.6.4 Combo<br>
update (since Software Update won&#39;t see it any more).  Then run<br>
<br>
sudo pkgutil --forget com.apple.pkg.update.os.10.6.4.combo<br>
<br>
to unregister it.  Then reinstall the update from your download, and use<br>
<div class="im"><br>
file /usr/lib/libiconv.2.dylib<br>
<br>
</div>again to make sure that it has all three architectures in it.<br>
- --<br>
Alexander Hansen<br>
Fink User Liaison<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (Darwin)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" \
target="_blank">http://enigmail.mozdev.org/</a><br> <br>
iEYEARECAAYFAkyiNuQACgkQB8UpO3rKjQ9DaACeO8ZToRMWc4rjns259LUG0bdO<br>
2ScAnifFGIsAKZmDlOLuIC4yzNOT46V2<br>
=ziKf<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br><br clear="all"><br>-- <br>&quot;The obvious goal of any \
bacterium is to become bacteria.&quot;<div><div><br>Lizzy Wilbanks</div><div>Graduate \
Student, Eisen and Facciotti Labs</div><div>UC Davis, Microbiology Graduate \
Group</div>

</div><br>



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev

_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic