Giter VIP home page Giter VIP logo

Comments (10)

NathanFreeman avatar NathanFreeman commented on August 16, 2024 1

I need to research that. I haven't used the libcurl4-gnutls-dev dependency much.

from swoole-src.

mlocati avatar mlocati commented on August 16, 2024 1

So, the only solution is to use libcurl4-openssl-dev?

This appears to be due to PHP depending on libcurl4-openssl-dev, and then installing libcurl4-gnutls-dev, causing dependency confusion

There are many other PHP extensions that work with libcurl4-gnutls-dev without any problems...

from swoole-src.

NathanFreeman avatar NathanFreeman commented on August 16, 2024

Try replacing libcurl4-gnutls-dev with libcurl4-openssl-dev and try again.

from swoole-src.

mlocati avatar mlocati commented on August 16, 2024

Try replacing libcurl4-gnutls-dev with libcurl4-openssl-dev and try again.

That works.

Can the support for libcurl4-gnutls-dev be fixed?

from swoole-src.

mhkarimi1383 avatar mhkarimi1383 commented on August 16, 2024

@NathanFreeman
When will the problem be fixed?
We are not able to build our PHP base images (enabling curl support will make composer to get core dump error)

from swoole-src.

NathanFreeman avatar NathanFreeman commented on August 16, 2024

Fix this issue this week, try replacing libcurl4-gnutls-dev with libcurl4-openssl-dev @mhkarimi1383

from swoole-src.

mhkarimi1383 avatar mhkarimi1383 commented on August 16, 2024

Fix this issue this week, try replacing libcurl4-gnutls-dev with libcurl4-openssl-dev @mhkarimi1383

Thanks, solved the problem

I think it should be added as a notice somewhere until problem solves

from swoole-src.

NathanFreeman avatar NathanFreeman commented on August 16, 2024

This appears to be due to PHP depending on libcurl4-openssl-dev, and then installing libcurl4-gnutls-dev, causing dependency confusion. @mhkarimi1383 @mlocati

from swoole-src.

matyhtf avatar matyhtf commented on August 16, 2024

The versions of header files and dynamic link libraries must be exactly the same

from swoole-src.

NathanFreeman avatar NathanFreeman commented on August 16, 2024

@mlocati @mhkarimi1383
Since both PHP and Swoole share some code from the cURL extension, they need to be linked to the same dynamic libraries and header files during compilation.

from swoole-src.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.