EasyApache not compiling Curl with SSH
EasyApache not compiling Curl with SSL
Hey All,
I recently ran Easy Apache and it broke my server's SSL cURL ability.
Upon looking at the Easy Apache build logs, I found this error while cURL's makefile is being compiled.
I read around, and found that compiling with -fPIC should fix the problem; I just don't know where to put this flag? Additionally, I noted that this is a shared data issue, so, I SSH and ran:
This works fine, however PHP still does not identify that cURL has HTTPS support, despite getting this response:
I tried re-building PHP alone, however this did not fix the issue. What can I do? Thanks.
/usr/bin/ld: /usr/local/lib/librtmp.a(rtmp.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/librtmp.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libcurl.la] Error 1I read around, and found that compiling with -fPIC should fix the problem; I just don't know where to put this flag? Additionally, I noted that this is a shared data issue, so, I SSH and ran:
cd /home/cpeasyapache/src/curl-7/
./configure --disable-shared --enable-sslThis works fine, however PHP still does not identify that cURL has HTTPS support, despite getting this response:
curl -V
curl 7.38.0 (x86_64-unknown-linux-gnu) libcurl/7.38.0 OpenSSL/1.0.1e zlib/1.2.3 libidn/1.18 librtmp/2.2e
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtmp rtsp smtp smtps telnet tftp
Features: IDN IPv6 Largefile NTLM NTLM_WB SSL libI tried re-building PHP alone, however this did not fix the issue. What can I do? Thanks.
-
Ticket #: 5760935 0 -
Hello :) To update, this was a result of a custom compiled libRTMP in the /usr/local/lib directory. Thank you. 0
Please sign in to leave a comment.
Comments
2 comments