From: Fred Ollinger <Fred.Ollinger@seescan.com>
To: Nathan Sowatskey <nathan@nathan.to>,
"Burton, Ross" <ross.burton@intel.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: libgcc_s not present in Yocto image
Date: Fri, 5 Feb 2016 18:00:09 +0000 [thread overview]
Message-ID: <1454695095703.96261@seescan.com> (raw)
In-Reply-To: <30E23744-25E6-43C3-A831-A8195E8787C9@nathan.to>
What are results of:
$ file testprog
Frederick
________________________________________
From: Nathan Sowatskey <nathan@nathan.to>
Sent: Friday, February 5, 2016 9:47 AM
To: Burton, Ross
Cc: yocto@yoctoproject.org; Fred Ollinger
Subject: Re: [yocto] libgcc_s not present in Yocto image
Hi Ross
Many thanks for following up. Fred also offered some helpful suggestions in a different thread.
The program in question was supplied to me by a third party for testing, so I shall obscure the name here and call it testprog.
It was installed by:
dpkg -i ./testprog.deb
Where the .deb file was supplied to me. I don’t know what that was built on though.
Then:
which testprog
/usr/bin/testprog
/usr/bin/testprog
-sh: /usr/bin/testprog: No such file or directory
Then I:
readelf -a /usr/bin/testprog | grep Shared
0x0000000000000001 (NEEDED) Shared library: [libsnmp.so.30]
0x0000000000000001 (NEEDED) Shared library: [libQt5Network.so.5]
0x0000000000000001 (NEEDED) Shared library: [libQt5SerialPort.so.5]
0x0000000000000001 (NEEDED) Shared library: [libQt5Core.so.5]
0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6]
0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
Followed by:
find /usr/lib -name libQt5Network.so.5
/usr/lib/libQt5Network.so.5
So, I have that lib.
find /usr/lib -name libgcc_s.so.1
root@qemux86-64:~#
I don’t have that lib.
With ldd I get:
ldd /usr/bin/testprog
/usr/bin/ldd: line 117: /usr/bin/testprog: No such file or directory
So, that’s where I am at this stage.
Regards
Nathan
> On 5 Feb 2016, at 16:50, Burton, Ross <ross.burton@intel.com> wrote:
>
>
> On 5 February 2016 at 15:24, Nathan Sowatskey <nathan@nathan.to> wrote:
> I suspect that my test program, which was supplied to me as a .deb package, was compiled on Ubuntu, and so links to libgcc_s.so.1. I can’t see any obvious way to get libgcc_s.so.1 on Yocto. I already have:
>
> libgcc contains /lib/libgcc_s.so.1, so it should be installed in your image already:
>
> How are you determining that it isn't in your image, and that your application doesn't work?
>
> Ross
next prev parent reply other threads:[~2016-02-05 18:00 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-05 11:40 libgcc_s not present in Yocto image Nathan Sowatskey
2016-02-05 11:51 ` Tanu Kaskinen
2016-02-05 11:59 ` Burton, Ross
2016-02-05 15:24 ` Nathan Sowatskey
2016-02-05 15:50 ` Burton, Ross
2016-02-05 16:52 ` Richard Purdie
2016-02-05 17:47 ` Nathan Sowatskey
2016-02-05 17:56 ` Burton, Ross
2016-02-05 18:06 ` Fred Ollinger
2016-02-05 18:09 ` Nathan Sowatskey
2016-02-05 18:10 ` Fred Ollinger
2016-02-05 18:12 ` Nathan Sowatskey
2016-02-05 18:18 ` Fred Ollinger
2016-02-05 18:22 ` Nathan Sowatskey
2016-02-05 18:21 ` Khem Raj
2016-02-05 18:23 ` Nathan Sowatskey
2016-02-05 18:26 ` Khem Raj
2016-02-05 19:00 ` Nathan Sowatskey
2016-02-05 19:53 ` Burton, Ross
2016-02-05 19:56 ` Khem Raj
2016-02-05 20:46 ` Burton, Ross
2016-02-05 20:49 ` Khem Raj
2016-02-06 6:43 ` Nathan Sowatskey
2016-02-06 7:36 ` Nathan Sowatskey
2016-02-06 7:51 ` Khem Raj
2016-02-06 17:07 ` Nathan Sowatskey
2016-02-06 17:42 ` Khem Raj
2016-02-05 18:00 ` Fred Ollinger [this message]
2016-02-05 18:06 ` Nathan Sowatskey
2016-02-05 15:29 ` Nathan Sowatskey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1454695095703.96261@seescan.com \
--to=fred.ollinger@seescan.com \
--cc=nathan@nathan.to \
--cc=ross.burton@intel.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.