[Bug 994194] Re: Unable to load dynamic library pdo_pgsql.so
[Expired for php5 (Ubuntu) because there has been no activity for 60 days.] ** Changed in: php5 (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/994194 Title: Unable to load dynamic library pdo_pgsql.so To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/994194/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 994194] Re: Unable to load dynamic library pdo_pgsql.so
I've got same bug on just installed OS. In my case extension dir was without "lfs" suffix - /usr/lib/php5/20090626. As JazZ wrote before - solution is creation pdo.ini file with link to pdo.so module. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/994194 Title: Unable to load dynamic library pdo_pgsql.so To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/994194/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 994194] Re: Unable to load dynamic library pdo_pgsql.so
However, I can't remenber every thing I have done on this server. The initial installation of this last have 6 years, and I have never reinstalled ubuntu. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/994194 Title: Unable to load dynamic library pdo_pgsql.so To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/994194/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 994194] Re: Unable to load dynamic library pdo_pgsql.so
"since you, the admin, would only have removed it on purpose" I am sorry, I am not very good in English. But if you mean that I have removed this file, I can tell you that It's not my fault. Every thing worked until I updated ubuntu... -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/994194 Title: Unable to load dynamic library pdo_pgsql.so To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/994194/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 994194] Re: Unable to load dynamic library pdo_pgsql.so
Excerpts from Ondřej Surý's message of Sat May 05 18:40:58 UTC 2012: > Clint, > > +lfs is arch dependent. OOH! Thanks, will note that for the future. :) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/994194 Title: Unable to load dynamic library pdo_pgsql.so To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/994194/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 994194] Re: Unable to load dynamic library pdo_pgsql.so
Clint, +lfs is arch dependent. O. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/994194 Title: Unable to load dynamic library pdo_pgsql.so To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/994194/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 994194] Re: Unable to load dynamic library pdo_pgsql.so
Excerpts from JazZ's message of Sat May 05 16:10:33 UTC 2012: > When i do 'php -i | grep extension_dir', I got: > > PHP Warning: PHP Startup: Unable to load dynamic library > '/usr/lib/php5/20090626+lfs/pdo_mysql.so' - > /usr/lib/php5/20090626+lfs/pdo_mysql.so: undefined symbol: pdo_parse_params > in Unknown on line 0 > PHP Warning: PHP Startup: Unable to load dynamic library > '/usr/lib/php5/20090626+lfs/pdo_pgsql.so' - > /usr/lib/php5/20090626+lfs/pdo_pgsql.so: undefined symbol: pdo_parse_params > in Unknown on line 0 > extension_dir => /usr/lib/php5/20090626+lfs => /usr/lib/php5/20090626+lfs > > So the directory is not exactly the same that yours. But directories > returned by 'php -i', and phpinfo() are the same. > > Concerning the php configuration, I know that in the past, I have > followed a tutorial to improve the secutity of the server. But every > thing worked and I dont think that I have changed some links (only php > parameters). > > > But there is something more interesting when I do 'debsums -e php5-common' : > debsums: missing file /etc/php5/conf.d/pdo.ini (from php5-common package) > /etc/cron.d/php5 > OK > > I have reinstalled php5-common hoping to see this file created, but > whitout any result. I have made also 'dpkg-reconfigure php5-common' > without any result. > > Others debsums worked well. Aha! The directory change was a red herring. The missing conf file is definitely the reason you're having problems. Without pdo loaded, you can't load any of the pdo_* extensions. dpkg -i --force-conf-missing /var/cache/apt/archives/php5-common_5.3.10-1ubuntu3_i386.deb (I'm using the values in your apport collected bug report, but you get the idea) This will force dpkg to restore the packaged version of that file. Dpkg always honors a missing config file, since you, the admin, would only have removed it on purpose. So the --force-conf-missing will disable that behavior and install any missing configuration files. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/994194 Title: Unable to load dynamic library pdo_pgsql.so To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/994194/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 994194] Re: Unable to load dynamic library pdo_pgsql.so
I have got it ! I have create a file pdo.ini which link to pdo.so, as it is the case for other ini files. Debsums written me /etc/php5/conf.d/pdo.ini FAILED /etc/cron.d/php5 OK But now, my calendar work ! Thanks a lot ! I am available to give you more information. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/994194 Title: Unable to load dynamic library pdo_pgsql.so To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/994194/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 994194] Re: Unable to load dynamic library pdo_pgsql.so
When i do 'php -i | grep extension_dir', I got: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/pdo_mysql.so' - /usr/lib/php5/20090626+lfs/pdo_mysql.so: undefined symbol: pdo_parse_params in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/pdo_pgsql.so' - /usr/lib/php5/20090626+lfs/pdo_pgsql.so: undefined symbol: pdo_parse_params in Unknown on line 0 extension_dir => /usr/lib/php5/20090626+lfs => /usr/lib/php5/20090626+lfs So the directory is not exactly the same that yours. But directories returned by 'php -i', and phpinfo() are the same. Concerning the php configuration, I know that in the past, I have followed a tutorial to improve the secutity of the server. But every thing worked and I dont think that I have changed some links (only php parameters). But there is something more interesting when I do 'debsums -e php5-common' : debsums: missing file /etc/php5/conf.d/pdo.ini (from php5-common package) /etc/cron.d/php5 OK I have reinstalled php5-common hoping to see this file created, but whitout any result. I have made also 'dpkg-reconfigure php5-common' without any result. Others debsums worked well. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/994194 Title: Unable to load dynamic library pdo_pgsql.so To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/994194/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 994194] Re: Unable to load dynamic library pdo_pgsql.so
JazZ, this is extremely confusing. Can you install php5-cli and run 'php -i | grep extension_dir' ? On my 12.04 system, it shows: extension_dir => /usr/lib/php5/20090626 => /usr/lib/php5/20090626 If that shows the same, can you place a file in your webroot with the content 'https://bugs.launchpad.net/bugs/994194 Title: Unable to load dynamic library pdo_pgsql.so To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/994194/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 994194] Re: Unable to load dynamic library pdo_pgsql.so
Hi Clint, Thanks for your help. It's important for me to do what I can do to improve a free software. I have checked the file /etc/php5/conf.d/pdo_pgsql.ini : ; configuration for php PostgreSQL module extension=pdo_pgsql.so I have made a 'find / -name pdo_sql.so and the only file I have found is /usr/lib/php5/20090626+lfs/pdo_pgsql.so. When I uninstall php5-pgsql, the file disapears. When I reinstall it, the file appears. I think, also that it is a problem of version between and newer, but I have no idea where to look for. But this line interested me : Module 'pgsql' already loaded in Unknown on line 0 I have checked /etc/pĥp5/conf.d, and there is two files pdo_pgsql.ini, and pgsql.ini, each not containing the same link (pdo_pgsql.so and pgsql.so). Same thing for mysql. Does I delete one these files ? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/994194 Title: Unable to load dynamic library pdo_pgsql.so To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/994194/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 994194] Re: Unable to load dynamic library pdo_pgsql.so
HI Jazz! Thanks for taking the time to file this bug report. I notice the paths in your errors say /usr/lib/php5/20090626+lfs The official packages do not have the '+lfs' in them. Is it possible you have a leftover config file (probably /etc/php5/conf.d/pdo_pgsql.ini) that has the wrong path in it? ** Changed in: php5 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/994194 Title: Unable to load dynamic library pdo_pgsql.so To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/994194/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 994194] Re: Unable to load dynamic library pdo_pgsql.so
Note that the concerned files exists. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/994194 Title: Unable to load dynamic library pdo_pgsql.so To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/994194/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 994194] Re: Unable to load dynamic library pdo_pgsql.so
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/994194 Title: Unable to load dynamic library pdo_pgsql.so To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/994194/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs