Skip to contentSkip to conversation

requires libsqlite3.so()(64bit), but no providers found in RDEPENDS:xxx? [file-rdeps] #kirkstone #yocto

DISCUSSION Altous, Salahaldeen 6 participants 10 messages May 14, 2024

lore
Share & tools
lore
#0 lore raw

Hi All,

I have one yocto recipe which is using libsqlite3, the compile task is OK but I got this error with do_package_qa

/usr/lib/libexample.so.0.2.3 contained in package example requires libsqlite3.so()(64bit), but no providers found in RDEPENDS:example.? [file-rdeps]

I have added this to the example recipe RDEPENDS but still the problem is not solved, any idea?

DEPENDS += " sqlite3"
RDEPENDS_${PN} += " libsqlite3.so()(64bit)"

Regards,

Salahaldeen

#1 lore raw

Can you show the complete recipe?

Alex

Quoted 37 lines · Salahaldeen via lists.yoctoproject.org

Hi All,

I have one yocto recipe which is using libsqlite3, the compile task is OK but I got this error with do_package_qa

/usr/lib/libexample.so.0.2.3 contained in package example requires libsqlite3.so()(64bit), but no providers found in RDEPENDS:example.? [file-rdeps]

I have added this to the example recipe RDEPENDS but still the problem is not solved, any idea?

DEPENDS += " sqlite3"
RDEPENDS_${PN} += " libsqlite3.so()(64bit)"

Regards,

Salahaldeen

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#63083):
https://lists.yoctoproject.org/g/yocto/message/63083
Mute This Topic: https://lists.yoctoproject.org/mt/106090753/1686489
Mute #kirkstone:
https://lists.yoctoproject.org/g/yocto/mutehashtag/kirkstone
Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

How about using the following setting?
RDEPENDS:${PN} += “sqlite3”

Regards,
Qi

From: [email protected] <[email protected]> On Behalf Of Alexander Kanavin
Sent: Tuesday, May 14, 2024 4:34 PM
To: [email protected]; [email protected]
Subject: Re: [yocto] requires libsqlite3.so()(64bit), but no providers found in RDEPENDS:xxx? [file-rdeps] #kirkstone #yocto

Can you show the complete recipe?

Alex

On Tue 14. May 2024 at 9.56, Altous, Salahaldeen via lists.yoctoproject.org<https://urldefense.com/v3/__http:/lists.yoctoproject.org__;!!AjveYdw8EvQ!eO_pOhB66A-tCePBTH62mvBSO1pjmPHgKJU88d0uBTcaaIQxnpreuCx-LEC_L30IGEsV7gr_DrB3xVNkWeYVA1XOR2w$> <[email protected]<mailto:[email protected]>> wrote:

Hi All,

I have one yocto recipe which is using libsqlite3, the compile task is OK but I got this error with do_package_qa

/usr/lib/libexample.so.0.2.3 contained in package example requires libsqlite3.so()(64bit), but no providers found in RDEPENDS:example.? [file-rdeps]

I have added this to the example recipe RDEPENDS but still the problem is not solved, any idea?

DEPENDS += " sqlite3"
RDEPENDS_${PN} += " libsqlite3.so()(64bit)"

Regards,

Salahaldeen

#3 lore raw

Hi Qi,

Quoted 15 lines · Chen Qi

How about using the following setting?

RDEPENDS:${PN} += “sqlite3”

I have added this (RDEPENDS_${PN} += "sqlite3") to the recipe but I see the same error!!

Quoted 114 lines

Regards,

Qi

*From:* [email protected] <[email protected]> *On Behalf Of* Alexander Kanavin
*Sent:* Tuesday, May 14, 2024 4:34 PM
*To:* [email protected]; [email protected] *Subject:* Re: [yocto] requires libsqlite3.so()(64bit), but no providers found in RDEPENDS:xxx? [file-rdeps] #kirkstone #yocto

Can you show the complete recipe?

Alex

On Tue 14. May 2024 at 9.56, Altous, Salahaldeen via lists.yoctoproject.org (
https://urldefense.com/v3/__http:/lists.yoctoproject.org__;!!AjveYdw8EvQ!eO_pOhB66A-tCePBTH62mvBSO1pjmPHgKJU88d0uBTcaaIQxnpreuCx-LEC_L30IGEsV7gr_DrB3xVNkWeYVA1XOR2w$

Quoted 48 lines · ) <Salahaldeen.Altous= [email protected] > wrote:

