# Managing \`julia\` versions using \`pixi\`

**URL:** https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165
**Category:** General Usage
**Tags:** juliaup
**Created:** [June 24, 2024, 10:38pm UTC](https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165 "2024-06-24T22:38:21Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![kdheepak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kdheepak/32/10881_2.png) [@kdheepak](https://discourse.julialang.org/u/kdheepak)
#### Post date: [June 24, 2024, 10:38pm UTC](https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165/1 "2024-06-24T22:38:21Z")

</div>

A [https://prefix.dev](https://prefix.dev) core developer (`github.com/wolfv`) added a `julia-forge` channel on [julia-forge - prefix.dev | prefix.dev](https://prefix.dev/channels/julia-forge).

This should make it easier to manage per project Julia versions without `juliaup`. Here’s a screenshot showing no global `julia` installation but a per folder `julia` install when activating the `pixi shell`:

 ![](https://global.discourse-cdn.com/julialang/original/3X/0/a/0a628683e841f88ab5246733bc0f4b13a1de665c.png)

Here’s the commit where I added `julia` to a `pixi` environment: [feat: Add Julia · kdheepak/pixi-test@4d8cc82 · GitHub](https://github.com/kdheepak/pixi-test/commit/4d8cc8203e8bd97a1b3b87e1d23686067a0306c4)

For a new project, it’s as simple as the following after [installing `pixi`](https://prefix.dev/docs/pixi/overview#installation):

```shell
pixi init
pixi project channel add https://repo.prefix.dev/julia-forge
pixi add julia

```

`pixi` already supports `conda` and `pip` dependencies, and this will (in my opinion) make it easier to introduce `julia` into python projects that use `pixi` for package management.

Currently there’s just one version of Julia on the [`julia-forge` channel](https://prefix.dev/channels/julia-forge/packages/julia) but it should be straight-forward to add more versions. See here for the `julia-forge` source: [GitHub - wolfv/julia-forge: Recipes for julia (the language) and more](https://github.com/wolfv/julia-forge)

Thanks to [wolfv (Wolf Vollprecht) · GitHub](https://github.com/wolfv/) for making this happen!

---

<div class="post-metadata">

### Author: ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)
#### Post date: [June 25, 2024, 5:36am UTC](https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165/2 "2024-06-25T05:36:00Z")

</div>

Interesting. I’ll have to ping him.

---

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [June 25, 2024, 8:57am UTC](https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165/3 "2024-06-25T08:57:26Z")

</div>

I just tried to install my package KiteModels using julia that I installed with pixi. I get a lot of these warnings:

```julia
┌ LinearSolve → LinearSolveRecursiveArrayToolsExt
│ ┌ Warning: CHOLMOD version incompatibility
│ │ 
│ │ Julia was compiled with CHOLMOD version 4.0.4. It is
│ │ currently linked with version 5.2.1.
│ │ This might cause Julia to terminate when working with
│ │ sparse matrix factorizations, e.g. solving systems of
│ │ equations with \.
│ │ 
│ │ It is recommended that you use Julia with the same major
│ │ version of CHOLMOD as the one used during the build, or
│ │ download the generic binaries from www.julialang.org,
│ │ which ship with the correct versions of all dependencies.
│ └ @ SparseArrays.CHOLMOD ~/repos/pykitesim/.pixi/envs/default/share/julia/stdlib/v1.10/SparseArrays/src/solvers/cholmod.jl:206

```

Any idea?

UPDATE:  
For now I conclude that installing Julia using pixi is a bad idea because it installs incompatible libraries.

I will continue to use pixi to install Python and the Python libraries and juliaup to install Julia.

---

<div class="post-metadata">

### Author: ![kdheepak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kdheepak/32/10881_2.png) [@kdheepak](https://discourse.julialang.org/u/kdheepak)
#### Post date: [June 25, 2024, 1:18pm UTC](https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165/4 "2024-06-25T13:18:46Z")

</div>

Can you share your `pixi.toml` and `pixi.lock` file?

---

<div class="post-metadata">

### Author: ![Wolf\_Vollprecht](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wolf_vollprecht/32/8081_2.png) [@Wolf\_Vollprecht](https://discourse.julialang.org/u/Wolf_Vollprecht)
#### Post date: [June 26, 2024, 11:13am UTC](https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165/5 "2024-06-26T11:13:50Z")

</div>

@ufechner7 thanks for trying! I would also be interested in which `julia` you installed (the one linked above, e.g. repackaged, or the one built on conda-forge)?

Indeed, the main challenge is different dynamic libraries (which is something that conda-forge tries to solve globally).

---

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [June 26, 2024, 11:51am UTC](https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165/6 "2024-06-26T11:51:59Z")

</div>

Reproducable test case:

```julia
pixi init jtest
cd jtest
pixi project channel add https://repo.prefix.dev/julia-forge
pixi add julia
pixi shell

(jtest) ufechner@framework:~/repos/jtest$ which julia
/home/ufechner/repos/jtest/.pixi/envs/default/bin/julia

julia --project="."
using Pkg
Pkg.add("KiteModels")

```

Output (well, these massages repeat again and again):

```julia
┌ StaticArrayInterface → StaticArrayInterfaceStaticArraysExt
│ ┌ Warning: CHOLMOD version incompatibility
│ │ 
│ │ Julia was compiled with CHOLMOD version 4.0.4. It is
│ │ currently linked with version 5.2.1.
│ │ This might cause Julia to terminate when working with
│ │ sparse matrix factorizations, e.g. solving systems of
│ │ equations with \.
│ │ 
│ │ It is recommended that you use Julia with the same major
│ │ version of CHOLMOD as the one used during the build, or
│ │ download the generic binaries from www.julialang.org,
│ │ which ship with the correct versions of all dependencies.
│ └ @ SparseArrays.CHOLMOD ~/repos/jtest/.pixi/envs/default/share/julia/stdlib/v1.10/SparseArrays/src/solvers/cholmod.jl:206
└  
┌ Distances → DistancesChainRulesCoreExt
│ ┌ Warning: CHOLMOD version incompatibility
│ │ 
│ │ Julia was compiled with CHOLMOD version 4.0.4. It is
│ │ currently linked with version 5.2.1.
│ │ This might cause Julia to terminate when working with
│ │ sparse matrix factorizations, e.g. solving systems of
│ │ equations with \.
│ │ 
│ │ It is recommended that you use Julia with the same major
│ │ version of CHOLMOD as the one used during the build, or
│ │ download the generic binaries from www.julialang.org,
│ │ which ship with the correct versions of all dependencies.
│ └ @ SparseArrays.CHOLMOD ~/repos/jtest/.pixi/envs/default/share/julia/stdlib/v1.10/SparseArrays/src/solvers/cholmod.jl:206
└  

```

pixi.toml:

```julia
(jtest) ufechner@framework:~/repos/jtest$ cat pixi.toml 
[project]
name = "jtest"
version = "0.1.0"
description = "Add a short description here"
authors = ["Uwe Fechner <u.fechner-1@tudelft.nl>"]
channels = ["conda-forge", "https://repo.prefix.dev/julia-forge/"]
platforms = ["linux-64"]

[tasks]

[dependencies]
julia = ">=1.10.4,<1.11

```

pixi.lock file is attached. I added the ending .jl to become able to attach it.  
[pixi.lock.jl](https://discourse.julialang.org/uploads/short-url/8u0Zi1bQstpYWHL7aKO1vTohW8p.jl) (30.3 KB)

---

<div class="post-metadata">

### Author: ![Wolf\_Vollprecht](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wolf_vollprecht/32/8081_2.png) [@Wolf\_Vollprecht](https://discourse.julialang.org/u/Wolf_Vollprecht)
#### Post date: [June 26, 2024, 12:05pm UTC](https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165/7 "2024-06-26T12:05:17Z")

</div>

Hi @ufechner7 - I think you are getting the build of `julia` from conda-forge. If you change the order of channels you should get the one from `julia-forge`.

You can validate that by checking the `pixi.lock` file (I checked the one you attached and it’s indeed the case).

---

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [June 26, 2024, 12:11pm UTC](https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165/8 "2024-06-26T12:11:36Z")

</div>

I changed the order of the channels, but I a get a new error:

```julia
(jtest) pkg> add KiteModels
┌ Warning: could not download https://pkg.julialang.org/registries
│ exception = RequestError: Error reading ca cert file /home/ufechner/repos/jtest/.pixi/envs/default/ssl/cacert.pem - mbedTLS: (-0x3E00) PK - Read/write of file failed while requesting https://pkg.julialang.org/registries
└ @ Pkg.Registry ~/repos/jtest/.pixi/envs/default/share/julia/stdlib/v1.10/Pkg/src/Registry/Registry.jl:69

```

---

<div class="post-metadata">

### Author: ![kdheepak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kdheepak/32/10881_2.png) [@kdheepak](https://discourse.julialang.org/u/kdheepak)
#### Post date: [June 26, 2024, 3:56pm UTC](https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165/9 "2024-06-26T15:56:15Z")

</div>

With `juliaup`, `add LinearSolve` and `precompile` doesn’t give any errors:

 ![](https://global.discourse-cdn.com/julialang/original/3X/5/d/5d4804f7a05a6ccf21f4b17c35fac52a27b660ad.png)

But with `pixi`, `precompile` segfaults:

 ![](https://global.discourse-cdn.com/julialang/original/3X/d/5/d5670036620abb5eb5894217962883b81851d0ae.png)

I don’t quite understand why that makes any difference?

The `pixi` version of `julia` gets the julia binary from [here](https://github.com/wolfv/julia-forge/blob/b23e72538150ee596162de8a8c8546f3f18c4e63/julia/recipe.yaml#L11) and `juliaup` gets it from [here](https://github.com/JuliaLang/juliaup/blob/d8d634c4e6a14187e3a4262a70d2cccc50e822ce/versiondb/versiondb-aarch64-apple-darwin.json#L367), which appear to be the same locations (`juliaup` downloads from `julialang-s3.julialang.org` as well).

---

<div class="post-metadata">

### Author: ![kdheepak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kdheepak/32/10881_2.png) [@kdheepak](https://discourse.julialang.org/u/kdheepak)
#### Post date: [June 26, 2024, 6:29pm UTC](https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165/10 "2024-06-26T18:29:35Z")

</div>

It seems like julia doesn’t like being in the same folder as other content from `pixi`.

If I use `curl` to download the same file as `pixi` does, I don’t get any issues:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/a/a/aab7b1be921bdb6d255d3901e5030dbaeb9dc996.png)

But using the `julia` binary in the `.pixi` environment causes issues:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/9/4/94c41bc8c82c4d51ceba2d9b09d71b8dd6f3a94a.png)

I tried with a fresh environment with just `julia` and I still get the same error precompiling `LinearSolve`:

```julia
$ cat pixi.toml
───────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       │ File: pixi.toml
───────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1 │ [project]
   2 │ name = "pixi-test"
   3 │ version = "0.1.0"
   4 │ description = "Add a short description here"
   5 │ authors = ["..."]
   6 │ channels = ["conda-forge", "https://repo.prefix.dev/julia-forge/"]
   7 │ platforms = ["osx-arm64"]
   8 │
   9 │ [tasks]
  10 │
  11 │ [dependencies]
  12 │ julia = ">=1.10.4,<1.11"
───────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

```

---

<div class="post-metadata">

### Author: ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)
#### Post date: [June 26, 2024, 11:17pm UTC](https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165/11 "2024-06-26T23:17:04Z")

</div>

> [@kdheepak](#):
>
> It seems like julia doesn’t like being in the same folder as other content from `pixi`.

Does pixi put the content of different packages within the same prefix?

---

<div class="post-metadata">

### Author: ![kdheepak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kdheepak/32/10881_2.png) [@kdheepak](https://discourse.julialang.org/u/kdheepak)
#### Post date: [June 27, 2024, 12:39am UTC](https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165/12 "2024-06-27T00:39:11Z")

</div>

It seems like it puts everything into `./.pixi/envs/default/`.

```julia
$ ls -al .pixi/envs/default
Permissions Size Date Modified Git Name
drwxr-xr-x - 26 Jun 20:30 -I ./
drwxr-xr-x - 26 Jun 20:30 -I ../
drwxr-xr-x - 26 Jun 20:30 -I bin/
drwxr-xr-x - 26 Jun 20:30 -I conda-meta/
drwxr-xr-x - 26 Jun 20:30 -I etc/
drwxr-xr-x - 26 Jun 20:30 -I include/
drwxr-xr-x - 26 Jun 20:30 -I lib/
drwxr-xr-x - 26 Jun 20:30 -I libexec/
drwxr-xr-x - 26 Jun 20:30 -I share/
.rw-r--r-- 4.0k 26 Jun 20:30 -I build_env.sh
.rw-r--r-- 302 24 Jun 03:23 -I conda_build.sh

╭─ ~/g/pixi-test 
╰ ls -al .pixi/envs/default/bin
Permissions Size Date Modified Git Name
drwxr-xr-x - 26 Jun 20:30 -I ./
drwxr-xr-x - 26 Jun 20:30 -I ../
.rwxr-xr-x 70k 24 Jun 03:23 -I julia*

╭─ ~/g/pixi-test 
╰ ls -al .pixi/envs/default/lib
Permissions Size Date Modified Git Name
drwxr-xr-x - 26 Jun 20:30 -I ./
drwxr-xr-x - 26 Jun 20:30 -I ../
drwxr-xr-x - 26 Jun 20:30 -I julia/
drwxr-xr-x - 26 Jun 20:30 -I libjulia.1.10.4.dylib.dSYM/
.rwxr-xr-x 235k 24 Jun 03:23 -I libjulia.1.10.4.dylib*
.rwxr-xr-x 235k 24 Jun 03:23 -I libjulia.1.10.dylib*
.rwxr-xr-x 235k 24 Jun 03:23 -I libjulia.dylib*

```

Here’s the full contents of the `.pixi` folder with just one dependency `julia`: [julia-pixi.md · GitHub](https://gist.github.com/kdheepak/42a9c2da1ffffb65ce2fefa6b02fc9db)

---

<div class="post-metadata">

### Author: ![kdheepak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kdheepak/32/10881_2.png) [@kdheepak](https://discourse.julialang.org/u/kdheepak)
#### Post date: [June 27, 2024, 12:54am UTC](https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165/13 "2024-06-27T00:54:19Z")

</div>

I’m surprised that this works:

```julia
curl -L https://julialang-s3.julialang.org/bin/mac/aarch64/1.10/julia-1.10.4-macaarch64.tar.gz -o julia.tar.gz && \
tar -xzf julia.tar.gz && \
./julia-1.10.4/bin/julia --project -e "using Pkg; Pkg.precompile()" && \
echo "success"

```

But this doesn’t:

```julia
pixi init && \
pixi project channel add https://repo.prefix.dev/julia-forge && \
pixi add julia && \
./.pixi/envs/default/bin/julia --project -e "using Pkg; Pkg.precompile()"

```

 ![](https://global.discourse-cdn.com/julialang/original/3X/0/6/064a8fd25bd899f4203c823e65a918326311f5e7.png)

Here’s what I get as the diff between these two folders

```julia
╭─ ~/g/pixi-test
╰ diff -qr .pixi/envs/default julia-1.10.4

Only in julia-1.10.4: LICENSE.md
Only in .pixi/envs/default: build_env.sh
Only in .pixi/envs/default: conda-meta
Only in .pixi/envs/default: conda_build.sh
Only in julia-1.10.4/share/julia/base: .gitignore
Only in julia-1.10.4/share/julia/base/JuliaSyntax: .github
Only in julia-1.10.4/share/julia/base/JuliaSyntax: .gitignore
Only in julia-1.10.4/share/julia/base/JuliaSyntax/sysimage: .gitignore
Only in julia-1.10.4/share/julia/stdlib/v1.10/ArgTools: .github
Only in julia-1.10.4/share/julia/stdlib/v1.10/ArgTools: .gitignore
Only in julia-1.10.4/share/julia/stdlib/v1.10/DelimitedFiles: .github
Only in julia-1.10.4/share/julia/stdlib/v1.10/Downloads: .github
Only in julia-1.10.4/share/julia/stdlib/v1.10/Downloads: .gitignore
Only in julia-1.10.4/share/julia/stdlib/v1.10/LibCURL: .github
Only in julia-1.10.4/share/julia/stdlib/v1.10/LibCURL: .gitignore
Only in julia-1.10.4/share/julia/stdlib/v1.10/NetworkOptions: .github
Only in julia-1.10.4/share/julia/stdlib/v1.10/NetworkOptions: .gitignore
Only in julia-1.10.4/share/julia/stdlib/v1.10/Pkg: .github
Only in julia-1.10.4/share/julia/stdlib/v1.10/Pkg: .gitignore
Only in julia-1.10.4/share/julia/stdlib/v1.10/Pkg/test/test_packages/BigProject: .gitignore
Only in julia-1.10.4/share/julia/stdlib/v1.10/Pkg/test/test_packages/BigProject/SubModule: .gitignore
Only in julia-1.10.4/share/julia/stdlib/v1.10/Pkg/test/test_packages/BigProject/SubModule2: .gitignore
Only in julia-1.10.4/share/julia/stdlib/v1.10/Pkg/test/test_packages/BuildProjectFixedDeps: .gitignore
Only in julia-1.10.4/share/julia/stdlib/v1.10/Pkg/test/test_packages/force_latest_compatible_version/BothOl
dAndNew: .gitignore
Only in julia-1.10.4/share/julia/stdlib/v1.10/Pkg/test/test_packages/force_latest_compatible_version/Direct
DepWithoutCompatEntry: .gitignore
Only in julia-1.10.4/share/julia/stdlib/v1.10/Pkg/test/test_packages/force_latest_compatible_version/NewOnl
y: .gitignore
Only in julia-1.10.4/share/julia/stdlib/v1.10/Pkg/test/test_packages/force_latest_compatible_version/OldOnly1: .gitignore
Only in julia-1.10.4/share/julia/stdlib/v1.10/Pkg/test/test_packages/force_latest_compatible_version/OldOnly2: .gitignore
Only in julia-1.10.4/share/julia/stdlib/v1.10/SHA: .github
Only in julia-1.10.4/share/julia/stdlib/v1.10/SHA: .gitignore
Only in julia-1.10.4/share/julia/stdlib/v1.10/SHA/docs: .gitignore
Only in julia-1.10.4/share/julia/stdlib/v1.10/SparseArrays: .github
Only in julia-1.10.4/share/julia/stdlib/v1.10/Statistics: .github
Only in julia-1.10.4/share/julia/stdlib/v1.10/SuiteSparse: .github
Only in julia-1.10.4/share/julia/stdlib/v1.10/TOML: .gitignore
Only in julia-1.10.4/share/julia/stdlib/v1.10/Tar: .github
Only in julia-1.10.4/share/julia/stdlib/v1.10/Tar: .gitignore
Only in julia-1.10.4/share/julia/test: .gitignore
Only in julia-1.10.4/share/julia/test/clangsa: .gitignore
Only in julia-1.10.4/share/julia/test/embedding: .gitignore
Only in julia-1.10.4/share/julia/test/gcext: .gitignore
Only in julia-1.10.4/share/julia/test/llvmpasses: .gitignore

```

---

<div class="post-metadata">

### Author: ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)
#### Post date: [June 27, 2024, 1:32am UTC](https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165/14 "2024-06-27T01:32:41Z")

</div>

What is the full output of `versioninfo()`?

Are there any environment variables that may be affecting Julia such as `LD_LIBRARY_PATH`?

---

<div class="post-metadata">

### Author: ![kdheepak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kdheepak/32/10881_2.png) [@kdheepak](https://discourse.julialang.org/u/kdheepak)
#### Post date: [June 27, 2024, 2:06am UTC](https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165/15 "2024-06-27T02:06:48Z")

</div>

There doesn’t seem to be any differences in `versioninfo(;verbose=true)`

 ![](https://global.discourse-cdn.com/julialang/original/3X/d/0/d0132dfab6433476bc69725310e875fec43ce5d8.png)

I’ve activated the environment using `direnv`, so the same environment variables are active for both `julia` versions, and it still errors only for the `pixi` version.

I don’t see any `LD_LIBRARY_PATH` modifications that seem unusual in the `.pixi` folder:

```julia
$ rg LD_LIBRARY_PATH .pixi

.pixi/envs/default/share/doc/julia/html/en/devdocs/build/linux.html
6:</script><script data-outdated-warner src="../../assets/warner.js"></script><link href="https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/css/lato-font.min.css" rel="stylesheet" type="text/css"/><link href="ht
tp [... 1 more match]

.pixi/envs/default/share/doc/julia/html/en/devdocs/build/macos.html
6:</script><script data-outdated-warner src="../../assets/warner.js"></script><link href="https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/css/lato-font.min.css" rel="stylesheet" type="text/css"/><link href="http [... 2 more matches]

.pixi/envs/default/share/julia/test/clangsa/Makefile
14:LD_LIBRARY_PATH="${build_libdir}:$$LD_LIBRARY_PATH" \

.pixi/envs/default/share/julia/test/llvmpasses/Makefile
14:LD_LIBRARY_PATH=${build_libdir}:$$LD_LIBRARY_PATH \
22:LD_LIBRARY_PATH=${build_libdir}:$$LD_LIBRARY_PATH \
29:LD_LIBRARY_PATH=${build_libdir}:$$LD_LIBRARY_PATH \

.pixi/envs/default/share/doc/julia/html/en/search_index.js
2:[{"location":"stdlib/CRC32c.html","page":"CRC32c","title":"CRC32c","text":"EditURL = \"https://github.com/JuliaLang/julia/blob/master/stdlib/CRC32c/docs/src/index.md\"","category":"page"},{"location":"stdlib/CRC32c.h [... 3 more matches]

.pixi/envs/default/share/julia/base/linking.jl
26:const LIBPATH_env = "LD_LIBRARY_PATH"

.pixi/envs/default/share/julia/stdlib/v1.10/LLD_jll/src/LLD_jll.jl
34:const LIBPATH_env = "LD_LIBRARY_PATH"

.pixi/envs/default/share/julia/stdlib/v1.10/Downloads/src/Curl/utils.jl
44:2. You are overriding the library load path by setting `LD_LIBRARY_PATH`, in which case you are in advanced usage territory. You can try upgrading the system libcurl, unsetting `LD_LIBRARY_PATH`, or otherwise arrangi [... 0 more matches]

.pixi/envs/default/share/julia/stdlib/v1.10/p7zip_jll/src/p7zip_jll.jl
33:const LIBPATH_env = "LD_LIBRARY_PATH"

```

---

<div class="post-metadata">

### Author: ![kdheepak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kdheepak/32/10881_2.png) [@kdheepak](https://discourse.julialang.org/u/kdheepak)
#### Post date: [June 27, 2024, 2:10am UTC](https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165/16 "2024-06-27T02:10:45Z")

</div>

> [@kdheepak](#):
>
> ```julia
> Only in .pixi/envs/default: build_env.sh
> Only in .pixi/envs/default: conda-meta
> Only in .pixi/envs/default: conda_build.sh
> 
> ```

I even tried removing these files:

```julia
$ rm -rf .pixi/envs/default/build_env.sh 
$ rm -rf .pixi/envs/default/conda-meta 
$ rm -rf .pixi/envs/default/conda_build.sh

```

I don’t know exactly how pixi works, but these were the only files that had a lot of environment variables, and thought I’d try to delete them. But I still get an error:

```julia
╭─ ~/g/pixi-test 
╰ rm -rf .pixi/envs/default/build_env.sh .pixi/envs/default/conda-meta .pixi/envs/default/conda_build.sh

╭─ ~/g/pixi-test 
╰ ./.pixi/envs/default/bin/julia --project -e "using Pkg; Pkg.precompile()"
Precompiling project...
  ✗ LinearSolve
  ✗ LinearSolve → LinearSolveRecursiveArrayToolsExt
  0 dependencies successfully precompiled in 15 seconds. 92 already precompiled.

```
