[MacPorts] #20394: php5-readline: Unable to load dynamic library './readline.so'

MacPorts noreply at macports.org
Tue Jul 21 19:27:38 PDT 2009


#20394: php5-readline: Unable to load dynamic library './readline.so'
---------------------------------+------------------------------------------
 Reporter:  trevor@…             |       Owner:  ryandesign@…           
     Type:  defect               |      Status:  new                    
 Priority:  Normal               |   Milestone:                         
Component:  ports                |     Version:  1.7.1                  
 Keywords:  php readline dlopen  |        Port:  php5-readline          
---------------------------------+------------------------------------------

Comment(by ryandesign@…):

 It sounds like you have in your php.ini the line

 {{{
 extension_dir = "./"
 }}}

 This is a problem and will cause this message. This line was present in
 the sample php.ini files provided with PHP 5.2.x and earlier so I'm not
 surprised you have this. The sample php.ini files in PHP 5.3 have this
 line commented out; in the absense of an extension_dir line in the
 php.ini, PHP automatically figures out where the extensions are. So you
 should remove the line from your php.ini.

 When you built the php5-readline port, a message should have been printed
 advising you of this. If this did not happen, I may have a bug in the
 code. Could you please try rebuilding php5-readline to see if the message
 gets printed?

 {{{
 sudo port -nf upgrade php5-readline
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/20394#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list