Page MenuHomeSolus

Curl with kerberos support
Closed, ResolvedPublic

Description

I'm trying to use Live Share for VS Code, but keep getting a authentication / login error. After taking the error to Microsoft's Github, it's been tracked down to be an issue with Curl without kerberos support.

Link to Github issue:
https://github.com/MicrosoftDocs/live-share/issues/212

Can we update the Software Center Curl package, to be compiled with Kerberos support. I think a lot of people use VS Code on Solus and Live Share is a very useful extension. This would definitely benefit more than me.
To enable Kerberos, Curl should be compiled with the "--with-gssapi" flag.

Event Timeline

MariusVB created this task.May 23 2018, 8:38 AM
MariusVB edited projects, added Restricted Project; removed Lacks Project.May 23 2018, 8:39 AM

When I try to build curl with --with-gssapi and pkgconfig32(krb5-gssapi) as a builddep I get the following error:

checking run-time libs availability... failed
configure: error: one or more libs available at link-time are not available run-time. Libs used at link-time: -lssh2 -L/usr/lib64 -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64 -Wl,--copy-dt-needed-entries -Wl,-O1 -Wl,-z,relro -Wl,-z,now -Wl,-z,max-page-size=0x1000 -Wl,-Bsymbolic-functions -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz

And I have no idea why. But in theory it should be possible.

Aren't we missing some libraries to compile it with gssapi?

Thank you for the quick response. Will you continue to look into it?

Check config.log - might just be needing pkgconfig32(com_err)

I'm a little bit annoyed by this change though tbh because its going to force kerberos into system.base..

ikey edited projects, added Platform Integration, Software; removed Restricted Project.May 23 2018, 5:31 PM
ikey changed the task status from Open to In Progress.May 23 2018, 5:39 PM
ikey claimed this task.
ikey triaged this task as High priority.May 23 2018, 5:44 PM

This will be available on Friday

Thank you for the quick triage. Much appreciated!

I dislike being shamed on their unsupported distros list :P Think the support runs in the other direction...

Can confirm Live Share is now working. Thanks for the effort!