($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: eremenok.k.by@gmail.com
To: meta-freescale@lists.yoctoproject.org
Subject: ldconfig library is detected as ELF (not as libc6)
Date: Mon, 25 Jan 2021 06:38:15 -0800	[thread overview]
Message-ID: <nrax.1611585495207027450.6rAg@lists.yoctoproject.org> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 878 bytes --]

Hi there.
I have two own library which is used by own app. Libraries is witten at Qt for IMX6 based device.
First library: /opt/lts/lib/libmultimedia.so it works fine.

Second  library: /opt/lts/lib/libhwconfig.so (attached)

Problem: application doesn't see the library after installing software unlit I execute ldconfig

When I tried to find where the problem came frome I found next:

After installing software I inspected /etc/ld.so.cache and found next:

ldconfig -p |grep 'hw\|multi'

libmultimedia.so.1 (libc6) => /opt/lts/lib/libmultimedia.so.1

libmultimedia.so (libc6) => /opt/lts/lib/libmultimedia.so

libhwconfig.so.1 (ELF) => /opt/lts/lib/libhwconfig.so.1

libhwconfig.so (ELF) => /opt/lts/lib/libhwconfig.so

So the problem is that the libmultimedia.so.1 is detected as libc6, but libhwconfig.so  is detected as ELF.

How can I fix it?

[-- Attachment #1.2: Type: text/html, Size: 1617 bytes --]

[-- Attachment #2: libhwconfig.so.1.0.0 --]
[-- Type: application/octet-stream, Size: 518428 bytes --]

                 reply	other threads:[~2021-01-25 14:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=nrax.1611585495207027450.6rAg@lists.yoctoproject.org \
    --to=eremenok.k.by@gmail.com \
    --cc=meta-freescale@lists.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).