Opened 14 years ago
Closed 14 years ago
#25858 closed defect (invalid)
curl still links with openssl 0.9.8
Reported by: | dfingonnet@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | ||
Port: | curl |
Description
Hello,
I've just installed php5-curl:
sudo port install php5-curl
But I get with apache2 :
Call to undefined function curl_version()
The same script works like a charm in command line.
/opt/local/bin/php -r 'var_dump(curl_version());'
Any idea ?
Change History (5)
comment:1 Changed 14 years ago by dfingonnet@…
comment:2 Changed 14 years ago by dfingonnet@…
the file /opt/local/lib/libssl.0.9.8.dylib doesn't exist But this one does /opt/local/lib/libssl.1.0.0.dylib
comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Port: | curl added; php5-curl removed |
Status: | new → assigned |
Summary: | php5-curl works in command line but not in apache2 → curl still links with openssl 0.9.8 |
Remember to Cc ports' maintainers (in this case, that's me).
Your curl is still linking with the old openssl. That should have been fixed by r69520. I also increased the revision of php5-curl in r70108 to prompt a rebuild of that port.
Please selfupdate to make sure your MacPorts and port definitions are up to date:
sudo port selfupdate
View the list of outdated ports:
port outdated
php5-curl should be listed. Hopefully so is curl.
If curl is not listed, force it to upgrade anyway with:
sudo port clean curl sudo port -n upgrade --force curl
Upgrade all other outdated ports:
sudo port clean outdated sudo port upgrade outdated
Then restart the web server and try again.
comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Good, glad you got it working.
I found the problem but don't know how to deal with it. In my apache/php logs, when I start apache, I get :