From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 16 Apr 2012 13:57:22 +0400 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20120416095722.GA11352@altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20120413170258.GA9846@altlinux.org> <4F8940C4.7080105@kemsu.ru> <20120414151335.71771797@deimos.localdomain> <4F8965AF.4020003@kemsu.ru> <20120415085815.61dda07d@deimos.localdomain> <1334505177.17690.25.camel@aris_dell.localdomain> <20120415160752.GB3120@altlinux.org> <1334506417.17690.27.camel@aris_dell.localdomain> <7b39c31444540d3b01c11f5c7b7527a8@hadoop.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7" Content-Disposition: inline In-Reply-To: <7b39c31444540d3b01c11f5c7b7527a8@hadoop.ru> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] /usr/lib64/python2.7/config/libpython2.7.a is WRONG X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2012 09:57:22 -0000 Archived-At: List-Archive: List-Post: --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 16, 2012 at 09:01:21AM +0400, Vitaly Kuznetsov wrote: > On Sun, 15 Apr 2012 20:13:37 +0400, Yuri N. Sedunov wrote: [...] > >=E9 =DA=C4=C5=D3=D8 =CE=C1=C4=CF =C9=D3=D0=D2=C1=D7=C9=D4=D8. > >$ python-config --ldflags > >-L/usr/lib/python2.7/config -lpthread -ldl -lutil -lm -lpython2.7 > >-Xlinker -export-dynamic >=20 > =EE=C5 =CE=D2=C1=D7=C9=D4=D3=D1 -l =C9=CC=C9 -L? =E9=CC=C9 =CF=C2=C5? :) =F4=D5=D4 =CD=CE=CF=C7=CF =DE=C5=C7=CF =CE=C5 =CE=D2=C1=D7=C9=D4=D3=D1. -L =CE=C5 =CE=D5=D6=C5=CE =D0=D2=CF=D3=D4=CF =D0=CF=D4=CF=CD=D5, =DE=D4=CF = =D7 /usr/lib/python2.7/config =CE=C5=D4 =CE=C9=CB=C1=CB=C9=C8 =C2=C9=C2=CC=C9=CF=D4=C5=CB. -lpthread -ldl -lutil -lm -lpython2.7 =CE=C5 =CE=D2=C1=D7=C9=D4=D3=D1, =D0= =CF=D4=CF=CD=D5 =DE=D4=CF --ldflags =DC=D4=CF =CE=C5 --libs. =EE=CF =DC=D4=CF =C9=CD=C5=CE=CE=CF =CE=C5 =CE=D2=C1=D7=C9=D4=D3=D1, =DC=D4= =C9 =CC=C9=DB=CE=C9=C5 -L =C9 -l =C8=CF=D4=D1 =C2=D9 =CE=C9=DE=C5=C7=CF =CE= =C5 =CC=CF=CD=C1=C0=D4. > =FA=C1=C8=C1=CB=C1=D4=D8, =CB=CF=CE=C5=DE=CE=CF, =CD=CF=D6=CE=CF, =CE=CF = =CF=D4 =DC=D4=CF=C7=CF=20 > =CD=CF=C7=D5=D4 =D3=CC=CF=CD=C1=D4=D8=D3=D1 =D4=C5, =CB=CF=CD=D5 =C4=C5= =CA=D3=D4=D7=C9=D4=C5=CC=D8=CE=CF=20 > =CE=C1=C4=CF =CC=C9=CE=CB=CF=D7=C1=D4=D8=D3=D1 =D3 libpython. =F7 debian,= =DE=C5=CA=20 > =D0=CF=C4=C8=CF=C4 =CB =D3=C2=CF=D2=CB=C5 python =CD=D9 =D7 =D4=CF=CD =C9= =CC=C9 =C9=CE=CF=CD =D7=C9=C4=C5=20 > =D0=D9=D4=C1=C5=CD=D3=D1 =D0=CF=D7=D4=CF=D2=C9=D4=D8 =EE=C5 =D0=CF=CE=C9=CD=C1=C0, =DA=C1=DE=C5=CD =CD=D9 =D0=D9=D4=C1=C5=CD=D3= =D1 =DC=D4=CF=D4 =D0=CF=C4=C8=CF=C4 =D0=CF=D7=D4=CF=D2=C9=D4=D8. =EF=CE, = =D7 =CF=D4=CC=C9=DE=C9=C5 =CF=D4 =D4=D2=C1=C4=C9=C3=C9=CF=CE=CE=CF=C7=CF, =C2=D5=C4=C5=D4 =D0=CF=D3=D4=CF=D1= =CE=CE=CF =D3=CF=DA=C4=C1=D7=C1=D4=D8 =CE=C1=CD =D0=D2=CF=C2=CC=C5=CD=D9. > =D7 /usr/lib{,64}/python2.x/config/ =CC=C5=D6=C1=D4: > =C6=C1=CA=CC=D9 =D0=C1=CB=C5=D4=C1 python-dev: > libpython2.x.a > libpython2.x-pic.a > =C6=C1=CA=CC =D0=C1=CB=C5=D4=C1 libpython: > libpython2.x.so -> ../../libpython2.x.so.1 =F5 =CE=C1=D3 =D7=D3=C5=C7=CF =DC=D4=CF=C7=CF =CE=C1=C7=D2=CF=CD=CF=D6=C4= =C5=CE=C9=D1 =CE=C5=D4, =C9 =CE=C5 =CE=C1=C4=CF. > python-config --ldflags: > -L/usr/lib/python2.x/config -lpthread -ldl -lutil -lm -lpython2.x >=20 > =F7 python-config =CC=CF=C7=C9=CB=C1 =D3=CC=C5=C4=D5=C0=DD=C1=D1: > libs =3D getvar('LIBS').split() + getvar('SYSLIBS').split() > libs.append('-lpython'+pyver) > # add the prefix/lib/pythonX.Y/config dir, but only if there is= =20 > no > # shared library in prefix/lib/. > if opt =3D=3D '--ldflags': > if not getvar('Py_ENABLE_SHARED'): > libs.insert(0, '-L' + getvar('LIBPL')) > libs.extend(getvar('LINKFORSHARED').split()) > print ' '.join(libs) >=20 > =D4.=C5. -lpython2.x =C4=CF=C2=C1=D7=CC=D1=C5=D4=D3=D1 =D7=D3=C5=C7=C4=C1= ,=20 > -L/usr/lib{,64}/python2.x/config =C4=CF=C2=C1=D7=CC=D1=C5=D4=D3=D1 =D7 = =D3=CC=D5=DE=C1=C5=20 > =D3=D4=C1=D4=C9=DE=C5=D3=CB=CF=CA =CC=C9=CE=CB=CF=D7=CB=C9 =C9=CE=D4=C5= =D2=D0=D2=C5=D4=C1=D4=CF=D2=C1 =D3=20 > libpython. =F5 =CE=C1=D3, =CE=C1=D3=CB=CF=CC=D8=CB=CF =D1 =D0=CF=CE=C9=CD= =C1=C0,=20 > =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=C5=CA =D3=D4=C1=D4=C9=DE=C5=D3=CB=CF=CA= libpython2.x.a =CE=C5=D4,=20 =F5 =CE=C1=D3 =C5=D3=D4=D8 python-devel-static, =C9 =C5=C7=CF =C4=CC=D1 =D0= =CF=D4=C5=CE=C3=C9=C1=CC=D8=CE=D9=C8 =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=C5=CA libpython2.7.a =D7=D0=CF=CC=CE=C5 =C4=CF=D3=D4=C1=D4=CF=DE=CE=CF. --=20 ldv --fdj2RfSjLxBAspz7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk+L7QIACgkQfKvmrJ41Nh6NVgCfbkTBLfveRX593S0H5o8O6zjG j74An1KMKP7XnXQ5ZcugFQdzLG1ShF6E =aGvD -----END PGP SIGNATURE----- --fdj2RfSjLxBAspz7--