Pg8.0 beta2 psql error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Patrick Hatcher

    Pg8.0 beta2 psql error

    Just installed and started Pg8.0 beta 2
    When I tried to connect via psql, I received an error message:
    [patrick@localho st postgresql-8.0.0beta2]$ psql -Upostgres template1
    psql: relocation error: psql: undefined symbol: PQsetErrorVerbo sity

    Can someone give me a clue what to do next?

    Thank you
    -Patrick
  • Michael Fuhr

    #2
    Re: Pg8.0 beta2 psql error

    On Sun, Sep 26, 2004 at 08:43:44AM -0700, Patrick Hatcher wrote:[color=blue]
    > Just installed and started Pg8.0 beta 2
    > When I tried to connect via psql, I received an error message:
    > [patrick@localho st postgresql-8.0.0beta2]$ psql -Upostgres template1
    > psql: relocation error: psql: undefined symbol: PQsetErrorVerbo sity
    >
    > Can someone give me a clue what to do next?[/color]

    Perhaps the run-time linker is loading an old libpq. Do you still
    have an old version of PostgreSQL installed? What's the output of
    the following command?

    ldd `which psql`

    What platform are you using, and how did you install PostgreSQL
    8.0.0beta2? In what directory were the shared libraries installed?

    --
    Michael Fuhr


    ---------------------------(end of broadcast)---------------------------
    TIP 6: Have you searched our list archives?



    Comment

    • Patrick Hatcher

      #3
      Re: Pg8.0 beta2 psql error

      That was it! I had an old version of PG on the box and it was looking in
      that directory.
      Thank you.

      ----- Original Message -----
      From: "Michael Fuhr" <mike@fuhr.or g>
      To: "Patrick Hatcher" <pathat@comcast .net>
      Cc: <pgsql-general@postgre sql.org>
      Sent: Sunday, September 26, 2004 9:31 AM
      Subject: Re: [GENERAL] Pg8.0 beta2 psql error

      [color=blue]
      > On Sun, Sep 26, 2004 at 08:43:44AM -0700, Patrick Hatcher wrote:[color=green]
      > > Just installed and started Pg8.0 beta 2
      > > When I tried to connect via psql, I received an error message:
      > > [patrick@localho st postgresql-8.0.0beta2]$ psql -Upostgres template1
      > > psql: relocation error: psql: undefined symbol: PQsetErrorVerbo sity
      > >
      > > Can someone give me a clue what to do next?[/color]
      >
      > Perhaps the run-time linker is loading an old libpq. Do you still
      > have an old version of PostgreSQL installed? What's the output of
      > the following command?
      >
      > ldd `which psql`
      >
      > What platform are you using, and how did you install PostgreSQL
      > 8.0.0beta2? In what directory were the shared libraries installed?
      >
      > --
      > Michael Fuhr
      > http://www.fuhr.org/~mfuhr/[/color]


      ---------------------------(end of broadcast)---------------------------
      TIP 1: subscribe and unsubscribe commands go to majordomo@postg resql.org

      Comment

      Working...