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
cmake .
CMake Deprecation Warning at CMakeLists.txt:20 (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.
/usr/bin/ld: /usr/lib64/libmbedcrypto.so kann nicht gefunden werden: Datei oder Verzeichnis nicht gefunden
collect2: error: ld returned 1 exit status
PolarSSL/mbedTLS version:
make VERBOSE=1
/home/username/.local/lib/python3.10/site-packages/cmake/data/bin/cmake -S/home/username/dev/build/dislocker -B/home/username/dev/build/dislocker --check-build-system CMakeFiles/Makefile.cmake 0
/home/username/.local/lib/python3.10/site-packages/cmake/data/bin/cmake -E cmake_progress_start /home/username/dev/build/dislocker/CMakeFiles /home/username/dev/build/dislocker//CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Verzeichnis „/home/username/dev/build/dislocker“ wird betreten
make -f src/CMakeFiles/dislocker.dir/build.make src/CMakeFiles/dislocker.dir/depend
make[2]: Verzeichnis „/home/username/dev/build/dislocker“ wird betreten
cd /home/username/dev/build/dislocker && /home/username/.local/lib/python3.10/site-packages/cmake/data/bin/cmake -E cmake_depends "Unix Makefiles" /home/username/dev/build/dislocker /home/username/dev/build/dislocker/src /home/username/dev/build/dislocker /home/username/dev/build/dislocker/src /home/username/dev/build/dislocker/src/CMakeFiles/dislocker.dir/DependInfo.cmake --color=
make[2]: Verzeichnis „/home/username/dev/build/dislocker“ wird verlassen
make -f src/CMakeFiles/dislocker.dir/build.make src/CMakeFiles/dislocker.dir/build
make[2]: Verzeichnis „/home/username/dev/build/dislocker“ wird betreten
[ 2%] Building C object src/CMakeFiles/dislocker.dir/dislocker.c.o
cd /home/username/dev/build/dislocker/src && /usr/bin/cc -DAUTHOR="\"Romain Coltel\"" -DPROGNAME=\"dislocker\" -DVERSION=\"0.7.2\" -DVERSION_DBG=\"master:20a261c\" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY="" -D__ARCH=\"x86_64\" -D__ARCH_X86_64 -D__LINUX -D__OS=\"Linux\" -Ddislocker_EXPORTS -I/home/username/dev/build/dislocker/include -I/usr/include/ruby-2.7.0 -I/usr/include/ruby-2.7.0/x86_64-linux-gnu -I/usr/include/fuse -fPIC -Wall -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Wconversion -Wl,-z,now -Wl,-z,relro -fPIC -MD -MT src/CMakeFiles/dislocker.dir/dislocker.c.o -MF CMakeFiles/dislocker.dir/dislocker.c.o.d -o CMakeFiles/dislocker.dir/dislocker.c.o -c /home/username/dev/build/dislocker/src/dislocker.c
In file included from /home/username/dev/build/dislocker/include/dislocker/accesses/accesses.h:38,
from /home/username/dev/build/dislocker/src/dislocker.c:36:
/home/username/dev/build/dislocker/include/dislocker/ruby.h:40:10: fatal error: ruby.h: Datei oder Verzeichnis nicht gefunden
40 | #include <ruby.h>
| ^~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/dislocker.dir/build.make:76: src/CMakeFiles/dislocker.dir/dislocker.c.o] Fehler 1
make[2]: Verzeichnis „/home/username/dev/build/dislocker“ wird verlassen
make[1]: *** [CMakeFiles/Makefile2:136: src/CMakeFiles/dislocker.dir/all] Fehler 2
make[1]: Verzeichnis „/home/username/dev/build/dislocker“ wird verlassen
make: *** [Makefile:136: all] Fehler 2
This seems to be a common issue that came up often over the years, including one issue by myself when I was on SUSE Tumbelweed 3 years ago that kind of solved itself. Back to Ubuntu 22.04 this comes up again.
The text was updated successfully, but these errors were encountered:
nextgenthemes
changed the title
Not able to compile on Ubuntu 22.04 cmake error: libmbedcrypto.so not found, ruby.h not found
Not able to compile on Ubuntu 22.04 libmbedcrypto.so not found, ruby.h not found
Oct 2, 2023
I was able to fix one issue so far
fixed with:
But now I get:
This seems to be a common issue that came up often over the years, including one issue by myself when I was on SUSE Tumbelweed 3 years ago that kind of solved itself. Back to Ubuntu 22.04 this comes up again.
https://github.com/Aorimn/dislocker/issues?q=ruby.h
No idea what to do,I appreciate any hint.
The text was updated successfully, but these errors were encountered: