Summary: | net-misc/sstp-client-1.0.9 with net-dialup/ppp-2.4.7 - /usr/sbin/pppd: /usr/lib64/pppd/2.4.7/sstp-pppd-plugin.so: cannot open shared object file: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | eNca <gentoo> |
Component: | Current packages | Assignee: | Andreis Vinogradovs ( slepnoga ) <andreis.vinogradovs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | maksbotan, proxy-maint, slawomir.nizio |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
net-misc:sstp-client-1.0.9:20140914-082857.log
emerge --info the diff for fixing configure.ac for getting the correct plugin version |
Description
eNca
2014-09-14 09:35:28 UTC
Created attachment 384712 [details]
net-misc:sstp-client-1.0.9:20140914-082857.log
Created attachment 384714 [details]
emerge --info
I think that --with-ppd-plugin-dir should be specified. from its configure.ac, v. 1.0.9: # Check to see if the plugin directory was set AM_CONDITIONAL(WITH_PPP_PLUGIN, test "${enable_ppp_plugin}" = "yes") AC_ARG_WITH([pppd-plugin-dir], AS_HELP_STRING([--with-pppd-plugin-dir=DIR], [path to the pppd plugins directory])) if test -n "$with_pppd_plugin_dir" ; then PPPD_PLUGIN_DIR="$with_pppd_plugin_dir" else PPPD_PLUGIN_DIR="${libdir}/pppd/2.4.5" fi AC_SUBST(PPPD_PLUGIN_DIR) (In reply to SN (Enlik) from comment #3) > I think that --with-ppd-plugin-dir should be specified. > > from its configure.ac, v. 1.0.9: > > # Check to see if the plugin directory was set > AM_CONDITIONAL(WITH_PPP_PLUGIN, test "${enable_ppp_plugin}" = "yes") > AC_ARG_WITH([pppd-plugin-dir], > AS_HELP_STRING([--with-pppd-plugin-dir=DIR], [path to the pppd plugins > directory])) > if test -n "$with_pppd_plugin_dir" ; then > PPPD_PLUGIN_DIR="$with_pppd_plugin_dir" > else > PPPD_PLUGIN_DIR="${libdir}/pppd/2.4.5" > fi > AC_SUBST(PPPD_PLUGIN_DIR) You may want to take a look at how it was done in networkmanager-pptp-0.9.10.0.ebuild (bug 519986). why not starting pppd and get the version directly from the pppd output via grep/sed. This is the way I fixed it in my local portage tree. I attached the diff for configure.ac Created attachment 388344 [details]
the diff for fixing configure.ac for getting the correct plugin version
+ 03 May 2015; Sergey Popov <pinkbyte@gentoo.org> -sstp-client-1.0.9.ebuild, + +sstp-client-1.0.9-r1.ebuild: + Revision bump: add epatch_user, add subslot for ppp dependency, set proper + path for pppd plugin directory, wrt bug #522768. Add missing build-time + dependency on virtual/pkgconfig. Drop old revision |