-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ldconfig produces erroneous links for liborc and liborc-test #3
Comments
Thanks @mbargull
According to the packaging over at https://github.com/conda-forge/libvips-feedstock, which uses I am aware that the information provided may add little to the troubleshooting of this problem but It don't know where to start. Did it help you in any sense? |
Maybe this patch will fix this: diff --git a/orc/meson.build b/orc/meson.build
index 1111111..2222222 100644
--- a/orc/meson.build
+++ b/orc/meson.build
@@ -109,7 +109,8 @@ orc_lib = library ('orc-' + orc_api,
include_directories : orc_inc,
c_args : orc_c_args + ['-DBUILDING_ORC'],
dependencies : orc_dependencies,
- install : true)
+ install : true,
+ install_rpath : join_paths(get_option('prefix'), get_option('libdir'))
orc_dep_cargs = []
if get_option('default_library') == 'static' See: conda-forge/glib-feedstock#40 (comment) and https://github.com/conda-forge/glib-feedstock/blob/master/recipe/meson-rpaths.patch. Note that the libdir argument within |
Many thanks @kleisauke @mbargull please let us know your thoughts. |
fwiw, libvips' orc version should be pinned to |
Sounds good. Thank you both for giving context on the causes and providing the patch! |
So, I'm no expert on Meson or GStreamer, so help me out on this:
|
Did someone try to could come up with a MWE for mesonbuild/meson#4685 ? Minimal in the sense that it does not depend on conda-forge's build setup/ |
Thanks @mbargull I agree. For the time being I have opened an issue on gstreamer-orc repo to discuss it: |
An alternative way is to patch the meson-feedstock. See for example this patch: (I've added a comment here to discuss this) |
ldconfig
does something funky with the libraries, creating links named'\'
and$'\003'
.Interestingly enough, I couldn't reproduce that on my host OS but could -- albeit with the same
glibc
version -- in afedora:31
container:I have no idea what the cause of this is.
xref: conda-forge/libvips-feedstock#4 (comment)
The text was updated successfully, but these errors were encountered: