Re: Rights for pgadmin3

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: Rights for pgadmin3
Дата
Msg-id 1315152159.24140.1.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Rights for pgadmin3  (Florent THOMAS <mailinglist@tdeo.fr>)
Ответы Re: Rights for pgadmin3  (Florent THOMAS <mailinglist@tdeo.fr>)
Список pgadmin-support
On Sun, 2011-09-04 at 16:45 +0200, Florent THOMAS wrote:
> Hy Guillaume,
> 
> The result is the same under current user or root user :
> 
> //opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3
> /opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3: error while loading shared 
> libraries: libwx_gtk2u_stc-2.8.so.0: cannot open shared object file: No 
> such file or directory
> /
> regards
> 
> Le 04/09/2011 16:42, Guillaume Lelarge a écrit :
> > On Sun, 2011-09-04 at 16:19 +0200, Florent THOMAS wrote:
> >> Hy Guillaume,
> >>
> >> Thanks for answering.
> >> Here is the log of my console as I lanch under the current user :
> >>
> >> //opt/PostgreSQL/9.0/scripts/launchpgadmin.sh
> >> /opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3:
> >> /opt/PostgreSQL/9.0/lib/libuuid.so.1: no version information available
> >> (required by /usr/lib64/libSM.so.6)
> >> sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
> >> 16:05:40: Error: Failed to execute:
> >> /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
> >> sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
> >> 16:05:40: Error: Failed to execute:
> >> /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
> >> sh: /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump: Permission non accordée
> >> 16:05:40: Error: Failed to execute:
> >> /opt/PostgreSQL/9.0/pgAdmin3/bin/pg_dump --version
> >> /opt/PostgreSQL/9.0/scripts/launchpgadmin.sh: line 3: 22646 Erreur de
> >> segmentation
> >> LD_LIBRARY_PATH=/opt/PostgreSQL/9.0/pgAdmin3/lib:/opt/PostgreSQL/9.0/lib:$LD_LIBRARY_PATH
> >> G_SLICE=always-malloc /opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3
> >> /
> >> On the other side, let's have a look of the log under the root user for
> >> the same actions (except the fact that it's working under root user):
> >> //opt/PostgreSQL/9.0/scripts/launchpgadmin.sh
> >> /opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3:
> >> /opt/PostgreSQL/9.0/lib/libuuid.so.1: no version information available
> >> (required by /usr/lib64/libSM.so.6)
> >> /
> >> According to me the problem is not coming from pgAdmin but from the
> >> users rights of my system.
> >> I'll appreciate that the community give me advice  on the better way to
> >> manage the user/groups on the 9.0 folder tree.
> >>
> > Seems more an issue with the installer. If you try to launch
> > "/opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3", what happens?
> >
> >

You need the LD_LIBRARY_PATH variable. Try "export
LD_LIBRARY_PATH="/opt/PostgreSQL/9.0/pgAdmin3/lib", and then
"/opt/PostgreSQL/9.0/pgAdmin3/bin/pgadmin3".


-- 
Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com



В списке pgadmin-support по дате отправления:

Предыдущее
От: Florent THOMAS
Дата:
Сообщение: Re: Rights for pgadmin3
Следующее
От: Dave Page
Дата:
Сообщение: Re: little bug in the editor of 1.14 rc1