Re: Graphviz-13.1.2 in 12.4 has issues with " -D CMAKE_SKIP_INSTALL_RPATH=ON"
"Xi Ruoyao" ([email protected] via blfs-support Mailing List) <[email protected]> Tue, 21 Oct 2025 10:31:17 +0800
| Newsgroups | gmane.linux.lfs.beyond.support |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 2025-10-21 at 09:51 +0800, Xi Ruoyao wrote: > On Mon, 2025-10-20 at 23:41 +0000, Richard wrote: > > If you set this flag on build, gvpack and dot_builtins can't run. If you > > leave out " -D CMAKE_SKIP_INSTALL_RPATH=ON", they run fine. > > Perhaps another case where you need to use environment variable to tell the > > programs that plugins are in /usr/lib/graphviz directory? > > No, here rpath is better than an environment variable and we just > shouldn't skip rpath. > > The problem here is we don't want the redundant and bad rpath in > libgvc.so and libgvpr.so, but we want the really needed rpath in gvpack, > dot_builtins, etc. > > I'll remove the CMAKE_SKIP_INSTALL_RPATH option as I cannot see how to > achieve the "best" result above. Alright, I hacked the rpath of libgvc.so and libgvpr.so away with a sed. The book is just updated. -- Xi Ruoyao <[email protected]> -- http://lists.linuxfromscratch.org/sympa/info/blfs-support Unsubscribe: See the above information page