Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

postgresql problem

Discussion in 'General Discussion' started by NoAgendas, Aug 4, 2006.

  1. NoAgendas

    NoAgendas Guest

    I get this when using a script that is attempting to use connect to the PostgreSQL database.

    install_driver(Pg) failed: Can't load '/usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/DBD/Pg/' for module DBD:g: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.7/i686-linux/ line 230.
    at (eval 46) line 3
    Compilation failed in require at (eval 46) line 3.
    Perhaps a required shared library or dll isn't installed where expected
    at /home/myuser/myuser/mgmt/perl/Directory/ line 129

    I'm using Postgresql 8.1.4


    local   all         all                               trust
    host    all         all          trust
    host    all         all         ::1/128               trust

    I installed perl module DBD:PG, recompiled apache again (of course with postgresql)...same error.

    root@server [~]# locate

    root@server [~]# perl /home/myuser/user/main/
    Segmentation fault (core dumped)

    I got that after running this:
    cp /usr/local/cpanel/lib/ /usr/lib
    service postgresql restart

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice