# Help with creating binaries

**URL:** <https://discourse.julialang.org/t/help-with-creating-binaries/103142>\
**Category:** General Usage\
**Created:** [August 24, 2023, 7:51am UTC](https://discourse.julialang.org/t/help-with-creating-binaries/103142 "2023-08-24T07:51:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajender\_Mudigonda](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rajender_mudigonda/32/52396_2.png) [@Rajender\_Mudigonda](https://discourse.julialang.org/u/Rajender_Mudigonda)\
**Post date:** [August 24, 2023, 7:51am UTC](https://discourse.julialang.org/t/help-with-creating-binaries/103142/1 "2023-08-24T07:51:07Z")

</div>

HI I am trying to create binary for the jl package… by wrapping in a c code, and loading a custom sysimage…  
using  
gcc -DJULIAC\_PROGRAM\_LIBNAME="taxpayer.so" -D\_WIN32 -o MyApp MyApp.c taxpayer.so -O2 -fPIE -I"E:/Programs/Julia-1.9.2/include/julia" -L"E:/Programs/Julia-1.9.2/lib" -ljulia -Wl,-rpath,“E:/Programs/Julia-1.9.2/lib:E:/Programs/Julia-1.9.2/share/julia/stdlib/v1.9:%CD%”

I get these errors  
/usr/lib/gcc/x86\_64-pc-cygwin/11/…/…/…/…/x86\_64-pc-cygwin/bin/ld: /tmp/cc6488EA.o:MyApp.c:(.text.startup+0x23): undefined reference to `uv_setup_args' /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /tmp/cc6488EA.o:MyApp.c:(.text.startup+0x29): undefined reference to `\_\_imp\_libsupport\_init’  
/usr/lib/gcc/x86\_64-pc-cygwin/11/…/…/…/…/x86\_64-pc-cygwin/bin/ld: /tmp/cc6488EA.o:MyApp.c:(.text.startup+0x3f): undefined reference to `\_\_imp\_julia\_init’  
collect2: error: ld returned 1 exit status

any help is appritiated.

Thanks and Regards

---

<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:** [August 25, 2023, 8:47pm UTC](https://discourse.julialang.org/t/help-with-creating-binaries/103142/2 "2023-08-25T20:47:55Z")

</div>

For which package are you trying to create a binary? Which instruction do you try to follow? On which operating system?
