Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 522768 - 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
Summary: net-misc/sstp-client-1.0.9 with net-dialup/ppp-2.4.7 - /usr/sbin/pppd: /usr/l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreis Vinogradovs ( slepnoga )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-14 09:35 UTC by eNca
Modified: 2015-05-03 09:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
net-misc:sstp-client-1.0.9:20140914-082857.log (file_522768.txt,1.57 KB, text/plain)
2014-09-14 09:39 UTC, eNca
Details
emerge --info (file_522768.txt,4.82 KB, text/plain)
2014-09-14 09:40 UTC, eNca
Details
the diff for fixing configure.ac for getting the correct plugin version (plugin_version.diff,545 bytes, text/plain)
2014-11-02 18:00 UTC, Jochen Schlick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eNca 2014-09-14 09:35:28 UTC
After updating ppp from 2.4.5 to 2.4.7 the sstp client stops working.

When i run 'pon mynetwork' then it says:

/usr/sbin/pppd: /usr/lib64/pppd/2.4.7/sstp-pppd-plugin.so: cannot open shared object file: No such file or directory
/usr/sbin/pppd: Couldn't load plugin sstp-pppd-plugin.so

I have tried to reemerge sstp-client (emerge -1av sstp-client) but it doesn't helps.

Sstp client puts the sstp-ppd-plugin.so file to the wrong directory (/usr/lib64/pppd/2.4.5 instead of /usr/lib64/pppd/2.4.7). When I move sstp-ppd-plugin.so to the /usr/lib64/pppd/2.4.7 directory then everyting works well.
Comment 1 eNca 2014-09-14 09:39:03 UTC
Created attachment 384712 [details]
net-misc:sstp-client-1.0.9:20140914-082857.log
Comment 2 eNca 2014-09-14 09:40:48 UTC
Created attachment 384714 [details]
emerge --info
Comment 3 Sławomir Nizio 2014-09-27 23:34:11 UTC
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)
Comment 4 Sławomir Nizio 2014-09-27 23:35:44 UTC
(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).
Comment 5 Jochen Schlick 2014-11-02 17:58:25 UTC
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
Comment 6 Jochen Schlick 2014-11-02 18:00:34 UTC
Created attachment 388344 [details]
the diff for fixing configure.ac for getting the correct plugin version
Comment 7 Sergey Popov gentoo-dev 2015-05-03 09:21:52 UTC
+  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