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

More
02 Aug 2023 15:30 #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 or Create an account to join the conversation.

More
02 Aug 2023 17:51 #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 or Create an account to join the conversation.

More
02 Aug 2023 20:43 #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
The following user(s) said Thank You: gueee78

Please Log in or Create an account to join the conversation.

More
03 Aug 2023 04:58 - 03 Aug 2023 05:34 #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!
Last edit: 03 Aug 2023 05:34 by gueee78. Reason: removed typo
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

More
03 Aug 2023 06:10 #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 or Create an account to join the conversation.

More
03 Aug 2023 07:18 #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!
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

More
03 Aug 2023 07:40 #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 or Create an account to join the conversation.

More
03 Aug 2023 08:08 #276827 by rodw
 think I followed this
gitlab.com/etherlab.org/ethercat/-/blob/master/INSTALL.md
sorry don't have notes.

Please Log in or Create an account to join the conversation.

More
04 Aug 2023 07:48 #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 or Create an account to join the conversation.

More
04 Aug 2023 08:49 #276870 by Aciera

Please Log in or Create an account to join the conversation.

Time to create page: 0.096 seconds
Powered by Kunena Forum