Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Ticket #28 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

Configure throws error on Linux x86_64

Reported by: der.pitti@… Owned by: giovannibajo
Priority: normal Milestone: PyInstaller 1.4
Component: PyInstaller Version:
Severity: normal Keywords:
Cc:

Description

Hi!

pyinstaller 1.3 Configure.py/Build.py give errors on Linux x86_64 (amd64), since the virtual kernel ABI table is called 'linux-vdso.so' there, not 'linux-gate.so' (as under i386):

E: cannot find linux-vdso.so.1 in path (needed by /usr/lib/python2.5/lib-dynload/time.so)

This simple patch fixes it:

--- pyinstaller-1.3/bindepend.py 2006-02-06 15:41:29.000000000 +0100 +++ pyinstaller-1.3.new/bindepend.py 2008-05-04 12:18:26.000000000 +0200 @@ -284,7 +284,7 @@

m = re.search(r"\s+(.*?)\s+=>\s+(.*?)\s+\(.*\)", line) if m:

name, lib = m.group(1), m.group(2)

  • if name[:10] == 'linux-gate':

+ if name[:10] in ('linux-gate', 'linux-vdso'):

# linux-gate is a fake library which does not exist and # should be ignored. See also: # http://www.trilithium.com/johan/2005/08/linux-gate/

Attachments

pyinstaller-x68_64.patch (653 bytes) - added by der.pitti@… 5 years ago.
patch

Change History

Changed 5 years ago by der.pitti@…

patch

comment:1 Changed 5 years ago by der.pitti@…

eek, sorry, this messed up the whitespace. Patch attached.

comment:2 Changed 5 years ago by openticket

  • Status changed from new to closed
  • Resolution set to fixed

patch applied in changeset:508

comment:3 Changed 5 years ago by h.goebel@…

patch applied in changeset:508

comment:4 Changed 4 years ago by giovannibajo

  • Milestone set to PyInstaller 1.4
View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.