You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ELF interpreter /lib64/ld-linux-x86-64.so.2 not found, error 2
Abort trap
Additional information
No response
Reacted by Kainoa Kanter, avkarenow, Val Packett, Dmitry N. Medvedev, Pavel N. Savenkov, Пётр, masterflitzer, 1000TurquoisePogs, Edho Arief, Samuel Åkesson and 65 more
Reacted by rempas, lin72h, Dr. Robert W. Current, Gabriel, Lapo Luchini and Steven G. Harms
Reacted by rempas, lin72h, Dr. Robert W. Current, Gabriel and Steven G. Harms
Reacted by Dmitry N. Medvedev, Pavel N. Savenkov, Mateusz Kifner, masterflitzer, Samuel Åkesson, Dair Aidarkhanov, Erik Junsved, Sergey Ryabinin, Giacomo Olgeni, Nathan Patterson and 26 more
Reacted by Giacomo Olgeni, Dair Aidarkhanov, Erik Junsved, Matthias Wahl, lin72h, Wojciech Sowa, Vincent, Simon Adameit, cyberalt1, Yuri Victorovich and 9 more
Reacted by Dmitry N. Medvedev, Pavel N. Savenkov, masterflitzer, 荧, Samuel Åkesson, Giacomo Olgeni, Dair Aidarkhanov, Erik Junsved, Sergey Ryabinin, Nathan Patterson and 16 more
Reacted by Dmitry N. Medvedev, masterflitzer, Munrok, Pavel N. Savenkov, Giacomo Olgeni, Dair Aidarkhanov, Erik Junsved, Matthias Wahl, Wojciech Sowa, Vincent and 7 more
Reacted by fredskijj, Samuel Åkesson, masterflitzer, Dair Aidarkhanov, Erik Junsved, Sergey Ryabinin, lin72h, Giacomo Olgeni, Matthias Wahl, Wojciech Sowa and 13 more
I see that zig 0.12.1 is available as a FreeBSD package.
If someone want to help, we can prepare a new port and I can commit it into the FreeBSD ports repository.
Reacted by masterflitzer, lin72h, kaminchu, Simon Adameit and cyberalt1
Is there any interest here that the project team help to remove these "ifdefs" so I can test a build?
It can also be a specific branch or a patch I can apply on top of a released version.
Reacted by pbgc, Jorge Schrauwen, lin72h, Dair Aidarkhanov, Marco Siedentopf, mtcradio, Simon Adameit, Jordan Miller, Ryner Reinhardt, cyberalt1 and 2 more
A proper port is definitely the end goal, but it's a bit early - these patches still need to be reviewed and merged upstream first. Once Bun has official or semi-official FreeBSD support baked in, a port would make a lot more sense.
A proper port is definitely the end goal, but it's a bit early - these patches still need to be reviewed and merged upstream first. Once Bun has official or semi-official FreeBSD support baked in, a port would make a lot more sense.
Or we can just put the patches in the port for now and remove them when they're upstreamed, which is what FreeBSD ports usually do.
A proper port is definitely the end goal, but it's a bit early - these patches still need to be reviewed and merged upstream first. Once Bun has official or semi-official FreeBSD support baked in, a port would make a lot more sense.
Or we can just put the patches in the port for now and remove them when they're upstreamed, which is what FreeBSD ports usually do.
FreeBSD ports tree could have e.g. www/bun-devel with local patches if somebody wants to have a crack at this. I think both @lwhsu and @dch will be happy to help shepherd this in.
Reacted by lin72h, ngortheone, kraileth and Camille Scholtz
Activity
yonas commentedon Feb 25, 2023
FreeBSD support would be great.
Dmitry-N-Medvedev commentedon Aug 27, 2023
I do also vote for FreeBSD support :)
masterflitzer commentedon Sep 11, 2023
yes i'd love to see bun supporting freebsd
sermuns commentedon Sep 13, 2023
Me too!
jansc commentedon Sep 21, 2023
FreeBSD-support would be great!
Vringe commentedon Apr 15, 2024
Would love to see that too. hostpoint (big player in switzerland) runs entirely on FreeBSD.
zigster64 commentedon Jun 8, 2024
MeeToo
Latest Zig 0.13 has an official FreeBSD release now (last active one was 0.11) ... so it should be 1 step easier
Will have a look at whats involved in building bun from source, and adding a precompiled bun to bsd's pkg / ports
mfechner commentedon Sep 25, 2024
I see that zig 0.12.1 is available as a FreeBSD package.
If someone want to help, we can prepare a new port and I can commit it into the FreeBSD ports repository.
mfechner commentedon Sep 28, 2024
I currently work on making zig 0.13.0 available:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279604
after the mainainer accepted my PR, I will commit it.
But if I try to compile bun on FreeBSD I just see:
so there is maybe some additional work from the bun repository required.
Can anyone help here?
lin72h commentedon Sep 29, 2024
looks like it's just "ifdef" guard against all the BSD systems
mfechner commentedon Oct 31, 2024
Is there any interest here that the project team help to remove these "ifdefs" so I can test a build?
It can also be a specific branch or a patch I can apply on top of a released version.
DoctorRyner commentedon Jan 19, 2025
@mfechner did you try anything yet?
22 remaining items
bluegod commentedon Mar 31, 2026
any updates on this?
akripo commentedon Apr 1, 2026
Since you already support Linux should not be that hard to make it run on FreeBSD🙏
chiefMarlin commentedon Apr 12, 2026
I got Bun building and running on FreeBSD 15 amd64, based on @lwhsu's claude/freebsd-support branch with ~150 lines of additional patches. Build script and patches here: https://github.com/8ff/bun-freebsd
UnitedMarsupials commentedon Apr 15, 2026
Great, thank you! Can you add a proper port now?
chiefMarlin commentedon Apr 15, 2026
A proper port is definitely the end goal, but it's a bit early - these patches still need to be reviewed and merged upstream first. Once Bun has official or semi-official FreeBSD support baked in, a port would make a lot more sense.
yonas commentedon Apr 15, 2026
Or we can just put the patches in the port for now and remove them when they're upstreamed, which is what FreeBSD ports usually do.
chiefMarlin commentedon Apr 16, 2026
I will look into this
sgharms commentedon Apr 16, 2026
Here for the bun on FreeBSD!
dch commentedon Apr 16, 2026
FreeBSD ports tree could have e.g.
www/bun-develwith local patches if somebody wants to have a crack at this. I think both @lwhsu and @dch will be happy to help shepherd this in.[publish images] Add x86_64/aarch64-freebsd & android target (#29676)
[publish images] Add x86_64/aarch64-freebsd & android target (oven-sh…
xpader commentedon Jun 7, 2026
Still doesn't support ffi on freebsd.
schmitmd commentedon Jun 11, 2026
scripts: teach machine.mjs how to spawn a freebsd image on aws (#24109)