FS#47142 - [julia] ld.so.conf.d/julia.conf overrides libraries in /usr/lib

Attached to Project: Community Packages
Opened by sven (commonuser) - Sunday, 22 November 2015, 01:59 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 14 December 2015, 23:22 GMT
Task Type General Gripe
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

While debugging an issue with libgit2, I saw I'm not debugging the version I thought I would.
Turned out it was not the one in /usr/lib, but rather the one Julia provided.

For example:
libgit2.so.23 => /usr/lib/julia/libgit2.so.23 (0x00007fa237429000)
libssl.so.1.0.0 => /usr/lib/julia/libssl.so.1.0.0 (0x00007fa23635f000)
libcrypto.so.1.0.0 => /usr/lib/julia/libcrypto.so.1.0.0 (0x00007fa235ee8000)

Is this intended?
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Monday, 14 December 2015, 23:22 GMT
Reason for closing:  Fixed
Comment by Alexander F. Rødseth (xyproto) - Sunday, 22 November 2015, 21:49 GMT
The ideal is to use as many system libraries as possible. This is an ongoing process. When julia was first moved to [community] it was impossible to make it compile without enabling several of the libraries that comes with Julia, due to version incompatibilities.

If Julia can now be built with more of the system libraries, then that's even better.

The short answer is "yes".
Comment by Doug Newgard (Scimmia) - Sunday, 22 November 2015, 21:55 GMT
The problem here is that when some other program is linked to libgit2.so.23, the linker loads Julia's version instead of the system version. This can't be intended.
Comment by Sun Ning (sunng) - Tuesday, 24 November 2015, 08:30 GMT
Agree with Doug.
This is a critical issue that Julia overrides system's Openssl version, causing some unexpected behaviors.
Comment by Alexander F. Rødseth (xyproto) - Monday, 14 December 2015, 21:40 GMT
I see. Will fix.

Loading...