Comments (3)
Thanks for the quick response!
I just tried this, and it looks like I already have them installed. I want to say I copied it out of that file earlier :)
Reading package lists... Done
Building dependency tree
Reading state information... Done
clang is already the newest version (1:10.0-50~exp1).
libclang-dev is already the newest version (1:10.0-50~exp1).
llvm-dev is already the newest version (1:10.0-50~exp1).
0 upgraded, 0 newly installed, 0 to remove and 84 not upgraded.
Edit:
now it seems like I'm getting a different error than the one in that other issue.
Compiling libperl-sys v0.2.0
error: linking with `cc` failed: exit status: 1
|
= note: "cc" "-Wl,--version-script=/tmp/rustcnpE923/list" "-m64" "/home/ttay24/development/tss/test-perl/target/debug/deps/libperl_sys-415add4f6d7186ff.libperl_sys.6de8a175-cgu.0.rcgu.o" "/home/ttay24/development/tss/test-perl/target/debug/deps/libperl_sys-415add4f6d7186ff.libperl_sys.6de8a175-cgu.1.rcgu.o" "/home/ttay24/development/tss/test-perl/target/debug/deps/libperl_sys-415add4f6d7186ff.libperl_sys.6de8a175-cgu.10.rcgu.o" "/home/ttay24/development/tss/test-perl/target/debug/deps/libperl_sys-415add4f6d7186ff.libperl_sys.6de8a175-cgu.11.rcgu.o" "/home/ttay24/development/tss/test-perl/target/debug/deps/libperl_sys-415add4f6d7186ff.libperl_sys.6de8a175-cgu.12.rcgu.o" "/home/ttay24/development/tss/test-perl/target/debug/deps/libperl_sys-415add4f6d7186ff.libperl_sys.6de8a175-cgu.13.rcgu.o" "/home/ttay24/development/tss/test-perl/target/debug/deps/libperl_sys-415add4f6d7186ff.libperl_sys.6de8a175-cgu.14.rcgu.o" "/home/ttay24/development/tss/test-perl/target/debug/deps/libperl_sys-415add4f6d7186ff.libperl_sys.6de8a175-cgu.15.rcgu.o" "/home/ttay24/development/tss/test-perl/target/debug/deps/libperl_sys-415add4f6d7186ff.libperl_sys.6de8a175-cgu.2.rcgu.o" "/home/ttay24/development/tss/test-perl/target/debug/deps/libperl_sys-415add4f6d7186ff.libperl_sys.6de8a175-cgu.3.rcgu.o" "/home/ttay24/development/tss/test-perl/target/debug/deps/libperl_sys-415add4f6d7186ff.libperl_sys.6de8a175-cgu.4.rcgu.o" "/home/ttay24/development/tss/test-perl/target/debug/deps/libperl_sys-415add4f6d7186ff.libperl_sys.6de8a175-cgu.5.rcgu.o" "/home/ttay24/development/tss/test-perl/target/debug/deps/libperl_sys-415add4f6d7186ff.libperl_sys.6de8a175-cgu.6.rcgu.o" "/home/ttay24/development/tss/test-perl/target/debug/deps/libperl_sys-415add4f6d7186ff.libperl_sys.6de8a175-cgu.7.rcgu.o" "/home/ttay24/development/tss/test-perl/target/debug/deps/libperl_sys-415add4f6d7186ff.libperl_sys.6de8a175-cgu.8.rcgu.o" "/home/ttay24/development/tss/test-perl/target/debug/deps/libperl_sys-415add4f6d7186ff.libperl_sys.6de8a175-cgu.9.rcgu.o" "/home/ttay24/development/tss/test-perl/target/debug/deps/libperl_sys-415add4f6d7186ff.378hnq0eq6nm0g2d.rcgu.o" "-Wl,--as-needed" "-L" "/home/ttay24/development/tss/test-perl/target/debug/deps" "-L" "/usr/local/lib" "-L" "/usr/lib/x86_64-linux-gnu/perl/5.30/CORE" "-L" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lperl" "-ldl" "-lm" "-lpthread" "-lc" "-lcrypt" "-Wl,--start-group" "-Wl,-Bstatic" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a46a068050a12a4b.rlib" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1df56095db9453cb.rlib" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-9062de483386e50b.rlib" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-b988ab269ff13602.rlib" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-1bc822d886d4f7bd.rlib" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-963eca8df4c224a6.rlib" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d805b480c9102e58.rlib" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-06dfdbc22b935051.rlib" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-d7523a4d118e6572.rlib" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5d7898c7fac3a07d.rlib" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8c2bdbab4845bf3d.rlib" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-d578639df0547b30.rlib" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-58bbb7b1efa3a5e2.rlib" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-4c9b082d197c16f8.rlib" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-70f9ed6d8e7a5ce6.rlib" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-8c0a241d0360fa53.rlib" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-bad7ed93fdd31371.rlib" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-98b4d121af2b7335.rlib" "-Wl,--end-group" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1d9f7e5920635d15.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/ttay24/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/ttay24/development/tss/test-perl/target/debug/deps/liblibperl_sys-415add4f6d7186ff.so" "-Wl,--gc-sections" "-shared" "-Wl,-zrelro,-znow" "-nodefaultlibs" "-Wl,-rpath,/usr/lib/x86_64-linux-gnu/perl/5.30/CORE"
= note: /usr/bin/ld: cannot find -lperl
collect2: error: ld returned 1 exit status
error: could not compile `libperl-sys` due to previous error
from libperl-rs.
Hi! Thank you for reporting the lack of documentation for dependencies. Yes, I should write it in README!
In ubuntu, I use below to build it. (Same is used in runtest-docker.zsh
)
sudo apt install -y llvm-dev libclang-dev clang
I hope this helps.
Thank you!
from libperl-rs.
Hi!
For -lperl issue, see this comment: #2 (comment)
from libperl-rs.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libperl-rs.