DEV Community

Metin KOC
Metin KOC

Posted on

1

Rpm package install problem

Hi Everyone,
I cross-compiled my own program on centos. After that packaged the output with rpmbuild. You can see the file tree in the following lines. But when I want to install it to yocto build image on the device, It gives an error like this. But libQt5Positioning.so.5 is on the device. What is the problem?

root@obu:~# dnf install obu-fs-1.el7.cortexa9hf_neon.rpm Error: Problem: conflicting requests - nothing provides libQt5Positioning.so.5 needed by obu-fs-1.el7.cortexa9hf_neon

metin@ubuntu:~$ rpm2cpio ./obu-fs-1.el7.cortexa9hf_neon.rpm | cpio -idmv ./opt/test/aa ./opt/test/aa/bin ./opt/test/aa/bin/XX.OBU ./opt/test/aa/configs ./opt/test/aa/configs/AppSettings_XXOBU.json ./opt/test/aa/configs/LogConfig_XX.OBU.json ./opt/test/aa/plugins ./opt/test/aa/plugins/logTargets ./opt/test/aa/plugins/logTargets/libLogTargetConsole.so ./opt/test/aa/plugins/logTargets/libLogTargetFile.so ./opt/test/aa/plugins/logTargets/libLogTargetSyslog.so ./opt/test/aa/plugins/logTargets/libLogTargetUDP.so 2366 blocks

Image of Datadog

The Future of AI, LLMs, and Observability on Google Cloud

Datadog sat down with Google’s Director of AI to discuss the current and future states of AI, ML, and LLMs on Google Cloud. Discover 7 key insights for technical leaders, covering everything from upskilling teams to observability best practices

Learn More

Top comments (1)

Collapse
 
saucompeng profile image
Metin KOC

Answer from reddit:

reddit.com/r/CentOS/comments/gco8k...

You do not have system rpm that provide libQt5Positioning.so.5

You have two options

build rpm without requires libQt5Positioning.so.5 by disable rpm autoreq engine.

build libqt rpms

Another way to force install

rpm -ivh --nodeps obu-fs-1.el7.cortexa9hf_neon.rpm

or

rpm -ivh --force obu-fs-1.el7.cortexa9hf_neon.rpm

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay