|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hello, I have run into a problem when trying to get the ssh2 bindings to
run on PHP. I have successfully installed libssh2 and have gotten version 0.11 of ssh2 to compile correctly using the patch obtained through the 'package bugs' page. However, when I load php, I get the following error: dyld: NSLinkModule() error dyld: Symbol not found: _zval_used_for_init Referenced from: /private/etc/php_modules/ssh2.so Expected in: flat namespace Trace/BPT trap I'm kind of a php novice so any advice you could give me would be greatly appreciated. I'm running PHP v5.2.5 on Mac OS 10.5.2 and am more than willing to provide you with any other details. Cheers, Michael Stroh |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Mon, Apr 7, 2008 at 10:16 AM, Michael Stroh <stroh@astroh.org> wrote:
> Hello, I have run into a problem when trying to get the ssh2 bindings to > run on PHP. I have successfully installed libssh2 and have gotten version > 0.11 of ssh2 to compile correctly using the patch obtained through the > 'package bugs' page. However, when I load php, I get the following error: > > dyld: NSLinkModule() error > dyld: Symbol not found: _zval_used_for_init > Referenced from: /private/etc/php_modules/ssh2.so > Expected in: flat namespace Re-run ./configure for libssh2 and see if there are any errors there. The missing symbol in the compiled .so file (_zval_used_for_init) I believe refers to Zend Optimizer, so you may just need to reinstall that (and maybe a newer version). -- </Daniel P. Brown> Ask me about: Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo., and shared hosting starting @ $2.50/mo. Unmanaged, managed, and fully-managed! |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Thanks for your advice Daniel.
I installed the new version of Zend Optimizer but then received the following error: dyld: NSLinkModule() error dyld: Symbol not found: _zend_extensions Referenced from: /usr/local/Zend/lib/ZendExtensionManager.so Expected in: flat namespace Trace/BPT trap I checked the Zend forums and it is believed that they will not support Mac OS 10.5 and thus the error. Is there another package I can use to replace Zend for the purpose of ssh2? Cheers, Michael On Mon, April 7, 2008 10:21 am, Daniel Brown wrote: > On Mon, Apr 7, 2008 at 10:16 AM, Michael Stroh <stroh@astroh.org> wrote: >> Hello, I have run into a problem when trying to get the ssh2 bindings to >> run on PHP. I have successfully installed libssh2 and have gotten >> version >> 0.11 of ssh2 to compile correctly using the patch obtained through the >> 'package bugs' page. However, when I load php, I get the following >> error: >> >> dyld: NSLinkModule() error >> dyld: Symbol not found: _zval_used_for_init >> Referenced from: /private/etc/php_modules/ssh2.so >> Expected in: flat namespace > > Re-run ./configure for libssh2 and see if there are any errors > there. The missing symbol in the compiled .so file > (_zval_used_for_init) I believe refers to Zend Optimizer, so you may > just need to reinstall that (and maybe a newer version). > > -- > </Daniel P. Brown> > Ask me about: > Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo., > and shared hosting starting @ $2.50/mo. > Unmanaged, managed, and fully-managed! > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On Mon, Apr 7, 2008 at 11:25 AM, Michael Stroh <stroh@astroh.org> wrote:
> Thanks for your advice Daniel. > > > I checked the Zend forums and it is believed that they will not support > Mac OS 10.5 and thus the error. Is there another package I can use to > replace Zend for the purpose of ssh2? If you're using it for Zend Encoder-encoded files, the answer is no. If you just have it installed because it seems like a good idea, then your best bet would be to comment-out the [Zend] section of your php.ini and restart your HTTP server (Apache?) so that the changes take effect. Then try the SSH code again. -- </Daniel P. Brown> Ask me about: Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo., and shared hosting starting @ $2.50/mo. Unmanaged, managed, and fully-managed! |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
Thanks so much! That seems to have done the trick. I commented out those
files in my php.ini file and then a reinstallation of ssh2 worked. Zend must have been installed by some default setting. Thanks again for your Daniel! Cheers, Michael On Mon, April 7, 2008 11:29 am, Daniel Brown wrote: > On Mon, Apr 7, 2008 at 11:25 AM, Michael Stroh <stroh@astroh.org> wrote: >> Thanks for your advice Daniel. >> >> >> I checked the Zend forums and it is believed that they will not support >> Mac OS 10.5 and thus the error. Is there another package I can use to >> replace Zend for the purpose of ssh2? > > If you're using it for Zend Encoder-encoded files, the answer is > no. If you just have it installed because it seems like a good idea, > then your best bet would be to comment-out the [Zend] section of your > php.ini and restart your HTTP server (Apache?) so that the changes > take effect. Then try the SSH code again. > > -- > </Daniel P. Brown> > Ask me about: > Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo., > and shared hosting starting @ $2.50/mo. > Unmanaged, managed, and fully-managed! > |
|
![]() |
| Outils de la discussion | |
|
|