I recently installed KNITRO and got it working with JuMP from the REPL. However in Juno, I get the error
LoadError: error compiling loadproblem!: error compiling Type: could not load library "libknitro"
Checking the Github for KNITRO.jl I found that setting ENV["LD_LIBRARY_PATH"]
to the location of “libknitro” is a possible solution. However, it works on the Juno console but not from an open script file.
I tried adding ENV["LD_LIBRARY_PATH"] = ...
to the juliarc.jl file, but again this only works when working in the Juno console.
Do you have any suggestions on how I can get Juno to access $PATH
?