libnuvolaplayerprivate.so lib is found in two paths in the package

Asked by MartinKG

Hi Jiří,

we a working on a review of the nuvolaplayer 2.3.3 for Fedora 20 at:
https://bugzilla.redhat.com/show_bug.cgi?id=1039315#c36

A reviewer of the package found, that the libnuvolaplayerprivate.so was found twice in the path.
See the report below.

> Issues:
> =======
> - Development (unversioned) .so files in -devel subpackage, if present.
> Note: Unversioned so-files directly in %_libdir.
> See: http://fedoraproject.org/wiki/Packaging/Guidelines#DevelPackages

> Unversioned so-files
> --------------------
> nuvolaplayer: /usr/lib64/libnuvolaplayerprivate.so
> nuvolaplayer: /usr/lib64/nuvolaplayer/libnuvolaplayerprivate.so

Careful reviewing needed here. The DevelPackages guidelines try to cover this in the bottom half of that section.

Is this library needed at runtime as some sort of plugin library? If so, it must _not_ be stored in a -devel subpackage.

Also note that the lib is found in two paths: in runtime linker's search path, %_libdir, and in a private subdir that is not within runtime linker's search path, %_libdir/nuvolaplayer. Why is that? Are the files linked or copies of eachother?

> Requires
> --------
> nuvolaplayer (rpmlib, GLIBC filtered):
> …
> libnuvolaplayerprivate.so()(64bit)
> …

does nuvolaplayer need it twice ? and can you give me an answer, that can i post at bugzilla.
many thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Nuvola Apps Runtime (Nuvola Player) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jiří Janoušek (fenryxo) said :
#1

%libdir%/libnuvolaplayerprivate.so is installed as a symlink to %libdir%/nuvolaplayer/libnuvolaplayerprivate.so unless build proccess has been modified somehow. The libnuvolaplayerprivate.so is a private runtime library required by the nuvolaplayer binary. Right now, I'm not sure whtether the library has to be directly in %libdir to be found by the nuvolaplayer binary or %libdir/nuvolaplayer is enough. However, it is not considered to be used as a development library for third party plugins, hence the suffix "private".

Can you help with this problem?

Provide an answer of your own, or ask MartinKG for more information if necessary.

To post a message you must log in.