-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
Description
Description
I'm sorry this seems like a dumb question, but I can't find the extension file anywhere.
I did the brew install which appeared to work fine
Jacaranda:trunk murraycollingwood$ brew install traildb/judy/judy
==> Downloading https://downloads.sourceforge.net/project/judy/judy/Judy-1.0.5/Judy-1.0.5.tar.gz
Already downloaded: /Users/murraycollingwood/Library/Caches/Homebrew/downloads/811cf99b7c77d4f35a25ce2e232e5f8f8bc1eb030a8f08ee09317475108af72a--Judy-1.0.5.tar.gz
==> Installing judy from traildb/judy
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.3.
==> ./configure --prefix=/opt/homebrew/Cellar/judy/1.0.5
==> make install
🍺 /opt/homebrew/Cellar/judy/1.0.5: 104 files, 1.4MB, built in 33 seconds
==> `brew cleanup` has not been run in the last 30 days, running now...
I then added the extension to the php.ini file:
extension=memprof.so
And lastly, when I run my php unit test:
Warning: PHP Startup: Unable to load dynamic library 'memprof.so' (tried: /opt/homebrew/lib/php/pecl/20210902/memprof.so (dlopen(/opt/homebrew/lib/php/pecl/20210902/memprof.so, 0x0009): tried: '/opt/homebrew/lib/php/pecl/20210902/memprof.so' (no such file), '/usr/local/lib/memprof.so' (no such file), '/usr/lib/memprof.so' (no such file)), /opt/homebrew/lib/php/pecl/20210902/memprof.so.so (dlopen(/opt/homebrew/lib/php/pecl/20210902/memprof.so.so, 0x0009): tried: '/opt/homebrew/lib/php/pecl/20210902/memprof.so.so' (no such file), '/usr/local/lib/memprof.so.so' (no such file), '/usr/lib/memprof.so.so' (no such file))) in Unknown on line 0
Was it my xcode / clt being slightly out of date?
Was it something in the brew?
Or did it all work and I'm just looking in the wrong directory?
Cheers
Murray
php-memprof Version
judy 1.0.5
PHP Version
PHP 8.1
Operating System
OSX 12.2