ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
7

Dependency problem: libcurl4-openssl-dev vs libcurl4-gnutls-dev

asked 2012-05-21 10:26:49 -0500

smash0190 gravatar image

ROS fuerte on 12.04 depends on libcurl4-openssl-dev, however most of the standard packages in ubuntu including the one I want to use now (libdap-dev/libgdal1-dev) depend on libcurl4-gnutls-dev.

These two packages are mutually exclusive and I have not found a solution out of this dependency conflict.

Has anybody found a solution to this problem? Would it be feasible to change ROS to depend on libcurl4-gnutls-dev instead?

edit retag flag offensive close merge delete

Comments

3

I've had the same issue on one of my machines. Both packages provide "libcurl-dev" (or "libcurl-ssl-dev") virtual package, so maybe ROS could depend on that so that it wouldn't matter which package was installed, as long as at least one was.

Eric Perko gravatar image Eric Perko  ( 2012-05-21 10:58:18 -0500 )edit

+1 (@Eric Perko)

Martin Günther gravatar image Martin Günther  ( 2012-05-21 22:30:17 -0500 )edit

I just got bitten by this. I need libgdal1-dev but installing that will remove the fuerte packages. Any suggestions of how to work around this?

TommyP gravatar image TommyP  ( 2012-06-05 04:49:31 -0500 )edit

You could try compiling the packages that depend on libcurl4-openssl-dev (I think it's only the resource_retriever package and anything that depends on resource_retriever) with libcurl4-gnutls-dev installed... maybe it would just work if you compiled it against the other version?

Eric Perko gravatar image Eric Perko  ( 2012-06-05 05:41:40 -0500 )edit
1

For a little background on this issue, see http://curl.haxx.se/legal/distro-dilemma.html

Eric Perko gravatar image Eric Perko  ( 2012-07-13 08:34:15 -0500 )edit

Thanks for the background info, @Eric! What I understand from this discussion is that whenever possible, one should use the gnutls variant, since the openssl variant is only there for backward compatibility. Is that correct? Should someone open a bug report on this?

Martin Günther gravatar image Martin Günther  ( 2012-07-15 22:27:08 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2012-07-16 07:35:21 -0500

Eric Perko gravatar image

I think it mainly depends on licensing and the fact that OpenSSL and GNUTLS don't have exactly the same feature sets. If your code is BSD, you have no issue using the OpenSSL version. I think the real problem is that they can't be installed side-by-side because they have the same .so names...

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2012-05-21 10:26:49 -0500

Seen: 4,997 times

Last updated: May 21 '12