Обсуждение: pgaccess: libpgtcl.so not found

Поиск
Список
Период
Сортировка

pgaccess: libpgtcl.so not found

От
"Ibrahim Shaame"
Дата:
Hi there,  Please bear with me. This question has surely already been asked and 
answered. But can't find the answer.  I have downloaded Postgresql 6.5.2 and installed it. I am not sure
whether installed properly, but I suppose (this is my firt time to).    When 
I try to run pgaccess I get a message that says there are no libpgtcl.so 
libraries, while I compiled them and there are links in the lib/ directory 
(linking to source directory. My directory structure is as follows:

/usr/src/pgsql/ .... (for the sources)
/usr/local/pgsql/  .... (for the bin, data, lib, man, pgaccess )

I get the same message whatever the name of the user I use to log in
(ibrahim, postgres (owner of the account))

Note:    I have followed the instructions for installing pgaccess as they are in 
the release 0.98 (the release I use)

Thanks for your help

Ibrahim


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


Re: [INTERFACES] pgaccess: libpgtcl.so not found

От
Constantin Teodorescu
Дата:
Ibrahim Shaame wrote:
> 
> Hi there,
>    Please bear with me. This question has surely already been asked and
> answered. But can't find the answer.
>    I have downloaded Postgresql 6.5.2 and installed it. I am not sure
> whether installed properly, but I suppose (this is my firt time to).    When
> I try to run pgaccess I get a message that says there are no libpgtcl.so
> libraries, while I compiled them and there are links in the lib/ directory
> (linking to source directory. My directory structure is as follows:
> 
> /usr/src/pgsql/ .... (for the sources)
> /usr/local/pgsql/  .... (for the bin, data, lib, man, pgaccess )

You have not compiled libpgtcl ...

Go to /usr/src/pgsql/src/interfaces/libpgtcl and

make
make install

You should find now libpgtcl.so in the /usr/local/pgsql/lib directory.

Check if your /etc/ld.so.conf (on a RedHat system) contains
/usr/local/pgsql/lib (or if the shared library can be loaded from that
directory).

Constantin Teodorescu
FLEX Consulting Braila, ROMANIA