Bug 1764797 - ERROR: error compiling cfunction_: could not load library "libjulia"
Summary: ERROR: error compiling cfunction_: could not load library "libjulia"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: julia
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milan Bouchet-Valat
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-23 18:15 UTC by Alex
Modified: 2019-11-17 01:30 UTC (History)
2 users (show)

Fixed In Version: julia-1.2.0-3.1.fc31
Clone Of:
Environment:
Last Closed: 2019-11-17 01:30:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Error output. Rather long and seems to be repeated. (4.62 KB, text/plain)
2019-10-23 18:15 UTC, Alex
no flags Details

Description Alex 2019-10-23 18:15:13 UTC
Created attachment 1628584 [details]
Error output. Rather long and seems to be repeated.

Description of problem:

When using Images.jl and ImageView.jl, there seems to be an issue viewing images with imshow(...). I am using this with toolbox on Fedora 31 silverblue. 

Basically the GUI window pops up, but no image. I do have Plots.jl working so I don't think its a QT or GTK issue. 

Version-Release number of selected component (if applicable):

Version 1.2.0 (2019-08-20)
Fedora 31 build

How reproducible:
easy

Steps to Reproduce:
Assuming you are in the Julia REPL
1. ]
2. add Images ImageView
3. using Images
4. using ImageView
5. **Read some image with im = load(...) or make a 2D array e.g. im = rand(128,128)**
6. imshow(im)
7. See error...

Actual results:
See attachment for full error, but in short ERROR: error compiling cfunction_: could not load library "libjulia"
libjulia.so: cannot open shared object file: No such file or directory


Expected results:

A window with the image. See: https://juliaimages.org/latest/imagesegmentation/

Additional info:

N/A

Comment 1 Alex 2019-10-23 18:26:43 UTC
Tested using pre-built binaries from https://julialang.org/downloads/ and everything seems good.

Reproduce (Starting in the REPL): 

1. using ImageView
2. img = ones(128,128)
3. imshow(img)
4. See window with image.

So it seems that libjulia.so needs to be linked to for the fedora build?

Comment 2 Fedora Update System 2019-11-07 08:50:17 UTC
FEDORA-2019-da5c53481b has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-da5c53481b

Comment 3 Milan Bouchet-Valat 2019-11-07 08:51:18 UTC
Good catch. That's because libjulia.so is only included in the julia-devel package. I've pushed a fix, please confirm that it works for you.

Comment 4 Fedora Update System 2019-11-09 23:20:12 UTC
julia-1.2.0-3.1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-da5c53481b

Comment 5 Fedora Update System 2019-11-17 01:30:00 UTC
julia-1.2.0-3.1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.