Closed ghost closed 11 years ago
You need the development package for libcurl, did you install it? If not, try with libcurl4-openssl-dev.
@pooler awesome that seemed to work, I was assuming libcurl3 was what was needed, not any of the libcurl4 packages. Just did a configure and make and it worked :smile:
Just a note here that after installing libcurl4-openssl-dev
or libcurl4-gnutls-dev
, you will need to run ./autogen.sh
again.
thanks @hanxue that was what i needed :D
Can't install libcurl via yum install on centos fml
okay so I got this far I am compiling under mingw on windows. I ran autogen.sh then LIBCURL="-lcurldll" ./configure CFLAGS="-O3". and I get this error. I installed libcurl 7.57.0 per winbuild instructions. I copied the bin,include, and lib directories from the C:\curl-7.57.0\builds\libcurl-vc-x86-release-dll-ipv6-sspi-winssl dir in curl to mingw bin include and lib folder. This thread says to install libcurl4-openssl-dev but I do not see that as an option for windows. how do I get this working? help is greatly appreciated!! I was missing curl_config copied that ran autogen.sh then configure and got past that error
okay so I got past that error and now I get this one: " checking for the version of libcurl... 7.57.0 checking for libcurl >= version 7.15.2... yes checking whether libcurl is usable... no configure: error: Missing required libcurl >= 7.15.2 " I think I need to install windows sdk as I cannot find mstcpip.h to copy and its not there
got it working finally needed to install mingw options then recompile libcurl then it worked
You should add this to the INSTALL.md/README.md file for Ubuntu.
brew install curl autoconf automake pkg-config
export LDFLAGS="-L/opt/homebrew/opt/curl/lib"
export CPPFLAGS="-I/opt/homebrew/opt/curl/include"
export CFLAGS="-I/opt/homebrew/opt/curl/include -lcurl"
export PKG_CONFIG_PATH="/opt/homebrew/opt/curl/lib/pkgconfig"
2024 MacOS Apple Silicon workaround seems to work
export LDFLAGS="-L/opt/homebrew/opt/curl/lib" export CPPFLAGS="-I/opt/homebrew/opt/curl/include" export CFLAGS="-I/opt/homebrew/opt/curl/include -lcurl" export PKG_CONFIG_PATH="/opt/homebrew/opt/curl/lib/pkgconfig"
what are the export flags to build the minerd.a for iOS target instead of macOS target ? how can i actually build minerd.a static lib for iOS ?
i used this script to try and build iOS libs
I'm using Linux Mint and I have libcurl3 installed. When I run
./configure CFLAGS="-O3"
it gives me the following error:I think
autogen.sh
gave me a warning but I'm not sure if it's related to this.