[strongSwan] undefined symbol: XXX in all dynamically-linked executables
Shea Levy
shea at shealevy.com
Thu Sep 18 06:13:18 CEST 2014
For what it's worth, switching to clang [1] fixed it. This is probably a
corner case of our build system, but if anyone has any ideas for why
this might happen that'd be great.
~Shea
[1]: https://github.com/NixOS/nixpkgs/commit/a70ecf479798b07ebfc120edc83392a9e93d4de5
On Tue, Sep 16, 2014 at 07:17:22PM -0400, Shea Levy wrote:
> Hi all,
>
> I just added strongswan to my distro's package manager [1], and it all
> seems to build fine but if I try to run any of the dynamically linked
> executables I get a symbol lookup error, e.g.:
>
> > /nix/store/6idv2wv00yww34hny20ikmy0qn5bdb11-strongswan-5.2.0/bin/pki: symbol lookup error: /nix/store/6idv2wv00yww34hny20ikmy0qn5bdb11-strongswan-5.2.0/lib/ipsec/libstrongswan.so.0: undefined symbol: XXX
>
> Note that that XXX is literally in the output. Any ideas for how to
> debug this? There were no special configure flags other than --prefix
> and the only dependency available to the build was gmp.
>
> Thanks,
> Shea
>
> [1]: https://github.com/NixOS/nixpkgs/commit/d8f80630f7f674c345df50ae5090fb21066afe12
> _______________________________________________
> Users mailing list
> Users at lists.strongswan.org
> https://lists.strongswan.org/mailman/listinfo/users
More information about the Users
mailing list