You are not logged in.
Pages: 1
Hey there!
I just installed the arduino and the arduino-avr-core package, but the Arduino IDE gives me this error when I try to compile:
/usr/bin/avr-ld: error while loading shared libraries: libctf.so.0: cannot open shared object file: No such file or directory
collect2: error: ld returned 127 exit status
I then did some research and found out that the libctf library ist missing from binutils or something like that.
Can someone help me?
Last edited by Brain (2021-02-12 18:41:55)
Offline
The research you you did presumably showed this https://bugs.archlinux.org/task/69567 which includes the fix.
Offline
Yes, that is exactly what I found in my research.
Where's the fix though?
(Also using dwm lol it's great)
Offline
My Arduino IDE even fails to start after upgrade :-( . Maybe you have to download the binary tarball on Arduino official site, instead of installing it via pacman.
Offline
The comment[1] by Allan in that BR mentions 3 options, choose the one you prefer.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
I am sorry, but I can not find a solution to the problem. Where exactly did he mention the solutions?
Last edited by Brain (2021-02-21 16:26:56)
Offline
I am sorry, but I can not find a solution to the problem. Where exactly did he mention the solutions?
This did not get caught because no-one spotted it early enough. That is the problem with issues that affect 1% of users.
Welcome to the joys of a bleeding edge rolling release distro. Sometimes you bleed... You can either downgrade using the archive mirrors to the day before this happened, wait for the fix, or use another distro. Up to you - no-one else really cares.
You could also build the package without CFLAGS="-fno-plt" or LDFLAGS="-Wl,-z,now" as mentioned in https://bugs.archlinux.org/task/69567#comment196896
Offline
Pages: 1