# Problems creating App with PackageCompiler.jl

**URL:** <https://discourse.julialang.org/t/problems-creating-app-with-packagecompiler-jl/126181>\
**Category:** General Usage\
**Created:** [February 22, 2025, 12:05pm UTC](https://discourse.julialang.org/t/problems-creating-app-with-packagecompiler-jl/126181 "2025-02-22T12:05:28Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Alex\_73](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alex_73/32/206879_2.png) [@Alex\_73](https://discourse.julialang.org/u/Alex_73)\
**Post date:** [March 1, 2025, 10:27am UTC](https://discourse.julialang.org/t/problems-creating-app-with-packagecompiler-jl/126181/7 "2025-03-01T10:27:57Z")

</div>

I think I’ve figured out the problem… During this week, I tried to reproduce the problem on another OS. So, I followed the same steps I described here in the post using PoP!\_OS 22.04 LTS. In this case, the problem didn’t occur.

My main system is ArchLinux. Since it’s been installed for over two years, I decided to try to reproduce the problem on a “clean install”. As a result, this time Julia didn’t even start. The error reported was:

```julia
$ julia
ERROR: Unable to load dependent library /home/alex/.julia/juliaup/julia-1.11.3+0.x64.linux.gnu/bin/../lib/julia/libopenlibm.so
Message:/home/alex/.julia/juliaup/julia-1.11.3+0.x64.linux.gnu/bin/../lib/julia/libopenlibm.so: cannot enable executable stack as shared object requires: Invalid argument

```

With a quick google search, I found this blog post: [https://discourse.julialang.org/t/error-cannot-enable-executable-stack-when-starting-julia-solved/125655](https://discourse.julialang.org/t/error-cannot-enable-executable-stack-when-starting-julia-solved/125655)

It describes the problem in more detail… But in short, it may have something to do with a glib update (see [https://github.com/JuliaLang/julia/issues/57250](https://github.com/JuliaLang/julia/issues/57250)) for more details…)

The suggestion that worked on (clean Arch Linux install) was:

```julia
git clone https://aur.archlinux.org/execstack.git
sudo pacman -S elfutils (if you don't have it installed)
cd execstack/
makepkg
sudo pacman -U execstack-....pkg.tar.zst
execstack -c /home/user/.julia/juliaup/julia-1.11.3+0.x64.linux.gnu/bin/../lib/julia/libopenlibm.so

julia
] + add PackageCompiler
using Pkg
Pkg.generate("MyApp")
exit()

julia -q --project
using PackageCompiler
create_app("MyApp", "MyAppCompiled")

```

As soon as possible, I’ll test it on my main system (Arch ~2 years old) and update the post.

\*Conclusion: It seems to have nothing to do with PackageCompiler.jl, but I think it’s better not to change the post name because others may have similar problems…

---

_[View the full topic](https://discourse.julialang.org/t/problems-creating-app-with-packagecompiler-jl/126181)._
