Skip to content

Unable to compile lact-0.8.2 from source #786

@juanitotc

Description

@juanitotc

Checklist

  • The problem is not listed in the hardware support matrix as a known limitation. Examples of known driver-side issues are fans not turning on with a custom curve on RDNA3/4 and missing fan control on laptops.
  • I've included a debug snapshot if the issue is related to hardware configuration
  • I've checked that the issue still happens in the latest development build.

Bug description

lact-0.8.1 compiles from source without problems.

If I try to compile lact-0.8.2 or a git clone of the lact repo the build fails with the error below

Is -lcrypto and/or -lssl missing? Is a more recent version than openssl-3.5.2 required?

make
...
cargo build -p lact --release
   Compiling lact v0.8.3 (/usr/src/LACT/lact)
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/tmp/tcloop/rust/usr/local/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/tc/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/etc/sysconfig/tcedir/ondemand" VSLANG="1033" "cc" "-m64" "/tmp/rustcU8yuFb/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/rustcU8yuFb/{libring-e15411659aa84d06.rlib}" "/tmp/tcloop/rust/usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcompiler_builtins-d39c952faf8a140f.rlib}" "-Wl,-Bdynamic" "-lgtk-4" "-lpangocairo-1.0" "-lpango-1.0" "-lharfbuzz" "-lgdk_pixbuf-2.0" "-lcairo-gobject" "-lcairo" "-lvulkan" "-lgraphene-1.0" "-lgio-2.0" "-lgobject-2.0" "-lglib-2.0" "-lgtk-4" "-lpangocairo-1.0" "-lpango-1.0" "-lharfbuzz" "-lgdk_pixbuf-2.0" "-lcairo-gobject" "-lcairo" "-lvulkan" "-lgraphene-1.0" "-lgio-2.0" "-lgobject-2.0" "-lglib-2.0" "-lgraphene-1.0" "-lgobject-2.0" "-lglib-2.0" "-lgtk-4" "-lpangocairo-1.0" "-lpango-1.0" "-lharfbuzz" "-lgdk_pixbuf-2.0" "-lcairo-gobject" "-lcairo" "-lvulkan" "-lgraphene-1.0" "-lgio-2.0" "-lgobject-2.0" "-lglib-2.0" "-lpango-1.0" "-lgobject-2.0" "-lglib-2.0" "-lharfbuzz" "-lgdk_pixbuf-2.0" "-lgobject-2.0" "-lglib-2.0" "-lgio-2.0" "-lgobject-2.0" "-lglib-2.0" "-lgobject-2.0" "-lglib-2.0" "-lcairo-gobject" "-lcairo" "-lgobject-2.0" "-lglib-2.0" "-lgobject-2.0" "-lglib-2.0" "-lOpenCL" "-ldl" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/src/LACT/./target/release/build/ring-3959200b332ea2ed/out" "-L" "/usr/local/lib" "-L" "/usr/local/lib" "-L" "/usr/local/lib" "-L" "/usr/local/lib" "-L" "/usr/local/lib" "-L" "/usr/local/lib" "-L" "/usr/local/lib" "-L" "/usr/local/lib" "-L" "/usr/local/lib" "-L" "/usr/local/lib" "-L" "/usr/local/lib" "-L" "/usr/local/lib" "-L" "/tmp/tcloop/rust/usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/usr/src/LACT/./target/release/deps/lact-1d2a16b645a71f56" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,--strip-all" "-nodefaultlibs"
  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: /usr/local/bin/ld: /usr/src/LACT/./target/release/deps/lact-1d2a16b645a71f56.lact.34bfb7baf3913a27-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::open_strided':
          lact.34bfb7baf3913a27-cgu.0:(.text.unlikely._ZN4ring4aead7aes_gcm12open_strided17hcba11f204b0d7ce4E+0x37a): undefined reference to `ring_core_0_17_14__aes_nohw_encrypt'
          /usr/local/bin/ld: /usr/src/LACT/./target/release/deps/lact-1d2a16b645a71f56.lact.34bfb7baf3913a27-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::finish':
          lact.34bfb7baf3913a27-cgu.0:(.text._ZN4ring4aead7aes_gcm6finish17h0e779af93e98298dE+0x59): undefined reference to `ring_core_0_17_14__aes_nohw_encrypt'
...

System info

- LACT version: 0.8.2
- GPU model: Intel HD4400 Haswell
- Kernel version: 6.12.11
- Distribution: TinyCorePure64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions