Thanks. After I linked the libraries with the following command, my program
builds and runs properly again.

ln -s /lib/libgcc_s.so.1 /lib/libgcc_s.so

On Sat, Nov 27, 2010 at 2:08 AM, Koen Kooi <[email protected]>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 27-11-10 00:45, William C Bonner wrote:
> > Is there any workaround that I can use on my GCC command line while I
> wait
> > for the problem to get fixed?  (Otherwise I'm going to have to roll back
> my
> > system to the last backup that worked.)
> >
> > Thanks for the feedback that I'm not entirely losing my mind.
>
> Just symlink /lib/libgcc_s.so.1 to /lib/libgcc_s.so
>
> regards,
>
> Koen
>
> >
> > Wim.
> >
> > On Fri, Nov 26, 2010 at 12:56 PM, Koen Kooi <[email protected]
> >wrote:
> >
> > On 25-11-10 19:27, William C Bonner wrote:
> >>>> Please excuse me if this is not the correct forum. If not, please give
> me
> >>>> advice on where I should ask this question.
> >>>>
> >>>> This morning I did an *opkg update* followed by an *opkg upgrade*.
> >>>>
> >>>> Now my gcc compiler can't find the correct library. I was building my
> >>>> program just fine before I upgraded.
> >>>>
> >>>> When I compile my cpp program, I get this error:
> >>>>
> >>>>
> >
> /usr/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld:
> >>>> cannot find -lgcc_s
> >>>>
> >>>> If I go to
> > http://www.angstrom-distribution.org/repo/?pkgname=libgcc-s-dev I
> >>>> can see that there is a package that looks like it should fit the
> issue,
> > and
> >>>> I tried to install it:
> >>>>
> >>>> *~ # opkg install libgcc-s-dev*
> >>>> *Unknown package 'libgcc-s-dev'.*
> >>>> *Collected errors:*
> >>>> * * opkg_install_cmd: Cannot install package libgcc-s-dev.*
> >>>>
> >>>> I'm not overly familiar with opkg yet. Years ago I used rpm, and then
> > yum,
> >>>> so I've got experience with package managers, just not fresh
> experience.
> >
> > It's in libgcc-dev now, but it has a small bug:
> >
> > k...@dominion:/OE/angstrom-dev/deploy/glibc$ dpkg-deb -c
> > ipk/armv7a/libgcc1_4.3.3-r20.1.6_armv7a.ipk
> > -rw-r--r-- root/root     41284 2010-11-17 15:20 ./lib/libgcc_s.so.1
> > k...@dominion:/OE/angstrom-dev/deploy/glibc$ dpkg-deb -c
> > ipk/armv7a/libgcc-dev_4.3.3-r20.1.6_armv7a.ipk
> >
> > lrwxrwxrwx root/root         0 2010-11-18 12:07 ./usr/lib/libgcc_s.so ->
> > libgcc_s.so.1
> >
> > I've alerted our toolchain guru and I hope he comes up with a fix soon :)
> >
> > regards,
> >
> > Koen
> >>
> >>
> _______________________________________________
> Angstrom-distro-users mailing list
> [email protected]
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users
> >>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFM8NiBMkyGM64RGpERAslaAJ9VONta3DZMr2Lb73ML+FJVs69PjACfT5Gq
> Hf2jFbakjrhpbkGTj5Zdb8A=
> =rCaX
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Angstrom-distro-users mailing list
> [email protected]
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users
>
_______________________________________________
Angstrom-distro-users mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to