|
From: Matteo D. <M.D...@gs...> - 2012-11-20 09:26:28
|
Hello, this will probably does not add anything to the thread but just as a 2 cents tip: when you are not really sure about the libraries linked with your binary you can just use the ldd command via the shell. Something like this: ldd /usr/local/pgsql/bin/postgres should come out with the output (on a Debian Squeeze machine on AMD64 arch): linux-vdso.so.1 => (0x00007fff807ff000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007f1512c24000) libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00000....) libdl.so.2 => /lib/libdl.so.2 (0x00007f1512a20000) libm.so.6 => /lib/libm.so.6 (0x00007f151279d000) libc.so.6 => /lib/libc.so.6 (0x00007f151243b000) /lib64/ld-linux-x86-64.so.2 (0x00007f1512e69000) Bye, Matteo On 19.11.2012 05:41, Michael Paquier wrote: > > The only problem I see is related to your environment. > I believe that pg_ctl is trying to kick a binary postgres that has NOT > been compiled with --libxml at configuration. > > So, please check the following: > 1) What is the output of this command which postgres > If the result is NOT /usr/local/pgsql/bin/, it means that pg_ctl is > trying to kick a different binary, which has not been compiled with > --libxml > 2) Try to launch pg_ctl once again and add this option => -p > /usr/local/pgsql/bin/ > This will enforce pg_ctl to launch the binary postgres in given directory. > > Once again, you would obtain the same problems with vanilla postgres. > This is not related to XC at all but with the way you install and > manage your binaries in your environment. > > -- > Michael Paquier > http://michael.otacoo.com > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > > > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > -- Matteo Dessalvi Abteilung: HPC Ort: SB3.1.250 Fax.: +49 6159 71 2986 E-Mail:m.d...@gs... GSI Helmholtzzentrum für Schwerionenforschung GmbH Planckstraße 1 64291 Darmstadt www.gsi.de Gesellschaft mit beschränkter Haftung Sitz der Gesellschaft: Darmstadt Handelsregister: Amtsgericht Darmstadt, HRB 1528 Geschäftsführung: Professor Dr. Dr. h.c. mult. Horst Stöcker, Peter Hassenbach Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph Stellvertreter: Ministerialdirigent Dr. Rolf Bernhardt |