Re: Determining client_encoding from client locale
Jaime Casanova <jcasanov@systemguards.com.ec>
From: Jaime Casanova <jcasanov@systemguards.com.ec>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, pgsql-hackers@postgresql.org, Tom Lane <tgl@sss.pgh.pa.us>, Bruce Momjian <bruce@momjian.us>, Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>, Peter Eisentraut <peter_e@gmx.net>
Date: 2009-07-23T04:31:06Z
Lists: pgsql-hackers
On Wed, Jul 22, 2009 at 9:58 PM, Jaime Casanova<jcasanov@systemguards.com.ec> wrote: > On Wed, Jul 22, 2009 at 7:30 PM, Alvaro > Herrera<alvherre@commandprompt.com> wrote: >> Jaime Casanova wrote: >> >>> this little test compiles fine until i applied your patch :( >>> >>> postgres@casanova1:~/pg_releases/pgtests$ gcc -o test-libpq >>> test-libpq.o -L/usr/local/pgsql/head/lib -lpq >>> /usr/local/pgsql/head/lib/libpq.so: undefined reference to >>> `pg_get_encoding_from_locale' >> >> Do you have an older version of libpq.so around? >> > > the one that installed with 8.4.0 but i thougth that when you specify > -L to gcc you're telling it where to pick libraries from, no? > more to the point when i used unpatched 8.5 tree it works just fine -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157