Edit report at https://bugs.php.net/bug.php?id=59916&edit=1

 ID:                 59916
 Comment by:         peter at ptm dot pp dot ru
 Reported by:        mark dot frost at lightningsource dot com
 Summary:            Can't use module on Fedora 15
 Status:             Open
 Type:               Bug
 Package:            expect
 Operating System:   Fedora 15
 PHP Version:        5.3.6
 Block user comment: N
 Private report:     N

 New Comment:

Have the same problem in CentOS 6.

# rpm -q expect expect-devel tcl tcl-devel php php-devel
expect-5.44.1.15-2.el6.x86_64
expect-devel-5.44.1.15-2.el6.x86_64
tcl-8.5.7-6.el6.x86_64
tcl-devel-8.5.7-6.el6.x86_64
php-5.3.8-5.el6.remi.x86_64
php-devel-5.3.8-5.el6.remi.x86_64

# php -m | grep expect
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/lib64/php/modules/expect.so' - /usr/lib64/php/modules/expect.so: 
undefined 
symbol: Tcl_GetStringResult in Unknown on line 0


Previous Comments:
------------------------------------------------------------------------
[2011-08-30 16:21:16] mark dot frost at lightningsource dot com

It looks like I dont get this issue with version 0.2.7 of the 
code, but I do get the Segmentation Fault issue. I thought 
that piece of information might be helpful.

------------------------------------------------------------------------
[2011-08-30 12:44:05] mark dot frost at lightningsource dot com

Description:
------------
I've been trying to install this package on Fedora 15, but 
have been unsuccessful thus far. 

With the most recent version, after either a PECL install or 
manually installing it from source, I receive the following: 


PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/lib64/php/modules/expect.so' - 
/usr/lib64/php/modules/expect.so: undefined symbol: 
Tcl_GetStringResult in Unknown on line 0

Here's the versions Im running of all of the relevant 
packages: 


[mfrost@localhost expect-0.3.0]$ rpm -q expect expect-devel 
tcl tcl-devel php php-devel
expect-5.45-3.fc15.x86_64
expect-devel-5.45-3.fc15.x86_64
tcl-8.5.9-3.fc15.x86_64
tcl-devel-8.5.9-3.fc15.x86_64
php-5.3.6-2.fc15.x86_64
php-devel-5.3.6-2.fc15.x86_64


For the moment, I'd be equally happy with an actual fix, as 
with a work-around. I'd just like to get the module 
installed so I can use it. 

Reproduce code:
---------------
[mfrost@localhost expect-0.3.0]$ sudo pecl install expect-beta
[mfrost@localhost expect-0.3.0]$ php myscript.php

Expected result:
----------------
I expect the script to run and be able to load the module. 

Actual result:
--------------
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/lib64/php/modules/expect.so' - 
/usr/lib64/php/modules/expect.so: undefined symbol: 
Tcl_GetStringResult in Unknown on line 0


PHP Warning:  fopen(): Unable to find the wrapper "expect" - 
did you forget to enable it when you configured PHP? in 
/home/mfrost/ssh_development/class.ssh.php on line 20
PHP Warning:  fopen(expect://...@lvis05): failed to open 
stream: No such file or directory in 
/home/mfrost/ssh_development/class.ssh.php on line 20



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=59916&edit=1

Reply via email to