-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Julia v0.7 is "linked" to unversioned libraries #28564
Comments
@ronisbr FYI http://debomatic-amd64.debian.net/distribution#unstable/julia/0.7.0-1/contents Debian's julia package ships a set of symlinks (no soversion in name) which point to versioned libraries. Go to the bottom part of the above link and you will find it out. I haven't observed problem so far. |
In openSUSE, libraries links without soversion are consider development files. In fact, in Julia v0.7, those symlinks are using the versioned files (like Moreover, I am not sure if it is good to link Julia to unversioned libraries. Let's say a library receives a major update that broke API. Then, Julia will also break until it is built against this new version. Hence, the devs already took care of this (since the aforementioned symlinks are pointing to versioned libraries). However, I am wondering if those symlinks can be renamed to contain the version. |
@ronisbr First, Julia will try to load ( Second, libjulia.so is not linked against the bunch of shared objects. Julia use them via
Third, I don't think unversioned shared objects or symlinks in any private directory should be considered as any kind of development file. Debian's package checker |
Hi @cdluminate ,
OK, I will verify what are the reasons for this warning with openSUSE devs. Thanks! |
@ronisbr In case if you need a citation, have a look at this part of Debian policy https://www.debian.org/doc/debian-policy/upgrading-checklist.html#version-4-1-2 and the And this is the content of Debian's libjulia0.7 package:
|
Oops ... I caught a package bug ... Orz |
Yes, exactly. I added these indirection files specifically to avoid this and be friendlier to distribution package developers such as yourself (cf. fix #24796 and issue #6742 and announcement at https://discourse.julialang.org/t/psa-for-julia-system-package-builders/7827). Since we're calling dlopen on the files, these links give us a level of indirection to ensure that we pick the specific version during compilation, and then will always see that file first in our |
Thanks @vtjnash I will report your rationale to openSUSE devs so that those "errors" can be neglected. |
Hi guys!
I am creating the package for julia 0.7 / 1.0 in openSUSE. However, I notice that it requires some unversioned library files inside the directory
/usr/lib64/julia
. I am not really sure if this is a good thing. rpmlint is giving me the following errors:All those files are symbolic links to the one in
/usr/lib64
. Question: can we change this so that the library version is included in the name?The text was updated successfully, but these errors were encountered: