Open augchan42 opened 8 months ago
I just downloaded v0.6.4, and it works fine. So something was broken with this version.
hosermage@LAPTOP-1RPE37PF:~$ vessel --help vessel 0.6.4
Thanks for the bug report! Glad that you found a temporary workaround. I would also encourage checking out the Mops package manager, which is actively maintained and has good support for Vessel packages.
Ok, I just tried in my wsl ubuntu 22.04 environment and vessel 0.7.0 works, but 0.6.4 doesn't work. Maybe doc needs to be updated? I dunno
That is weird. #50 is part of https://github.com/dfinity/vessel/releases/tag/v0.6.4, so I'd expect that 0.6.4 and 0.7.0 would work in the same way. 🤔
Vessel 0.6.4 works on my Ubuntu 20.04 WSL machine (but not on my 22.04 WSL machine):
hosermage@LAPTOP-1RPE37PF:~/projects/dfinity/examples/motoko/invoice-canister$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
hosermage@LAPTOP-1RPE37PF:~/projects/dfinity/examples/motoko/invoice-canister$ vessel --version
vessel 0.6.4
hosermage@LAPTOP-1RPE37PF:~/bin$ ldd vessel
linux-vdso.so.1 (0x00007ffc6cfbd000)
libssl.so.1.1 => /lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007fecd80f6000)
libcrypto.so.1.1 => /lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007fecd7e20000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fecd7e05000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fecd7de2000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fecd7c93000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fecd7c8d000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fecd7a99000)
/lib64/ld-linux-x86-64.so.2 (0x00007fecd8823000)
Vessel 0.7.0 ldd output:
(.env) hosermage@hosermage-x1:/usr/bin$ ldd vessel
linux-vdso.so.1 (0x00007ffc4a7e2000)
libssl.so.3 => /lib/x86_64-linux-gnu/libssl.so.3 (0x00007f28a25ae000)
libcrypto.so.3 => /lib/x86_64-linux-gnu/libcrypto.so.3 (0x00007f28a216b000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f28a214b000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f28a2064000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f28a1e3c000)
/lib64/ld-linux-x86-64.so.2 (0x00007f28a2cbb000)
(.env) hosermage@hosermage-x1:/usr/bin$ vessel --version
vessel 0.7.0
Not sure if theres a way to dynamically link to the correct version based on OS version. Or just statically link what's needed and be done with it?