The binaries in ppp-2.4.7-18.fc28.x86_64 (/usr/sbin/chat, /usr/sbin/pppdump, …, /usr/lib64/pppd/2.4.7/minconn.so, …, /usr/lib64/pppd/2.4.7/winbind.so) have not been linked with the standard Fedora linker flags (LDFLAGS) from redhat-rpm-config. Looking at the build log, there is no LDFLAGS processing at all in the makefile: cc -o pppdump pppdump.o bsd-comp.o deflate.o zlib.o See https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/buildflags.md for information on RPM macros and environment variables provided by the build environment.
ppp-2.4.7-19.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-1c76f6986b
ppp-2.4.7-19.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-1c76f6986b
Sorry, but in ppp-2.4.7-19.fc28.x86_64, LDFLAGS are still missing from the invocation of the linker for the plug-ins, for example: cc -o rp-pppoe.so -shared plugin.o discovery.o if.o common.o
ppp-2.4.7-19.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
(In reply to Florian Weimer from comment #3) > Sorry, but in ppp-2.4.7-19.fc28.x86_64, LDFLAGS are still missing from the > invocation of the linker for the plug-ins, for example: > > cc -o rp-pppoe.so -shared plugin.o discovery.o if.o common.o Thanks for testing, new version ppp-2.4.7-20 should fix it.
ppp-2.4.7-20.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-bee1f20ab4
Now: $ LD_DEBUG=all LD_BIND_NOW=1 LD_PRELOAD=/usr/lib64/pppd/2.4.7/nm-pptp-pppd-plugin.so /usr/sbin/pppd --help ... 4609: relocation processing: /usr/lib64/pppd/2.4.7/nm-pptp-pppd-plugin.so 4609: symbol=ip_up_notifier; lookup in file=/usr/sbin/pppd [0] 4609: symbol=ip_up_notifier; lookup in file=/usr/lib64/pppd/2.4.7/nm-pptp-pppd-plugin.so [0] 4609: symbol=ip_up_notifier; lookup in file=/lib64/libudev.so.1 [0] ... 4609: symbol=ip_up_notifier; lookup in file=/lib64/libpcre2-8.so.0 [0] 4609: /usr/lib64/pppd/2.4.7/nm-pptp-pppd-plugin.so: error: symbol lookup error: undefined symbol: ip_up_notifier (fatal) /usr/sbin/pppd: symbol lookup error: /usr/lib64/pppd/2.4.7/nm-pptp-pppd-plugin.so: undefined symbol: ip_up_notifier with NetworkManager-pptp-1.2.6-1.fc28.x86_64. It works against ppp-2.4.7-18.fc28.x86_64, but fails against -19 and -20. See - https://bugzilla.redhat.com/show_bug.cgi?id=1564459 - https://bugzilla.redhat.com/show_bug.cgi?id=1564598 Florian, do you know what's the problem?
The daemon program is no longer linked with -Wl,-E for some reason, which prevents exports of the symbols used by the plug-ins. The Fedora build flags are compatbible with -Wl,-E, it's just that the ppp makefile no longer passes the flag.
ppp-2.4.7-20.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-bee1f20ab4
ppp-2.4.7-21.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d5ee177b23
ppp-2.4.7-21.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-d5ee177b23
ppp-2.4.7-21.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
*** Bug 1564598 has been marked as a duplicate of this bug. ***