Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Transient library dependency causes icommands build failure during manpage generation when building against non-package installs in nonstandard locations #5311

@SwooshyCueb

Description

@SwooshyCueb
  • master
  • 4-2-stable

When building icommands against a non-package install in a non-default prefix/DESTDIR, failure occurs while generating the manpages.

This is because we use the help output of the icommands to generate the manpages, and some of the icommands fail to run due to the runtime linker not being able to find all the needed libraries.

In most (probably all) cases, this is due to a transient-only dependency on libirods_plugin_dependencies.so.[SOVERSION], which comes from a direct dependency on libirods_client.so.[SOVERSION]. The runtime linker can find libirods_client.so.[SOVERSION] just fine due to the runpath in the icommand, but since the runpath in libirods_client.so.[SOVERSION] does not include its own directory, the runtime linker can't find libirods_plugin_dependencies.so.[SOVERSION].

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions