I’ve just moved to OMLx, and tried to continue some Rust development. However, it would apear I’m missing the essential libraries necessary for C or Rust development. (Coming from a distribution where these where included)
I’ve had a look around and I think I need something similar to build-essentials (Debian) or base-devel (Arch) considering not even make is installed?
2[robertfry@Rocket scratch]$ which make
which: no make in (/home/robertfry/.local/share/cargo/bin:/usr/local/bin:/usr/bin:/usr/games:/usr/local/games)
2[robertfry@Rocket scratch] ()$ cargo build
Compiling scratch v0.1.0 (/tmp/tmp.bnPFDIx3Ou/scratch)
error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/home/robertfry/.local/share/rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/robertfry/.local/share/cargo/bin:/usr/local/bin:/usr/bin:/usr/games:/usr/local/games" VSLANG="1033" "cc" "-m64" "/tmp/rustcTKUVgh/symbols.o" "<7 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/home/robertfry/.local/share/rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-6273572f18644c87.rlib,libpanic_unwind-267e668abf74a283.rlib,libobject-ec6154ccae37a33e.rlib,libmemchr-500edd5521c440d4.rlib,libaddr2line-86d8d9428792e8ef.rlib,libgimli-10f06487503767c2.rlib,librustc_demangle-6a38424de1e5bca5.rlib,libstd_detect-de9763ea1c19dca3.rlib,libhashbrown-a7f5bb2f736d3c49.rlib,librustc_std_workspace_alloc-7e368919bdc4a44c.rlib,libminiz_oxide-376454d49910c786.rlib,libadler-fa99f5692b5dce85.rlib,libunwind-91cafdaf16f7fe40.rlib,libcfg_if-f7ee3f1ea78d9dae.rlib,liblibc-d3a35665f881365a.rlib,liballoc-715bc629a88bca60.rlib,librustc_std_workspace_core-ae70165d1278cff7.rlib,libcore-406129d0e3fbc101.rlib,libcompiler_builtins-1af05515ab19524a.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/home/robertfry/.local/share/rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/tmp.bnPFDIx3Ou/scratch/target/debug/deps/scratch-a15ec318b4c784c2" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: ld.lld: error: cannot open Scrt1.o: No such file or directory
ld.lld: error: cannot open crti.o: No such file or directory
ld.lld: error: unable to find library -lutil
ld.lld: error: unable to find library -lrt
ld.lld: error: unable to find library -lpthread
ld.lld: error: unable to find library -lm
ld.lld: error: unable to find library -ldl
ld.lld: error: unable to find library -lc
ld.lld: error: cannot open crtn.o: No such file or directory
cc: error: linker command failed with exit code 1 (use -v to see invocation)
error: could not compile `scratch` (bin "scratch") due to 1 previous error
I’d rather not have to install each of these dependencies themselves. Is there a package group (or the like) which contains all necessary C/Rust development libraries?
Uh! I don’t see anything unkind in: Next time, please search the forum
Is it?
Hope not, as it would mean I myself was unkind many times while encouraging the users to use the Search forum function. So apologizes.
32 bit libs start with lib and 64 bit libs start with lib64. If you need the devel variants and want to package I would suggest using pkgs[dot]org as a reference since it will have a Provides section that includes things like cmake() or pkgconfig() so the specs can be more maintainable.
I would appreciate it if you would not tone police people here. You have no idea what someone’s intentions are based on text on a screen. No one here is your therapist or your parent and we will not be moving obstacles and adversities from your path in life, and no honor is found in white knighting especially on the back of something that is entirely your own misunderstanding.
You have not been doing anything wrong. It is completely reasonable for a project to ask their users to do some reading to see if their issues have been solved in their documentation or forum. In any other project, users search the internet like crazy trying to find answers to issues. This is no different. Anyone offended by that is being disingenuous at best, and an authoritarian at worst. There is no place for that here.
Last thing I will say on this, “Woah Nellie,” is a US expression. So, the person is a native English speaker.
I am merely defending myself from someone acting in bad faith that had absolutely nothing pertinent to offer this discussion. You don’t tell me or anyone else how they should communicate based on a standard the person probably does not even subscribe to. I will not be told how to speak by anyone.
If this much common sense is not recognized by someone that was not even a part of the conversation then I have to seriously question their motives.