Score:0

strongSwan service will not start

na flag

Ubuntu 20.04 strongSwan 5.9.1 (swanctl)

I have get the following error:

/usr/sbin/charon-systemd: symbol lookup error: /usr/lib/ipsec/plugins/libstrongswan-stroke.so: undefined symbol: chunk_unmap_clear

It was working before with no issues.

Update:

Upgraded to 5.9.5 from source and it works again. Probably some files were corrupted.

vidarlo avatar
ar flag
How did you install it? What does `apt policy strongswan` show?
na flag
I have installed it from source. Just updated my post.
Score:0
ar flag

Upgraded to 5.9.5 from source and it works again. Probably some files were corrupted.

No, but some library that strongswan relied on changed - so the symbols was no longer matching.

Generally, if possible, it's better to avoid building from source for exactly this reason. In Ubuntu, all packages are matching each other, so upgrading packages ensures that they will still work together.

When you built the new version, you built it against the new library.

Unless you have strong reasons to run a version different from the one in the repositories: don't. Use the included one. If you require special build options, consider downloading the source .deb and rebuilding it. This won't save you from rebuilding, but it will at least make the process hilighted by apt.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.