I am attempting to install the expect pecl extension.
OS version = 10.7.3
PHP version 5.3.10 installed via macports
expect version 5.45 installed via macports
The command I am executing:
sudo pecl -d preferred_state=beta install expect
ld: library not found for -lexpect
libexpect5.45.dylib file is located in
Full output of the install command is here.
From what I can tell pecl just can not find the libexpect library, I even tried prepending:
LD_LIBRARY_PATH=/opt/local/lib/expect5.45 LD_LIBRARY_PATH=/System/Library/Tcl/8.5/expect5.45 LD_LIBRARY_PATH=/opt/local/lib
Each location has an
expect5.45.dylib file. It did not help. Can anyone help me figure out how to get this extension installed?