diff --git a/src/Xpress.jl b/src/Xpress.jl index 7e5d85fa..38d4ff21 100644 --- a/src/Xpress.jl +++ b/src/Xpress.jl @@ -17,14 +17,14 @@ elseif Sys.isapple() # Use the artifact instead. LazyArtifacts.artifact"xpresspy", "lib/python3.10/site-packages/xpress/lib", ) - const libxprs = joinpath(xpressdlpath, "xprs.dylib") + const libxprs = joinpath(xpressdlpath, "libxprs.dylib") elseif Sys.islinux() # Use the artifact instead. const xpressdlpath = joinpath( LazyArtifacts.artifact"xpresspy", "lib/python3.10/site-packages/xpress/lib", ) # Annoyingly, Xpress has the version after extension - const libxprs = joinpath(xpressdlpath, "xprs.so.42") + const libxprs = joinpath(xpressdlpath, "libxprs.so.42") elseif !haskey(ENV, "XPRESS_JL_NO_DEPS_ERROR") error("XPRESS cannot be loaded. Please run Pkg.build(\"Xpress\").") else