Installing zstd library while on older revision

Hello,

I need to build Haiku for an older hrev to determine when booting failed on my hardware, but I am running into a problem that I need the zstd development files.
I need to boot into an older revision as the newer versions on this computer won’t boot.
I tried installing them using HaikuDepot but that doesn’t seem to work. It says the package is active, but jam still complains that it cannot find the files.
I managed to get around the headers problem by copying the headers somewhere else (I think it was /boot/system/non-packaged/develop/x86 that did the trick), but now it is complaining that it cannot find the library and I cannot find a workaround.
Is there an easier way to build Haiku like this or a place where I can put the library so it is picked up?

If you have an idea about the last hrev that worked, you can simply download iso of that older hrev. They are all available here.

It was about ticket #19218 (PANIC: VMArea::Unwire(0x82033000, 0x1000, 0): no such range) – Haiku where Waddlesplash asked to test with hrev58279 or earlier. I could download hrev58278, so I am hoping that is good enough.
Thanks for the help.

hrev58279 was pushed on 2024-10-22. It’s not so old. If you didn’t delete previous states, perhaps you still have that rev. Then you would just have to chose it from bootloader menu.

I didn’t have that specific revision installed, but once it was clear what the problem was I got the newest version of Haiku booting (by choosing the option “Ignore memory beyond 4 GiB” for the safe mode options). That allowed me to build the specific revision.