You are not logged in.

#1 2021-02-15 14:43:53

pedro-cabreu
Member
Registered: 2021-01-04
Posts: 5

[SOLVED] Arduino IDE issue libctf.so.0 error 127

When i try to compile or upload on my arduino ide it gives me:

/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
exit status 1

Last edited by pedro-cabreu (2021-02-15 15:33:34)

Offline

#2 2021-02-15 15:01:27

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 10,195
Website

Re: [SOLVED] Arduino IDE issue libctf.so.0 error 127

Where is that dependency coming from?

lddtree /usr/bin/avr-ld

(lddtree is part of pax-utils)


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2021-02-15 15:07:21

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 8,325

Re: [SOLVED] Arduino IDE issue libctf.so.0 error 127

Offline

#4 2021-02-15 15:32:08

pedro-cabreu
Member
Registered: 2021-01-04
Posts: 5

Re: [SOLVED] Arduino IDE issue libctf.so.0 error 127

That worked:

$ asp checkout avr-binutils
$ cd avr-binutils
$ git checkout 41cab1afc826c22d5e1049f1bb60ab9e9b714f7e
$ cd trunk
$ makepkg -sci

Thank you.

Offline

#5 2021-02-23 18:40:54

hifigraz
Member
Registered: 2017-05-01
Posts: 29

Re: [SOLVED] Arduino IDE issue libctf.so.0 error 127

why is this marked fixed? It's only a workaround ....

Offline

Board footer

Powered by FluxBB