Hi All,

I have one yocto recipe which is using libsqlite3, the compile task is OK but I got this error with do_package_qa

/usr/lib/libexample.so.0.2.3 contained in package example requires libsqlite3.so()(64bit), but no providers found in RDEPENDS:example.? [file-rdeps]

I have added this to the example recipe RDEPENDS but still the problem is not solved, any idea?

DEPENDS += " sqlite3"
RDEPENDS_${PN} += " libsqlite3.so()(64bit)"

Regards,

Salahaldeen

#4 lore raw

You need to show what you're building too. Can you share the log.do_configure/compile/install?

Alex

Quoted 72 lines · Salahaldeen via lists.yoctoproject.org

Hi Qi,

On Tue, May 14, 2024 at 01:42 AM, Chen Qi wrote:

How about using the following setting?

RDEPENDS:${PN} += “sqlite3”

I have added this (RDEPENDS_${PN} += "sqlite3") to the recipe but I see the same error!!

Regards,

Qi

From: [email protected] <[email protected]> On Behalf Of Alexander Kanavin
Sent: Tuesday, May 14, 2024 4:34 PM
To: [email protected]; [email protected]
Subject: Re: [yocto] requires libsqlite3.so()(64bit), but no providers found in RDEPENDS:xxx? [file-rdeps] #kirkstone #yocto

Can you show the complete recipe?

Alex

On Tue 14. May 2024 at 9.56, Altous, Salahaldeen via lists.yoctoproject.org <[email protected]> wrote:

Hi All,

I have one yocto recipe which is using libsqlite3, the compile task is OK but I got this error with do_package_qa

/usr/lib/libexample.so.0.2.3 contained in package example requires libsqlite3.so()(64bit), but no providers found in RDEPENDS:example.? [file-rdeps]

I have added this to the example recipe RDEPENDS but still the problem is not solved, any idea?

DEPENDS += " sqlite3"
RDEPENDS_${PN} += " libsqlite3.so()(64bit)"

Regards,

Salahaldeen

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63087): https://lists.yoctoproject.org/g/yocto/message/63087
Mute This Topic: https://lists.yoctoproject.org/mt/106090753/1686489
Mute #kirkstone:https://lists.yoctoproject.org/g/yocto/mutehashtag/kirkstone Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw
In reply to Altous, Salahaldeen

Try to read log.do_package to see why shlibs code in do_package didn't automatically add correct runtime dependency.

My guess is that you're incorrectly linking with libsqlite3.so instead of libsqlite3.so.<major-version>. Possibly some hardcoded junk in the component itself.

Quoted 72 lines · Salahaldeen via lists.yoctoproject.org

Hi Qi,

On Tue, May 14, 2024 at 01:42 AM, Chen Qi wrote:

How about using the following setting?

RDEPENDS:${PN} += “sqlite3”

I have added this (RDEPENDS_${PN} += "sqlite3") to the recipe but I see the same error!!

Regards,

Qi

From: [email protected] <[email protected]> On Behalf Of Alexander Kanavin
Sent: Tuesday, May 14, 2024 4:34 PM
To: [email protected]; [email protected]
Subject: Re: [yocto] requires libsqlite3.so()(64bit), but no providers found in RDEPENDS:xxx? [file-rdeps] #kirkstone #yocto

Can you show the complete recipe?

Alex

On Tue 14. May 2024 at 9.56, Altous, Salahaldeen via lists.yoctoproject.org <[email protected]> wrote:

Hi All,

I have one yocto recipe which is using libsqlite3, the compile task is OK but I got this error with do_package_qa

/usr/lib/libexample.so.0.2.3 contained in package example requires libsqlite3.so()(64bit), but no providers found in RDEPENDS:example.? [file-rdeps]

I have added this to the example recipe RDEPENDS but still the problem is not solved, any idea?

DEPENDS += " sqlite3"
RDEPENDS_${PN} += " libsqlite3.so()(64bit)"

Regards,

Salahaldeen

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63087): https://lists.yoctoproject.org/g/yocto/message/63087
Mute This Topic: https://lists.yoctoproject.org/mt/106090753/3617156
Mute #kirkstone:https://lists.yoctoproject.org/g/yocto/mutehashtag/kirkstone Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#6 lore raw
In reply to Alexander Kanavin

