Re: Requette bloquant

From: "Hajatiana RAHOLIARIJAONA" <administrateur(at)vivetic(dot)mg>
To: François Figarola <francois(dot)figarola(at)i-consult(dot)fr>
Cc: <pgsql-fr-generale(at)postgresql(dot)org>
Subject: Re: Requette bloquant
Date: 2009-10-21 08:52:31
Message-ID: 79EBC8707BA64515937DCB46E8C6F1BB@pcadmin
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-fr-generale

Le pg_top se trouve dans /usr/local/pgsql/bin

[root(at)mcserver1 pg_top-3.6.2]# ldd /usr/local/pgsql/bin/pg_top
libpq.so.4 => not found
libdl.so.2 => /lib64/libdl.so.2 (0x0000003646900000)
libm.so.6 => /lib64/tls/libm.so.6 (0x0000003646b00000)
libtermcap.so.2 => /lib64/libtermcap.so.2 (0x0000003647b00000)
libc.so.6 => /lib64/tls/libc.so.6 (0x0000003646600000)
/lib64/ld-linux-x86-64.so.2 (0x0000003646400000)

Oui le lien symbolique existedans /usr/local/pgsql/lib :
lrwxrwxrwx 1 root root 12 oct 29 2008 libpq.so -> libpq.so.4.1
lrwxrwxrwx 1 root root 12 oct 29 2008 libpq.so.4 -> libpq.so.4.1
-rwxr-xr-x 1 root root 137353 oct 29 2008 libpq.so.4.1

Cdt,
Hajatiana RAHOLIARIJAONA Administrateur réseaux et systèmes www.vivetic.com
Saisie.mg devient : La dynamique des flux de la relation clients
----- Original Message -----
From: "François Figarola" <francois(dot)figarola(at)i-consult(dot)fr>
To: "Hajatiana RAHOLIARIJAONA" <administrateur(at)vivetic(dot)mg>
Cc: <pgsql-fr-generale(at)postgresql(dot)org>
Sent: Wednesday, October 21, 2009 11:19 AM
Subject: Re: [pgsql-fr-generale] Requette bloquant

> Hajatiana RAHOLIARIJAONA a écrit :
>> Bonjour,
>>
>> pg_top est installé maintenant mais il marche pas, ci après les
>> messages make et make install :
>> make :
>> [root(at)mcserver1 pg_top-3.6.2]# make
>> make all-am
>> make[1]: Entering directory
>> `/usr/local/src/postgresql-8.1.14/contrib/pg_top-3.6.2'
>> gcc -Wall -g -L/usr/local/pgsql/lib -lpq -o pg_top color.o
>> commands.o display.o getopt.o screen.o sprompt.o pg.o pg_top.o
>> username.o utils.o version.o m_linux.o -ldl -lm -ltermcap
>> make[1]: Leaving directory
>> `/usr/local/src/postgresql-8.1.14/contrib/pg_top-3.6.2'
>>
>> make install
>> make install
>> make[1]: Entering directory
>> `/usr/local/src/postgresql-8.1.14/contrib/pg_top-3.6.2'
>> test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
>> /usr/bin/install -c 'pg_top' '/usr/local/bin/pg_top'
>> test -z "/usr/local/share/man/man1" || /bin/mkdir -p
>> "/usr/local/share/man/man1"
>> /usr/bin/install -c -m 644 './pg_top.1'
>> '/usr/local/share/man/man1/pg_top.1'
>> make[1]: Leaving directory
>> `/usr/local/src/postgresql-8.1.14/contrib/pg_top-3.6.2'
>>
>> Lancement :
>> [postgres(at)mcserver1 ~]$ pg_top -p 5432 -d sdsi
>> pg_top: error while loading shared libraries: libpq.so.4: cannot open
>> shared object file: No such file or directory
>>
>> Alors que le libpg.so.4 existe dans /usr/local/pgsql/lib
>>
>> Cdt,
>> Hajatiana RAHOLIARIJAONA
>>
> Bonjour,
>
> Que donne la commande :
> ldd /usr/local/bin pg_top
>
> ainsi qu'un ls -l dans le répertoire où doit se trouver
> cette librairie ?
>
> Existe-t-il des liens symboliques libpq.so et libpq.so.4
> pointant sur la réelle librairie dynamique libpq.so.X ?
>
> Cordialement.
>
> --
> François Figarola
> -- développeur --
> =================
> INTERNET CONSULT
> Mas Guerido
> 6 rue Aristide Bergès
> 66330 CABESTANY
>
> Tel 04.68.66.09.29
> fax 04.68.66.99.50
> * francois(dot)figarola(at)i-consult(dot)fr
>
>
> --
> Sent via pgsql-fr-generale mailing list (pgsql-fr-generale(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-fr-generale
>

In response to

Responses

Browse pgsql-fr-generale by date

  From Date Subject
Next Message François Figarola 2009-10-21 09:08:15 Re: Requette bloquant
Previous Message Rodolphe Quiedeville 2009-10-21 08:30:51 Re: PDO (PHP) et RAISE NOTICE