Re: Linux PowerPC 64bits issue - Mailing list pgsql-general

From Leonardo M. Ramé
Subject Re: Linux PowerPC 64bits issue
Date
Msg-id 20120927143117.GA5839@leonardo-laptop
Whole thread Raw
In response to Re: Linux PowerPC 64bits issue  (Leonardo M. Ramé <l.rame@griensu.com>)
List pgsql-general
On 2012-09-27 11:21:04 -0300, Leonardo M. Ramé wrote:
> On 2012-09-27 11:02:48 -0300, Leonardo M. Ramé wrote:
> > On 2012-09-27 06:53:57 -0700, Adrian Klaver wrote:
> > > On 09/27/2012 04:46 AM, Leonardo M. Ramé wrote:
> > > >On 2012-09-27 11:51:46 +0800, ac@hsk.hk wrote:
> > > >>Hi,
> > > >>
> > > >>Could you provide the steps and commands you used to compile 9.1?
> > > >>
> > > >>I want to reproduce your case in my machine
> > > >>
> > > >>Regards
> > > >>Arthur
> > > >>
> > > >
> > > >Yes, I downloaded postgresql-9.1.5.tar.gz from the PostgreSql web site,
> > > >then did this:
> > > >
> > > >tar xvfz postgresql-9.1.5.tar.gz
> > > >cd postgresql-9.1.5
> > > >./configure
> > > >make
> > > >make install
> > >
> > > By any chance did you in the past install a Postgres RPM that may
> > > introduced 32 bit libraries that the source is linking against?
> > >
> >
> > Is it possible to force linking against only to libraries residing in my
> > /usr/lib64 ?.
> >
> > --
> > Leonardo M. Ramé
> > Medical IT - Griensu S.A.
> > Av. Colón 636 - Piso 8 Of. A
> > X5000EPT -- Córdoba
> > Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19
> > Cel.: +54 9 351 6629292
> >
> >
> >
> > --
> > Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> > To make changes to your subscription:
> > http://www.postgresql.org/mailpref/pgsql-general
>
> I'd executed this command to remove all 32 bit packages from the system
> (remember this is an OpenSuse system):
>
> rpm -qa --qf '%{name}.%{arch}\n' | grep 'i[36]86$' | xargs rpm -e
>
> But it returned "rpm: no packages given for erase". So, there shouldn't
> be 32bit libraries in the system.
>
>

I've found the culpit:

:#ldd /lib/libpthread-2.4.so
linux-vdso32.so.1 =>  (0x00100000)
libc.so.6 => /lib/power6x/libc.so.6 (0x07e8c000)
/lib/ld.so.1 (0xf7fe1000)

Now I must find out how to install libpthread for 64 bits.

--
Leonardo M. Ramé
Medical IT - Griensu S.A.
Av. Colón 636 - Piso 8 Of. A
X5000EPT -- Córdoba
Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19
Cel.: +54 9 351 6629292



pgsql-general by date:

Previous
From: "SUNDAY A. OLUTAYO"
Date:
Subject: Re: trigger and plpgsq help needed
Next
From: Dennis Gearon
Date:
Subject: Re: problem with recreating database with export