# CSDP.jl in Linux

**URL:** <https://discourse.julialang.org/t/csdp-jl-in-linux/9205>\
**Category:** Optimization (Mathematical)\
**Created:** [February 20, 2018, 3:17pm UTC](https://discourse.julialang.org/t/csdp-jl-in-linux/9205 "2018-02-20T15:17:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarioSouto](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mariosouto/32/36673_2.png) [@MarioSouto](https://discourse.julialang.org/u/MarioSouto)\
**Post date:** [February 20, 2018, 3:17pm UTC](https://discourse.julialang.org/t/csdp-jl-in-linux/9205/1 "2018-02-20T15:17:19Z")

</div>

Dear all,

I’m having some trouble to install the CSDP.jl package in a Linux machine. I already have the CSDP solver installed but I want to use it within the JuMP framework. When I try to build the package I’m getting the following message:

```julia
===========================[ERROR: CSDP]===========================

LoadError: None of the selected providers can install dependency libblas.
Use BinDeps.debug(package_name) to see available providers

while loading /home/mariosouto/.julia/v0.6/CSDP/deps/build.jl, in expression starting on line 48

=====================================================================

==========================[BUILD ERRORS]===========================

WARNING: CSDP had build errors.

 - packages with build errors remain installed in /home/mariosouto/.julia/v0.6
 - build the package(s) and all dependencies with `Pkg.build("CSDP")`
 - build a single package by running its `deps/build.jl` script

=====================================================================

```

After taking a look at the build.jl file it seems that the package is compatible only with windows. If that is the case, is there any workaround?

Best,  
Mario.

---

<div class="post-metadata">

**Author:** ![blegat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/blegat/32/217090_2.png) [@blegat](https://discourse.julialang.org/u/blegat)\
**Post date:** [February 20, 2018, 4:31pm UTC](https://discourse.julialang.org/t/csdp-jl-in-linux/9205/2 "2018-02-20T16:31:33Z")

</div>

Dear Mario,

The package should be compatible with any operating system. There is a special case done for Windows in the build script because for Windows we do not build CSDP from source and download precompiled binaries instead.  
On Linux, CSDP is built from source but it requires BLAS/LAPACK to be installed. I have updated the [README](https://github.com/JuliaOpt/CSDP.jl) with installation instruction, let me know if it’s clearer now 🙂  
Note that you can also use CSDP with the BLAS/LAPACK libraries shipped with Julia by setting `JULIA_LAPACK=true` at the beginning of the `build.jl` script.

---

<div class="post-metadata">

**Author:** ![MarioSouto](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mariosouto/32/36673_2.png) [@MarioSouto](https://discourse.julialang.org/u/MarioSouto)\
**Post date:** [February 23, 2018, 4:58pm UTC](https://discourse.julialang.org/t/csdp-jl-in-linux/9205/3 "2018-02-23T16:58:55Z")

</div>

Thanks Benoit,

It is working just fine.
