From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <1334555666.17690.57.camel@aris_dell.localdomain> From: "Yuri N. Sedunov" To: devel@lists.altlinux.org Date: Mon, 16 Apr 2012 09:54:26 +0400 In-Reply-To: <4F8BB0C9.3010902@kemsu.ru> References: <20120413121842.GA7705@altlinux.org> <1334327959.8137.47.camel@aris_dell.localdomain> <4443e169837aae0da105cbcaa1a4131c@hadoop.ru> <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> <1334553531.17690.51.camel@aris_dell.localdomain> <4F8BB0C9.3010902@kemsu.ru> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.0 (3.4.0-alt1) Content-Transfer-Encoding: 8bit Mime-Version: 1.0 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 05:54:27 -0000 Archived-At: List-Archive: List-Post: В Пнд, 16/04/2012 в 12:40 +0700, REAL пишет: > 16.04.2012 12:18, Yuri N. Sedunov пишет: > > Кому, по-вашему, может понадобиться линковаться с libpython? > > Вот пример: > > ldd /usr/lib/libvtkPythonCore.so.5.8.0 > linux-gate.so.1 => (0xb777c000) > libvtkCommon.so.5.8 => /usr/lib/libvtkCommon.so.5.8 (0xb735c000) > libpython2.7.so.1.0 => /usr/lib/libpython2.7.so.1.0 (0xb71c7000) > ^^^^^^^^^^^^^^^^^^^ > libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb70db000) > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb70be000) > libc.so.6 => /lib/libc.so.6 (0xb6f5a000) > libvtksys.so.5.8 => /usr/lib/libvtksys.so.5.8 (0xb6f20000) > libpthread.so.0 => /lib/libpthread.so.0 (0xb6f06000) > libm.so.6 => /lib/libm.so.6 (0xb6edc000) > libdl.so.2 => /lib/libdl.so.2 (0xb6ed7000) > libutil.so.1 => /lib/libutil.so.1 (0xb6ed2000) > /lib/ld-linux.so.2 (0xb777d000) > Что будет, если эта библиотека будет недолинкована с libpython, как, например? $ ldd -r /usr/lib/libpyglib-2.0-python.so.0 2>&1|grep undefined|wc -l 38 [aris@aris_dell SPECS]$ ldd -r /usr/lib/libpyglib-gi-2.0-python.so.0 2>&1|grep undefined|wc -l 38 -- Yuri N. Sedunov