Lists: | pgadmin-support |
---|
From: | twenger26 <twenger(at)vltool(dot)com> |
---|---|
To: | pgadmin-support(at)postgresql(dot)org |
Subject: | pgadmin3 and fc6 |
Date: | 2007-02-15 19:18:56 |
Message-ID: | 8991767.post@talk.nabble.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgadmin-support |
I saw a previous post where someone had the same problem as I, but their
solution didn't work for me. I am trying to install pgadmin3 of FC6 and I
keep getting the error: "libpq.so.5 is needed by pgadmin3-1.6.1-2.i386". I
have two versions of postgresql on my system, but I am currently using the
newer version of postgres which contains "libpq.so.5" in
/usr/local/pgsql/lib. I made sys-links to this file in /usr/lib and
usr/local/lib, but when I try to install it I get the same error. Is there
some other way to get pgadmin to locate this postgresql library.
--
View this message in context: http://www.nabble.com/pgadmin3-and-fc6-tf3235550.html#a8991767
Sent from the PostgreSQL - pgadmin support mailing list archive at Nabble.com.
From: | "Andy Shellam (Mailing Lists)" <andy(dot)shellam-lists(at)mailnetwork(dot)co(dot)uk> |
---|---|
To: | twenger26 <twenger(at)vltool(dot)com> |
Cc: | pgadmin-support(at)postgresql(dot)org |
Subject: | Re: pgadmin3 and fc6 |
Date: | 2007-02-15 21:14:58 |
Message-ID: | 45D4CD52.1030401@mailnetwork.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgadmin-support |
twenger26 wrote:
> I saw a previous post where someone had the same problem as I, but their
> solution didn't work for me. I am trying to install pgadmin3 of FC6 and I
> keep getting the error: "libpq.so.5 is needed by pgadmin3-1.6.1-2.i386". I
> have two versions of postgresql on my system, but I am currently using the
> newer version of postgres which contains "libpq.so.5" in
> /usr/local/pgsql/lib. I made sys-links to this file in /usr/lib and
> usr/local/lib, but when I try to install it I get the same error. Is there
> some other way to get pgadmin to locate this postgresql library.
>
Try linking the libpq.so.5 library in /lib as well.
Failing that, edit /etc/ld.so.conf, add "/usr/local/pgsql/lib" to the
bottom, and run "ldconfig."
Andy
From: | twenger26 <twenger(at)vltool(dot)com> |
---|---|
To: | pgadmin-support(at)postgresql(dot)org |
Subject: | Re: pgadmin3 and fc6 |
Date: | 2007-02-16 15:33:14 |
Message-ID: | 9006470.post@talk.nabble.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgadmin-support |
Andy Shellam (Mailing Lists) wrote:
>
> twenger26 wrote:
>> I saw a previous post where someone had the same problem as I, but their
>> solution didn't work for me. I am trying to install pgadmin3 of FC6 and
>> I
>> keep getting the error: "libpq.so.5 is needed by pgadmin3-1.6.1-2.i386".
>> I
>> have two versions of postgresql on my system, but I am currently using
>> the
>> newer version of postgres which contains "libpq.so.5" in
>> /usr/local/pgsql/lib. I made sys-links to this file in /usr/lib and
>> usr/local/lib, but when I try to install it I get the same error. Is
>> there
>> some other way to get pgadmin to locate this postgresql library.
>>
>
> Try linking the libpq.so.5 library in /lib as well.
> Failing that, edit /etc/ld.so.conf, add "/usr/local/pgsql/lib" to the
> bottom, and run "ldconfig."
>
> Andy
>
>
>
Sorry, I meant to say I had it in the /lib directory as well. I tried
running ldconfig with what you said and it didn't work doing it that way
either. When I run ld it says: "/usr/local/pgsql/lib is not a known
library" and the rpm still can't locate the libpq.so.5 file.
--
View this message in context: http://www.nabble.com/pgadmin3-and-fc6-tf3235550.html#a9006470
Sent from the PostgreSQL - pgadmin support mailing list archive at Nabble.com.
From: | "Andy Shellam (Mailing Lists)" <andy(dot)shellam-lists(at)mailnetwork(dot)co(dot)uk> |
---|---|
To: | twenger26 <twenger(at)vltool(dot)com> |
Cc: | pgadmin-support(at)postgresql(dot)org |
Subject: | Re: pgadmin3 and fc6 |
Date: | 2007-02-16 15:39:28 |
Message-ID: | 45D5D030.9070808@mailnetwork.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgadmin-support |
twenger26 wrote:
>
> Andy Shellam (Mailing Lists) wrote:
>
>> twenger26 wrote:
>>
>>> I saw a previous post where someone had the same problem as I, but their
>>> solution didn't work for me. I am trying to install pgadmin3 of FC6 and
>>> I
>>> keep getting the error: "libpq.so.5 is needed by pgadmin3-1.6.1-2.i386".
>>> I
>>> have two versions of postgresql on my system, but I am currently using
>>> the
>>> newer version of postgres which contains "libpq.so.5" in
>>> /usr/local/pgsql/lib. I made sys-links to this file in /usr/lib and
>>> usr/local/lib, but when I try to install it I get the same error. Is
>>> there
>>> some other way to get pgadmin to locate this postgresql library.
>>>
>>>
>> Try linking the libpq.so.5 library in /lib as well.
>> Failing that, edit /etc/ld.so.conf, add "/usr/local/pgsql/lib" to the
>> bottom, and run "ldconfig."
>>
>> Andy
>>
>>
>>
>>
>
> Sorry, I meant to say I had it in the /lib directory as well. I tried
> running ldconfig with what you said and it didn't work doing it that way
> either. When I run ld it says: "/usr/local/pgsql/lib is not a known
> library" and the rpm still can't locate the libpq.so.5 file.
>
>
Ah sorry I've just re-read your original e-mail and thought you meant
the error was when you ran PgAdmin, not while trying to install the RPM.
I believe this is because the client libraries weren't installed via the
RPM package manager (that's the problem I had back when I used Fedora.)
Try doing a "force"'d install - (see rpm --help), I think it's something
like "rpm --force -i /path/to/pgadmin.rpm".
You may get other libraries, particularly OpenSSL, that also need
linking to /lib and /usr/lib etc. That worked for me on FC5 with
PgAdmin 1.4.3.
HTH
Andy.
From: | "Andy Shellam (Mailing Lists)" <andy(dot)shellam-lists(at)mailnetwork(dot)co(dot)uk> |
---|---|
To: | tyson <twenger(at)vltool(dot)com> |
Cc: | PgAdmin Support Mailing List <pgadmin-support(at)postgresql(dot)org> |
Subject: | Re: pgadmin3 and fc6 |
Date: | 2007-02-16 17:39:52 |
Message-ID: | 45D5EC68.4050305@mailnetwork.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgadmin-support |
Try --nodeps instead of --force.
Hopefully that should tell it to ignore any package dependencies.
tyson wrote:
> I tried using the --force and it still throws the same conflict. For
> some reason it can't locate that libpq.so.5 link Not sure what else I
> can do!
>
> Andy Shellam (Mailing Lists) wrote:
>> twenger26 wrote:
>>> Andy Shellam (Mailing Lists) wrote:
>>>
>>>> twenger26 wrote:
>>>>
>>>>> I saw a previous post where someone had the same problem as I, but
>>>>> their
>>>>> solution didn't work for me. I am trying to install pgadmin3 of
>>>>> FC6 and
>>>>> I
>>>>> keep getting the error: "libpq.so.5 is needed by
>>>>> pgadmin3-1.6.1-2.i386". I
>>>>> have two versions of postgresql on my system, but I am currently
>>>>> using
>>>>> the
>>>>> newer version of postgres which contains "libpq.so.5" in
>>>>> /usr/local/pgsql/lib. I made sys-links to this file in /usr/lib and
>>>>> usr/local/lib, but when I try to install it I get the same error. Is
>>>>> there
>>>>> some other way to get pgadmin to locate this postgresql library.
>>>>>
>>>> Try linking the libpq.so.5 library in /lib as well.
>>>> Failing that, edit /etc/ld.so.conf, add "/usr/local/pgsql/lib" to
>>>> the bottom, and run "ldconfig."
>>>>
>>>> Andy
>>>>
>>>>
>>>>
>>>>
>>> Sorry, I meant to say I had it in the /lib directory as well. I tried
>>> running ldconfig with what you said and it didn't work doing it that
>>> way
>>> either. When I run ld it says: "/usr/local/pgsql/lib is not a known
>>> library" and the rpm still can't locate the libpq.so.5 file.
>>>
>>
>> Ah sorry I've just re-read your original e-mail and thought you meant
>> the error was when you ran PgAdmin, not while trying to install the RPM.
>>
>> I believe this is because the client libraries weren't installed via
>> the RPM package manager (that's the problem I had back when I used
>> Fedora.)
>>
>> Try doing a "force"'d install - (see rpm --help), I think it's
>> something like "rpm --force -i /path/to/pgadmin.rpm".
>>
>> You may get other libraries, particularly OpenSSL, that also need
>> linking to /lib and /usr/lib etc. That worked for me on FC5 with
>> PgAdmin 1.4.3.
>>
>> HTH
>>
>> Andy.
>
--
Andy Shellam
NetServe Support Team
the Mail Network
"an alternative in a standardised world"
p: +44 (0) 121 288 0832/0839
m: +44 (0) 7818 000834