nm-l2tp / NetworkManager-l2tp

L2TP and L2TP/IPsec support for NetworkManager
GNU General Public License v2.0
488 stars 84 forks source link

undefined symbol: nma_utils_setup_password_storage #28

Closed roadriverrail closed 7 years ago

roadriverrail commented 7 years ago

Hi, all. I'm on Ubuntu 15.10. I followed the build instructions from the readme as well as the "known issues" page. Everything makes and installs, but there's a crash on creating a new L2TP connection profile. journalctl shows this:

Nov 23 16:58:18 downhome gnome-session[1536]: /usr/bin/nm-connection-editor: symbol lookup error: /usr/lib/x86_64-linux-gnu/NetworkManager/libnm-l2tp-properties.so: undefined symbol: nm

dkosovic commented 7 years ago

might be related to modifications I did to the nm-1-0 branch a couple of days ago in the properties folder.

Could you try the following to checkout the latest stable release in the nm-1-0 branch:

git checkout 1.0.4

then do autogen.sh and configure again.

roadriverrail commented 7 years ago

That looks like it. I can now get through to the next window.

dkosovic commented 7 years ago

The untruncated error message is :

nm-connection-editor: symbol lookup error: /usr/lib/x86_64-linux-gnu/NetworkManager/libnm-l2tp-properties.so: undefined symbol: nma_utils_setup_password_storage

Looks like Ubuntu 15.10 and earlier come with an older version of libnm-gtk that doesn't include nma_utils_setup_password_storage(). Will see if I can add a local implementation of nma_utils_setup_password_storage() if the configure script can't detect the function.

dkosovic commented 7 years ago

fixed with commit https://github.com/nm-l2tp/network-manager-l2tp/commit/5bd424300fd343813301d130aa468b7ec2b00fc1 in the nm-1-0 branch