# \#package-compiler

**URL:** https://discourse.julialang.org/tag/package-compiler/350.md?page=1

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 2

---

## [Docker image build OOM](https://discourse.julialang.org/t/docker-image-build-oom/126148)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 1\
**Last updated:** [February 27, 2025, 6:40am UTC](https://discourse.julialang.org/t/docker-image-build-oom/126148 "2025-02-27T06:40:13Z")

</div>

I’m trying to package a Julia app as a docker image. Since, as of writing this, package relocatability is not solved; hence, this is the only way to share an app. In my dockerfile I run: ###############################…

---

## [Polars: Our Big Missed Opportunity](https://discourse.julialang.org/t/polars-our-big-missed-opportunity/125556)

<div class="topic-metadata">

**Author:** [@Patricio\_R](https://discourse.julialang.org/u/Patricio_R)\
**Replies:** 11\
**Last updated:** [February 5, 2025, 2:27pm UTC](https://discourse.julialang.org/t/polars-our-big-missed-opportunity/125556 "2025-02-05T14:27:51Z")

</div>

Why was the Polars library for Python developed in Rust instead of Julia? Why did we miss this great opportunity to make our beloved language famous and win the sympathy of the huge Python community? I propose to popula…

---

## [Exporting a julia library on iOS and Android](https://discourse.julialang.org/t/exporting-a-julia-library-on-ios-and-android/124975)

<div class="topic-metadata">

**Author:** [@Alfespo97](https://discourse.julialang.org/u/Alfespo97)\
**Replies:** 4\
**Last updated:** [January 21, 2025, 2:36pm UTC](https://discourse.julialang.org/t/exporting-a-julia-library-on-ios-and-android/124975 "2025-01-21T14:36:26Z")

</div>

Hi everyone, i’ve been using Julia for 2/3 months and i’ve created an optimization function with Ipopt to solve a non-linear problem. Now i want to export this function to a library to make it execute on smartphone with …

---

## [Create\_library method not exporting the ccallable function](https://discourse.julialang.org/t/create-library-method-not-exporting-the-ccallable-function/124950)

<div class="topic-metadata">

**Author:** [@Sandy45](https://discourse.julialang.org/u/Sandy45)\
**Replies:** 0\
**Last updated:** [January 20, 2025, 6:29am UTC](https://discourse.julialang.org/t/create-library-method-not-exporting-the-ccallable-function/124950 "2025-01-20T06:29:36Z")

</div>

I am trying to precompile my module using create\_library method and try to call the functions exported in dll files from my julia app but create\_library isn’t exporting ccallable functions that has been created in my mod…

---

## [App compilation](https://discourse.julialang.org/t/app-compilation/122374)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 5\
**Last updated:** [January 19, 2025, 3:27pm UTC](https://discourse.julialang.org/t/app-compilation/122374 "2025-01-19T15:27:47Z")

</div>

I’m currently trying to make a docker image from Julia code. So far, I tested two approaches, making a sysimage and making an app. In either case a sysimage is created in the process. My question is: What do I need to do…

---

## [Create executable file to be used in another julia project](https://discourse.julialang.org/t/create-executable-file-to-be-used-in-another-julia-project/124777)

<div class="topic-metadata">

**Author:** [@Sandy45](https://discourse.julialang.org/u/Sandy45)\
**Replies:** 8\
**Last updated:** [January 16, 2025, 9:37pm UTC](https://discourse.julialang.org/t/create-executable-file-to-be-used-in-another-julia-project/124777 "2025-01-16T21:37:47Z")

</div>

I am trying to create executable file(probably .so file) that can be used in my another julia project to access methods in it. I have tried to do it so using package compiler but getting below errors while using methods …

---

## [Juliac and PackageCompiler](https://discourse.julialang.org/t/juliac-and-packagecompiler/124683)

<div class="topic-metadata">

**Author:** [@wujinq](https://discourse.julialang.org/u/wujinq)\
**Replies:** 1\
**Last updated:** [January 13, 2025, 2:35pm UTC](https://discourse.julialang.org/t/juliac-and-packagecompiler/124683 "2025-01-13T14:35:50Z")

</div>

It seems that juliac is currently being developed to compile Julia code into binary, which does not impose the constraints in static compilation. I’m however curous about the relation between juliac and Package Compiler:…

---

## [Using PackageCompiler Header file time modified even content not changed using force](https://discourse.julialang.org/t/using-packagecompiler-header-file-time-modified-even-content-not-changed-using-force/124441)

<div class="topic-metadata">

**Author:** [@xgdgsc](https://discourse.julialang.org/u/xgdgsc)\
**Replies:** 1\
**Last updated:** [January 5, 2025, 2:00pm UTC](https://discourse.julialang.org/t/using-packagecompiler-header-file-time-modified-even-content-not-changed-using-force/124441 "2025-01-05T14:00:00Z")

</div>

Currently the build command create\_library(".", "MyLib"; lib\_name="libmine", precompile\_execution\_file="build/generate\_precompile.jl", precompile\_statements\_file="build/additional\_precompile.jl", header\_…

---

## [PackageCompiler Segfault in Julia-1.11](https://discourse.julialang.org/t/packagecompiler-segfault-in-julia-1-11/123774)

<div class="topic-metadata">

**Author:** [@johnomotani](https://discourse.julialang.org/u/johnomotani)\
**Replies:** 6\
**Last updated:** [December 13, 2024, 9:10am UTC](https://discourse.julialang.org/t/packagecompiler-segfault-in-julia-1-11/123774 "2024-12-13T09:10:02Z")

</div>

Hoping for some help because I’m not sure where to even start debugging this issue! I’m developing a scientific HPC code that I run using --check-bounds=no for performance, and often want to build a system image to save…

---

## [PackageCompiler create\_app never finishes in Julia 1.11.x](https://discourse.julialang.org/t/packagecompiler-create-app-never-finishes-in-julia-1-11-x/123724)

<div class="topic-metadata">

**Author:** [@dhl](https://discourse.julialang.org/u/dhl)\
**Replies:** 2\
**Last updated:** [December 11, 2024, 7:05pm UTC](https://discourse.julialang.org/t/packagecompiler-create-app-never-finishes-in-julia-1-11-x/123724 "2024-12-11T19:05:52Z")

</div>

There seems to be a breaking difference in behavior between Julia 1.10.x and 1.11.x with the create\_app call in PackageCompiler. Effectively the issue is that following works under julia 1.10.x and fails (never finishes…

---

## [PackageCompiler warnings](https://discourse.julialang.org/t/packagecompiler-warnings/122338)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 0\
**Last updated:** [November 6, 2024, 3:15pm UTC](https://discourse.julialang.org/t/packagecompiler-warnings/122338 "2024-11-06T15:15:43Z")

</div>

I’m seeing many warnings like these: Warning: .drectve \`-exclude-symbols:jl\_pgcstack\_key\_slot ' unrecognized Warning: .drectve \`-exclude-symbols:jl\_tls\_offset ' unrecognized Warning: .drectve \`-exclude-symbols:jl\_ptls\_t…

---

## [Load sysimage so fail](https://discourse.julialang.org/t/load-sysimage-so-fail/121972)

<div class="topic-metadata">

**Author:** [@ck\_dominer](https://discourse.julialang.org/u/ck_dominer)\
**Replies:** 9\
**Last updated:** [October 31, 2024, 6:26am UTC](https://discourse.julialang.org/t/load-sysimage-so-fail/121972 "2024-10-31T06:26:46Z")

</div>

I generate a sysimage by PackgeCompiler. this is my command: using PackageCompiler; create\_sysimage(\["CoreToolbox"\]; sysimage\_path="CTBSysimage.so", include\_transitive\_dependencies=false) When I use this package, it r…

---

## [Error when filtering stdlibs during app compilation](https://discourse.julialang.org/t/error-when-filtering-stdlibs-during-app-compilation/121930)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 2\
**Last updated:** [October 29, 2024, 5:11pm UTC](https://discourse.julialang.org/t/error-when-filtering-stdlibs-during-app-compilation/121930 "2024-10-29T17:11:40Z")

</div>

\- PackageCompiler: creating compiler .ji image (incremental=false) - PackageCompiler: compiling fresh sysimage (incremental=false) error during bootstrap: LoadError("/tmp/jl\_srxx2I/sysimage\_packagecompiler\_c8bc2d1a-960b-…

---

## [Relocatable Makie app](https://discourse.julialang.org/t/relocatable-makie-app/119742)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 11\
**Last updated:** [October 29, 2024, 3:44pm UTC](https://discourse.julialang.org/t/relocatable-makie-app/119742 "2024-10-29T15:44:16Z")

</div>

I want to share some results with a college so that he can have a look at the data himself. Plotly can export an HTML which is interactive, but WGLMakie can not (as far as I known). It is mainly time series charts where…

---

## [New to Julia: Help with configuring a "sane" dev environment and editing experience](https://discourse.julialang.org/t/new-to-julia-help-with-configuring-a-sane-dev-environment-and-editing-experience/121387)

<div class="topic-metadata">

**Author:** [@alecStewart1](https://discourse.julialang.org/u/alecStewart1)\
**Replies:** 3\
**Last updated:** [October 21, 2024, 8:07pm UTC](https://discourse.julialang.org/t/new-to-julia-help-with-configuring-a-sane-dev-environment-and-editing-experience/121387 "2024-10-21T20:07:47Z")

</div>

Hey friends! I’m new to Julia, but I’ve been programming for a bit now. I’m mostly used to Common Lisp, Java, Kotlin, Elixir, Python, Javascript/Typescript, pretty much all shell scripting languages. Part of my interes…

---

## [PackageCompiler app with proprietary modules, non "registered"](https://discourse.julialang.org/t/packagecompiler-app-with-proprietary-modules-non-registered/77285)

<div class="topic-metadata">

**Author:** [@xor0110](https://discourse.julialang.org/u/xor0110)\
**Replies:** 0\
**Last updated:** [March 2, 2022, 9:44am UTC](https://discourse.julialang.org/t/packagecompiler-app-with-proprietary-modules-non-registered/77285 "2022-03-02T09:44:03Z")

</div>

I’m trying to use PackageCompiler with a microservice based on HTTP.jl. My project also depends on proprietary modules that are not FOSS projects in GitHub. Everything works fine if I run the code. PackageCompiler.create…

---

## [Creating an Electron App](https://discourse.julialang.org/t/creating-an-electron-app/93166)

<div class="topic-metadata">

**Author:** [@sschmidhuber](https://discourse.julialang.org/u/sschmidhuber)\
**Replies:** 0\
**Last updated:** [January 18, 2023, 3:55pm UTC](https://discourse.julialang.org/t/creating-an-electron-app/93166 "2023-01-18T15:55:54Z")

</div>

Hello, I’m using Julia a bit out of it’s major domain, I wrote a small tool for processing PDFs with a small GUI. I’m using Electron for the GUI part and all in all it works quite well (if I ignore cold start delay). H…

---

## [PackageCompiler help](https://discourse.julialang.org/t/packagecompiler-help/96705)

<div class="topic-metadata">

**Author:** [@jerry\_ji](https://discourse.julialang.org/u/jerry_ji)\
**Replies:** 0\
**Last updated:** [March 28, 2023, 10:52am UTC](https://discourse.julialang.org/t/packagecompiler-help/96705 "2023-03-28T10:52:32Z")

</div>

Hello, I have issue with package compiler. When I use Julia 1.8.5, and PackageCompiler 2.1.5 & PackageCompiler 2.1.2, I get following error on same machine: ┌ Warning: Error requiring StaticArrays from StaticArrayInte…

---

## [PackageCompiler app failure with Flux on AArch64/no GPU](https://discourse.julialang.org/t/packagecompiler-app-failure-with-flux-on-aarch64-no-gpu/99618)

<div class="topic-metadata">

**Author:** [@cirobr](https://discourse.julialang.org/u/cirobr)\
**Replies:** 0\
**Last updated:** [May 30, 2023, 5:14pm UTC](https://discourse.julialang.org/t/packagecompiler-app-failure-with-flux-on-aarch64-no-gpu/99618 "2023-05-30T17:14:12Z")

</div>

Cheers, I am working on an app that should run on an AArch64 multi-core device, no GPU. To become familiar with PackageCompiler, I have initially compiled a simple println(“Hello Word!”). As the function belongs to core…

---

## [Segmentation fault with CUDA](https://discourse.julialang.org/t/segmentation-fault-with-cuda/103664)

<div class="topic-metadata">

**Author:** [@PatriceLebrun](https://discourse.julialang.org/u/PatriceLebrun)\
**Replies:** 0\
**Last updated:** [September 8, 2023, 12:38pm UTC](https://discourse.julialang.org/t/segmentation-fault-with-cuda/103664 "2023-09-08T12:38:28Z")

</div>

Hi, I saw an old issue about it when we use PackageCompiler with CUDA Just to start with PackageCompiler I use only CUDA versioninfo() and ndevices() functions I have no issue at all to create library but I got a seg…

---

## [PackageCompiler App not working other than host computer](https://discourse.julialang.org/t/packagecompiler-app-not-working-other-than-host-computer/117726)

<div class="topic-metadata">

**Author:** [@fasihullahsaleem](https://discourse.julialang.org/u/fasihullahsaleem)\
**Replies:** 0\
**Last updated:** [August 1, 2024, 12:00pm UTC](https://discourse.julialang.org/t/packagecompiler-app-not-working-other-than-host-computer/117726 "2024-08-01T12:00:46Z")

</div>

Hi, I just join this group and new to the Julia Language. I am trying to create the app that I can send to any other computer, and it should be able to run. But the App I created is only working or my PC. The app is succ…

---

## [App using Makie.jl or Plots.jl compiled with PackageCompiler.jl does not work](https://discourse.julialang.org/t/app-using-makie-jl-or-plots-jl-compiled-with-packagecompiler-jl-does-not-work/104319)

<div class="topic-metadata">

**Author:** [@Miroslav-Stimac](https://discourse.julialang.org/u/Miroslav-Stimac)\
**Replies:** 9\
**Last updated:** [September 13, 2024, 2:17am UTC](https://discourse.julialang.org/t/app-using-makie-jl-or-plots-jl-compiled-with-packagecompiler-jl-does-not-work/104319 "2024-09-13T02:17:13Z")

</div>

Hello, I have a program that I programmed with Julia using DataFrames, ODBC, TOML any some other packages. I had been compiling it to a Windows App (.EXE-file) by using PackageCompiler.jl many times and everything is OK…

---

## [Sharing precompiled code across docker images](https://discourse.julialang.org/t/sharing-precompiled-code-across-docker-images/68229)

<div class="topic-metadata">

**Author:** [@racinmat](https://discourse.julialang.org/u/racinmat)\
**Replies:** 5\
**Last updated:** [August 30, 2024, 11:21am UTC](https://discourse.julialang.org/t/sharing-precompiled-code-across-docker-images/68229 "2024-08-30T11:21:28Z")

</div>

I’m struggling with the precompilation time in julia inside docker image. We have some projects in julia in docker, and we’re doing changes quite often to this project, but the packages that take most time to precompile…

---

## [Sharing project with computers that don't have Julia installed](https://discourse.julialang.org/t/sharing-project-with-computers-that-dont-have-julia-installed/118005)

<div class="topic-metadata">

**Author:** [@TravisB](https://discourse.julialang.org/u/TravisB)\
**Replies:** 8\
**Last updated:** [August 9, 2024, 10:29pm UTC](https://discourse.julialang.org/t/sharing-project-with-computers-that-dont-have-julia-installed/118005 "2024-08-09T22:29:56Z")

</div>

I’m wondering what methods or packages exist to share a Julia project to other computers that don’t have Julia installed. The Julia code would be part of a commercial program, and we don’t want to require nontechnical en…

---

## [Anybody with a Mac who could help debugging CI failures?](https://discourse.julialang.org/t/anybody-with-a-mac-who-could-help-debugging-ci-failures/117668)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 8\
**Last updated:** [July 31, 2024, 5:28pm UTC](https://discourse.julialang.org/t/anybody-with-a-mac-who-could-help-debugging-ci-failures/117668 "2024-07-31T17:28:24Z")

</div>

We have an issue with CI failures on macOS with PackageCompiler.jl. This is actually an issue that dates back from last year. Could someone who has access to a Mac have a look: Fix CI failures on macOS · Issue #955 · Ju…

---

## [Why would a sysimage be faster than a package (JuliaScript.jl)?](https://discourse.julialang.org/t/why-would-a-sysimage-be-faster-than-a-package-juliascript-jl/116984)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 4\
**Last updated:** [July 13, 2024, 7:45am UTC](https://discourse.julialang.org/t/why-would-a-sysimage-be-faster-than-a-package-juliascript-jl/116984 "2024-07-13T07:45:02Z")

</div>

As stated in the README, JuliaScript.jl can “create a corresponding julia module and track all precompile statements from the actual run” then “from the second time onwards, it will then run as fast as julia’s precompila…

---

## [PackageCompiler crash after 6 hours of compilation, seemingly running out of memory](https://discourse.julialang.org/t/packagecompiler-crash-after-6-hours-of-compilation-seemingly-running-out-of-memory/115711)

<div class="topic-metadata">

**Author:** [@ErikBuer](https://discourse.julialang.org/u/ErikBuer)\
**Replies:** 3\
**Last updated:** [July 7, 2024, 2:08pm UTC](https://discourse.julialang.org/t/packagecompiler-crash-after-6-hours-of-compilation-seemingly-running-out-of-memory/115711 "2024-07-07T14:08:06Z")

</div>

Hi. I am attempting to build an application with create\_app that will run on a Raspberry Pi 5 (8 GB RAM). I am therefore also compiling my application on the PI. The PI is running the latest Rasbian and is a 64-bit devi…

---

## [PackageCompiler: could not load symbol "\_\_bid32\_from\_string"](https://discourse.julialang.org/t/packagecompiler-could-not-load-symbol-bid32-from-string/116646)

<div class="topic-metadata">

**Author:** [@jehrensb](https://discourse.julialang.org/u/jehrensb)\
**Replies:** 1\
**Last updated:** [July 5, 2024, 2:08pm UTC](https://discourse.julialang.org/t/packagecompiler-could-not-load-symbol-bid32-from-string/116646 "2024-07-05T14:08:45Z")

</div>

I’m trying to compile an application with PackageCompiler.create\_app. While compiling the nonincremental system image, there’s an error: ⡆ \[01m:14s\] PackageCompiler: compiling nonincremental system imagecould not load …

---

## [Trying PackageCompiler.jl lib example on Python](https://discourse.julialang.org/t/trying-packagecompiler-jl-lib-example-on-python/115492)

<div class="topic-metadata">

**Author:** [@el-analista](https://discourse.julialang.org/u/el-analista)\
**Replies:** 5\
**Last updated:** [June 14, 2024, 2:33am UTC](https://discourse.julialang.org/t/trying-packagecompiler-jl-lib-example-on-python/115492 "2024-06-14T02:33:38Z")

</div>

Hey there, I am testing PackageCompiler with the examples in the repo. I am able to compile the library correctly following the documentation but then when I try to use it in Python with the following code I just get s…

---

## [PackageCompiler and Plots.jl: ld warning and 16KB image](https://discourse.julialang.org/t/packagecompiler-and-plots-jl-ld-warning-and-16kb-image/115312)

<div class="topic-metadata">

**Author:** [@mgiugliano](https://discourse.julialang.org/u/mgiugliano)\
**Replies:** 3\
**Last updated:** [June 8, 2024, 10:53am UTC](https://discourse.julialang.org/t/packagecompiler-and-plots-jl-ld-warning-and-16kb-image/115312 "2024-06-08T10:53:59Z")

</div>

I am on a Mac (M3) with Sonoma (14.4.1), running Julia v1.10.4 and trying to use PackageCompiler.jl (v2.1.17) with Plots.jl (v1.40.4). Note I get into the same troubles with any other package I am trying to “prepackage”. …

[Previous page](https://discourse.julialang.org/tag/package-compiler/350.md?match_all_tags=true&tags%5B%5D=package-compiler)

[Next page](https://discourse.julialang.org/tag/package-compiler/350.md?match_all_tags=true&page=2&tags%5B%5D=package-compiler)
