Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655072 - dev-lang/julia: could not load library "/usr/bin/../lib/julia/sys.so" on 17.1 profile
Summary: dev-lang/julia: could not load library "/usr/bin/../lib/julia/sys.so" on 17.1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-06 12:29 UTC by Jeffrey Lin
Modified: 2018-07-01 04:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (xxxxx,6.38 KB, text/plain)
2018-05-06 12:29 UTC, Jeffrey Lin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Lin 2018-05-06 12:29:40 UTC
Created attachment 530178 [details]
emerge --info

If using the 17.1 profile, a runtime error occurs:

ERROR: could not load library "/usr/bin/../lib/julia/sys.so"
/usr/bin/../lib/julia/sys.so: cannot open shared object file: No such file or directory

It seems to be because the ebuild installs the julia directory to /usr/lib64, but `julia` expects it to be in /usr/lib (lib32).

As a temporary workaround, creating the symlink  /usr/lib/julia -> ../lib64/julia  allows the program to run properly.


# eselect profile show
Current /etc/portage/make.profile symlink:
  default/linux/amd64/17.1
Comment 1 Larry the Git Cow gentoo-dev 2018-07-01 04:49:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=590f14b4730f928ab7773f8d7ad5d8bf1a12817c

commit 590f14b4730f928ab7773f8d7ad5d8bf1a12817c
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2018-07-01 04:32:31 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2018-07-01 04:49:04 +0000

    dev-lang/julia: fix library installation path
    
    Closes: https://bugs.gentoo.org/655072
    Package-Manager: Portage-2.3.41, Repoman-2.3.9

 .../julia/files/julia-0.6.3-fix_build_system.patch | 96 ++++++++++++++++++++++
 .../{julia-0.6.3.ebuild => julia-0.6.3-r1.ebuild}  | 12 +--
 2 files changed, 98 insertions(+), 10 deletions(-)