php - cURL with SSL dependency error libssl.so libcrypto.so needed in Ubuntu 32bit -
i had 64bit ubuntu have no problems when installed openssl, curl , php commands
openssl
./configure enable-shared curl
./configure --with-ssl=/usr/local/ssl --with-zlib php
./configure .... --with-openssl --with-curl .... but in 32bit ubuntu, installation stopped @ curl level when ran the
make command
here error get
/usr/bin/ld: warning: libssl.so.1.0.0, needed ../lib/.libs/libcurl.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libcrypto.so.1.0.0, needed ../lib/.libs/libcurl.so, not found (try using -rpath or -rpath-link) i went through /usr/local/ssl directory , did found 2 files claimed missing. don't know what's happening here. help!
i found out problem, silly of me overlook curl's website documentation. had pass in environment variable run time linker use shared libraries before configure.
env ldflags=-r/usr/local/ssl/lib ./configure --with-ssl --with-zlib ..and worked without issues. have https support in ubuntu 32bit. here's documentation link http://curl.haxx.se/docs/install.html
Comments
Post a Comment