Bug 2029565

Summary: Running gvpack fails with gvpack: error while loading shared libraries: libgvplugin_neato_layout.so.6: cannot open shared object file: No such file or directory
Product: Red Hat Enterprise Linux 9 Reporter: Jaroslav Škarvada <jskarvad>
Component: graphvizAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: Ondrej Mejzlik <omejzlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: alex, extras-qa, jima, jpazdziora, jskarvad, link, tremble
Target Milestone: rcKeywords: Patch, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: graphviz-2.44.0-25.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1838679
: 2061305 (view as bug list) Environment:
Last Closed: 2022-05-17 13:45:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1838679    
Bug Blocks: 2061305    

Description Jaroslav Škarvada 2021-12-06 19:02:10 UTC
+++ This bug was initially created as a clone of Bug #1838679 +++

Description of problem:

Running gvpack fails with

gvpack: error while loading shared libraries: libgvplugin_neato_layout.so.6: cannot open shared object file: No such file or directory

Version-Release number of selected component (if applicable):

graphviz-2.42.4-1.fc32.x86_64

How reproducible:

Deterministic.

Steps to Reproduce:
1. gvpack

Actual results:

gvpack: error while loading shared libraries: libgvplugin_neato_layout.so.6: cannot open shared object file: No such file or directory

Expected results:

No error.

Additional info:

I can make the error go away by

ln -s /usr/lib64/graphviz/libgvplugin_neato_layout.so.6 /usr/lib64/libgvplugin_neato_layout.so.6

--- Additional comment from Fedora Program Management on 2021-04-29 18:27:05 CEST ---

This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

--- Additional comment from Jan Pazdziora on 2021-05-04 11:02:06 CEST ---

The issue is still present on Fedora 33:

# rpm -q graphviz
graphviz-2.44.0-14.fc33.1.x86_64
# gvpack
gvpack: error while loading shared libraries: libgvplugin_neato_layout.so.6: cannot open shared object file: No such file or directory

--- Additional comment from Ben Cotton on 2021-11-04 15:04:35 CET ---

This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

--- Additional comment from Ben Cotton on 2021-11-04 15:33:37 CET ---

This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

--- Additional comment from Ben Cotton on 2021-11-04 16:31:25 CET ---

This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

--- Additional comment from Jan Pazdziora on 2021-11-14 14:48:12 CET ---

Issue is still present on Fedora 35:

# rpm -qf /usr/bin/gvpack
graphviz-2.48.0-3.fc35.x86_64
# gvpack
gvpack: error while loading shared libraries: libgvplugin_neato_layout.so.6: cannot open shared object file: No such file or directory

Is there some additional information needed to get this fixed?

--- Additional comment from Jaroslav Škarvada on 2021-11-23 17:27:06 CET ---

Upstream ticket:
https://gitlab.com/graphviz/graphviz/-/issues/1838

--- Additional comment from Jaroslav Škarvada on 2021-11-23 18:55:50 CET ---

The problem is that it's linking the neato lib dynamically and simultaneously loading it at runtime as a plugin. If it is plugin, it shouldn't be accessible to the linker.

I resolved it the dirty way and statically linked the neato bits to the gvpack. Upstream should restructure the code.

--- Additional comment from Fedora Update System on 2021-11-23 19:36:36 CET ---

FEDORA-2021-ca5a742fc0 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ca5a742fc0

--- Additional comment from Fedora Update System on 2021-11-23 19:39:28 CET ---

FEDORA-2021-ca5a742fc0 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

--- Additional comment from Fedora Update System on 2021-11-23 21:41:10 CET ---

FEDORA-2021-450cf3c9ae has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-450cf3c9ae

--- Additional comment from Fedora Update System on 2021-11-24 02:57:43 CET ---

FEDORA-2021-450cf3c9ae has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-450cf3c9ae`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-450cf3c9ae

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

--- Additional comment from Fedora Update System on 2021-11-26 02:22:30 CET ---

FEDORA-2021-450cf3c9ae has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 errata-xmlrpc 2022-05-17 13:45:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: graphviz), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2578