Opened 11 years ago

Closed 11 years ago

#41370 closed defect (invalid)

php-curl: Unable to load dynamic library '/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/php_curl.dll'

Reported by: kelly@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: php-curl

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Because of this issue, I basically reinstalled my entire system: but after I got everything finally finished installing (per instructions), I am now seeing this bug, and I cannot for the life of me figure out what's going on. I went through all this partly to make sure I had a good, solid and updated setup to be able to work natively on my Mac again. When I first start up iTerm, I get this (and also drush and other tools now don't work because of this error, since basically everything I use needs curl):

PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/php_curl.dll' - dlopen(/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/php_curl.dll, 9): image not found in Unknown on line 0

Any thoughts?

Thanks,

Kelly

Change History (4)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: curl removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: php-curl added
Summary: curl not working after complete reinstallphp-curl: Unable to load dynamic library '/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/php_curl.dll'

What is trying to load /opt/local/lib/php54/extensions/no-debug-non-zts-20100525/php_curl.dll? No MacPorts port that I'm aware of provides that file, and indeed the error message is telling you that the file does not exist. Is that something you've manually entered into your php.ini? If so remove it and install the php54-curl port which provides /opt/local/lib/php54/extensions/no-debug-non-zts-20100525/curl.so and installs its own curl.ini file to load it.

comment:2 Changed 11 years ago by kelly@…

I didn't install the requested extensions that I am aware - when I try to run drush (the Drupal Shell, which also doesn't install anything like this), it fails, citing this error.

I DID install the MacPorts curl package, exactly as described in your install instructions and above.

There is a drush.ini file that adds/modifies some drush-specific php config requirements, and this may be where the request is coming from. I will delete from the drush config for php and see if that solves the problem. However, I get curl failure errors when running drush, so it seems that drush is requiring this as well, so to remove the config for it won't do anything but break things further.

However, it seems clear now that this is probably not a MacPorts issue. However I would be grateful if you could wait to close this until I have a resolution, in case it turns out that there is something that needs resolving via Ports.

Thank you,

Kelly

comment:3 Changed 11 years ago by kelly@…

I have resinstalled drush from scratch, and that seems to have resolved the problem. Thank you for your help! This issue can be closed.

Cheers,

Kelly

comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Ok great!

Note: See TracTickets for help on using tickets.