Arch linux compilation problems

           -DCMAKE_BUILD_TYPE=RelWithDebInfo \
           -DLAF_BACKEND=skia \
           -DSKIA_DIR=$HOME/deps/skia \
           -DSKIA_LIBRARY_DIR=$HOME/deps/skia/out/Release-x64 \
           -DSKIA_LIBRARY=$HOME/deps/skia/out/Release-x64/libskia.a \
           -G Ninja \
           ..
CMake Deprecation Warning at CMakeLists.txt:16 (cmake_policy):
  The OLD behavior for policy CMP0046 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Could NOT find CCache (missing: CCache_EXECUTABLE)
CMake Deprecation Warning at third_party/zlib/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Symbol prefix:
-- Adding -lm flag.
-- Performing Test WEBP_HAVE_FLAG_SSE41
-- Performing Test WEBP_HAVE_FLAG_SSE41 - Failed
-- Performing Test WEBP_HAVE_FLAG_SSE41
-- Performing Test WEBP_HAVE_FLAG_SSE41 - Success
-- Performing Test WEBP_HAVE_FLAG_SSE2
-- Performing Test WEBP_HAVE_FLAG_SSE2 - Success
-- Performing Test WEBP_HAVE_FLAG_MIPS32
-- Performing Test WEBP_HAVE_FLAG_MIPS32 - Failed
-- Performing Test WEBP_HAVE_FLAG_MIPS32
-- Performing Test WEBP_HAVE_FLAG_MIPS32 - Failed
-- Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2
-- Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2 - Failed
-- Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2
-- Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2 - Failed
-- Performing Test HAS_COMPILE_FLAG
-- Performing Test HAS_COMPILE_FLAG - Failed
-- Performing Test WEBP_HAVE_FLAG_NEON
-- Performing Test WEBP_HAVE_FLAG_NEON - Failed
-- Performing Test WEBP_HAVE_FLAG_NEON
-- Performing Test WEBP_HAVE_FLAG_NEON - Failed
-- Performing Test WEBP_HAVE_FLAG_MSA
-- Performing Test WEBP_HAVE_FLAG_MSA - Failed
-- Performing Test WEBP_HAVE_FLAG_MSA
-- Performing Test WEBP_HAVE_FLAG_MSA - Failed
-- Performing Test HAS_COMPILE_FLAG
-- Performing Test HAS_COMPILE_FLAG - Failed
-- curl version=[7.79.1-DEV]
-- CA path only supported by OpenSSL, GnuTLS or mbed TLS. Set CURL_CA_PATH=none or enable one of those TLS backends.
-- Enabled features: IPv6 unixsockets libz AsynchDNS Largefile alt-svc HSTS
-- Enabled protocols: DICT FILE FTP GOPHER HTTP IMAP LDAP MQTT POP3 RTSP SMTP TELNET TFTP
-- Enabled SSL backends:
-- Version: 6.2.0
-- Build type: RelWithDebInfo
-- CXX_STANDARD: 14
-- Required features: cxx_variadic_templates
CMake Deprecation Warning at third_party/json11/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Extended attributes support: Linux
-- ACL support: libacl (POSIX.1e)
-- Could NOT find deflate (missing: DEFLATE_LIBRARY DEFLATE_INCLUDE_DIRS)
-- laf backend: skia
-- laf pixman: pixman
-- laf freetype: /home/a/deps/skia/out/Release-x64/libfreetype2.a
-- laf harfbuzz: /home/a/deps/skia/out/Release-x64/libharfbuzz.a
-- skia dir: /home/a/deps/skia
-- skia library: /home/a/deps/skia/out/Release-x64/libskia.a
-- skia library dir: /home/a/deps/skia/out/Release-x64
-- Configuring done
-- Generating done
-- Build files have been written to: /mnt/z/aseprite/build
┬─[a@arch:/mnt/z/aseprite/build]─[10:44:57 PM]
╰─>$ ninja aseprite
ninja: error: '/usr/lib/libdl.so', needed by 'bin/gen', missing and no known rule to make it

anyone have this issue on linux? No idea what’s wrong, it was building fine in feb 08 2022

fixed by just copying the .2 one, sudo /usr/lib/libdl.so.2 /usr/lib/libdl.so