ethercat: /lib/x86_64-linux-gnu/libstdc++.so.6

More
3 years 2 months ago #276781 by gueee78
Hello all!
I've done a fresh debian bookworm installation, installed linuxcnc from repos and followed rodw's instructions to setup ethercat.
So far so good, everything went fine with no errors up to when I try to list ethercat slaves.
It doesn't show slaves and throws an error: ethercat: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by ethercat)

Can anyone give me a hint how to fix this?

I'm running debian 12.1 with linuxcnc 2.9 

any help is highly appreciated!

Please Log in to join the conversation.

More
3 years 2 months ago #276784 by gueee78
thus far I figured the version GLIBCXX_3.4.32 is part of gcc13.

I can hardly imagine that one would need gcc13 by now?!

I'm still not sure why this error even appears, why would ethercat require a newer version than what comes with debian 12.1 repos?

Please Log in to join the conversation.

More
3 years 2 months ago #276798 by rodw
Can you let me know if you changed the contents of realtime.mk as per the spoiler?
If not, can you do that and reinstall the Linuxcnc driver.
I do remember getting some error if that was not done.

There have been some issues with the upstream EtherCAT repos which I reported. I thought it was all resolved now.
ref:  gitlab.com/etherlab.org/ethercat/-/issues/54

I'll update the issue after your advice

Please Log in to join the conversation.

More
3 years 2 months ago #276816 by gueee78
thanks rodw for your reply!

I used the forked repo from github.com/abausano/linuxcnc-ethercat/tree/master
without altering the realtime.mk

though I tried it with the repo from the first post and the realtime.mk from the spoiler as well. I obviously messed up something different the first time, cause I failed to install lcec properly at this attempt.
I'm gonna try it again with the sittner repo and altered realtime.mk and will report back.

Thanks again rodw!

Please Log in to join the conversation.

More
3 years 2 months ago #276821 by rodw
if all else fails, building etherlabmaster is not difficult and pretty well described.
etherlab.org/en/ethercat/
Also check their git repo too.

Please Log in to join the conversation.

More
3 years 2 months ago #276825 by gueee78
I gave it another try with the sittner repo and the realtime.mk from the spoiler, or better said from the linked thread, cause the spoiler content gave me the seperator error.

However it gave the same result. Well not exactly the same, the lcec.conf.slave-count gave me a different value.

Other than that it still states it needs GLIBCXX_3.4.32

Now I'm gonna try building etherlabmaster, thanks for pointing me in that direction!

Please Log in to join the conversation.

More
3 years 2 months ago #276826 by gueee78
have you got any hints on building the etherlabmaster that I might overlook?

like build options/switches for building the modules?

Please Log in to join the conversation.

More
3 years 2 months ago #276827 by rodw

Please Log in to join the conversation.

More
3 years 2 months ago #276865 by gueee78
I got stuck with this now, unable to compile ethercat master...

Maybe my linux skillz are too outdated to get that thing running, who knows?!

rodw, do you have any advice what else I could try?

Please Log in to join the conversation.

More
3 years 2 months ago #276870 by Aciera

Please Log in to join the conversation.

Time to create page: 0.188 seconds
Powered by Kunena Forum