On 10 August 2010 15:21, Pete Kay <petedao@xxxxxxxxx> wrote: > Hi, > > I am getting the following errors while trying to get plphp installed > on postgres 8.5: > > ERROR: could not load library "/usr/local/pgsql/lib/plphp.so": > /usr/local/pgsql/lib/plphp.so: undefined symbol: sapi_globals > > ********** Error ********** > > ERROR: could not load library "/usr/local/pgsql/lib/plphp.so": > /usr/local/pgsql/lib/plphp.so: undefined symbol: sapi_globals > SQL state: 58P01 > > ======================== > here is what I get with ldd command: > > ldd -r /usr/local/lib/libphp5.so > linux-vdso.so.1 => (0x00007fffa95ff000) > libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fbd23614000) > librt.so.1 => /lib64/librt.so.1 (0x00007fbd2340b000) > libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fbd231f5000) > libm.so.6 => /lib64/libm.so.6 (0x00007fbd22f72000) > libdl.so.2 => /lib64/libdl.so.2 (0x00007fbd22d6e000) > libnsl.so.1 => /lib64/libnsl.so.1 (0x00007fbd22b55000) > libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007fbd22818000) > libz.so.1 => /usr/lib64/libz.so.1 (0x00007fbd22604000) > libc.so.6 => /lib64/libc.so.6 (0x00007fbd222ad000) > libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fbd22092000) > /lib64/ld-linux-x86-64.so.2 (0x0000003053e00000) > undefined symbol: sapi_globals (/usr/local/lib/libphp5.so) > undefined symbol: executor_globals (/usr/local/lib/libphp5.so) > undefined symbol: php_ini_opened_path (/usr/local/lib/libphp5.so) > undefined symbol: sapi_module (/usr/local/lib/libphp5.so) > undefined symbol: php_import_environment_variables > (/usr/local/lib/libphp5.so) > undefined symbol: zend_qsort (/usr/local/lib/libphp5.so) > undefined symbol: module_registry (/usr/local/lib/libphp5.so) > undefined symbol: php_module_shutdown_wrapper (/usr/local/lib/libphp5.so) > undefined symbol: zend_error (/usr/local/lib/libphp5.so) > undefined symbol: xmlwriter_module_entry (/usr/local/lib/libphp5.so) > undefined symbol: libxml_module_entry (/usr/local/lib/libphp5.so) > undefined symbol: dom_module_entry (/usr/local/lib/libphp5.so) > undefined symbol: xmlreader_module_entry (/usr/local/lib/libphp5.so) > undefined symbol: xml_module_entry (/usr/local/lib/libphp5.so) > > Any help will be greatly appreciated. > > p > > -- You can't mean 8.5. Surely 8.4? -- Thom Brown Registered Linux user: #516935 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general