Hi Alex,

Quoted 4 lines · Alexander Kanavin

Can you show the complete recipe?

inherit component-versions
inherit cmake

SRC_URI = "${GIT_URI_YOCTO}${EXT_EXAMPLE_GIT_URI};protocol=ssh;branch=${EXT_EXAMPLE_GIT_BRANCH}"

PV = "${SRCREV}+git${SRCPV}"
#SRCREV = "${AUTOREV}"
SRCREV = "${EXT_EXAMPLE_GIT_TAG}"

S = "${WORKDIR}/git"

DEPENDS += " sqlite3"
RDEPENDS_${PN} += " libsqlite3.so()(64bit)"

SKIPTESTS = "true"
export SKIPTESTS

EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON "

Regards,

Salah

Quoted 56 lines

Alex

On Tue 14. May 2024 at 9.56, Altous, Salahaldeen via lists.yoctoproject.org
( http://lists.yoctoproject.org ) <Salahaldeen.Altous= [email protected]

Quoted 46 lines

wrote:

Hi All,

I have one yocto recipe which is using libsqlite3, the compile task is OK but I got this error with do_package_qa

/usr/lib/libexample.so.0.2.3 contained in package example requires libsqlite3.so()(64bit), but no providers found in RDEPENDS:example.? [file-rdeps]

I have added this to the example recipe RDEPENDS but still the problem is not solved, any idea?

DEPENDS += " sqlite3"
RDEPENDS_${PN} += " libsqlite3.so()(64bit)"

Regards,

Salahaldeen

#7 lore raw
In reply to Altous, Salahaldeen
Quoted 8 lines · Salahaldeen via lists.yoctoproject.org

Hi All,
I have one yocto recipe which is using libsqlite3, the compile task is OK but I got this error with do_package_qa /usr/lib/libexample.so.0.2.3 contained in package example requires libsqlite3.so()(64bit), but no providers found in RDEPENDS:example.? [file-rdeps]

I have added this to the example recipe RDEPENDS but still the problem is not solved, any idea? DEPENDS += " sqlite3"
RDEPENDS_${PN} += " libsqlite3.so()(64bit)”

Does this recipe contain precompiled binaries?

Ross

#8 lore raw
Quoted 11 lines · Ross Burton
Quoted 7 lines · Salahaldeen via lists.yoctoproject.org

Hi All,
I have one yocto recipe which is using libsqlite3, the compile task is OK but I got this error with do_package_qa /usr/lib/libexample.so.0.2.3 contained in package example requires libsqlite3.so()(64bit), but no providers found in RDEPENDS:example.? [file-rdeps]

Quoted 6 lines
Quoted 4 lines

I have added this to the example recipe RDEPENDS but still the problem is not solved, any idea?
DEPENDS += " sqlite3"
RDEPENDS_${PN} += " libsqlite3.so()(64bit)”

Does this recipe contain precompiled binaries?

No, I build this example library as shared lib from source

Quoted 2 lines

Ross

Regards,

Salah

#9 lore raw
In reply to Altous, Salahaldeen
Quoted 6 lines · Salahaldeen via lists.yoctoproject.org

Hi All,

I have one yocto recipe which is using libsqlite3, the compile task is OK but I got this error with do_package_qa

/usr/lib/libexample.so.0.2.3 contained in package example requires libsqlite3.so()(64bit), but no providers found in RDEPENDS:example.? [file-rdeps]

Generally the linker should link in versioned solib, libsqlite3 provides libsqlite3.so.0 and shlibs solver will automatically resolve that
so I would suggest to look into this package and check how its linking with libsqlite and fix it

Quoted 26 lines

I have added this to the example recipe RDEPENDS but still the problem is not solved, any idea?

DEPENDS += " sqlite3"
RDEPENDS_${PN} += " libsqlite3.so()(64bit)"

Regards,

Salahaldeen

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#63083): https://lists.yoctoproject.org/g/yocto/message/63083
Mute This Topic: https://lists.yoctoproject.org/mt/106090753/1997914
Mute #kirkstone:https://lists.yoctoproject.org/g/yocto/mutehashtag/kirkstone Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-