Project

General

Profile

Bug #3876

hipster: libpython2.6_db.so.1.0 is invalid

Added by Marcel Telka over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OI-Userland
Target version:
-
Start date:
2013-07-08
Due date:
% Done:

100%

Estimated time:
1.00 h
Difficulty:
Medium
Tags:
python

Description

The libpython2.6_db.so.1.0 seems to be invalid in hipster:

$ file /usr/lib/libpython2.6_db.so.1.0
/usr/lib/libpython2.6_db.so.1.0:    commands text
$ file /usr/lib/amd64/libpython2.6_db.so.1.0
/usr/lib/amd64/libpython2.6_db.so.1.0:    commands text
$

Earlier, the libpython2.6_db.so.1.0 file was different:

$ file /tmp/tmp.mKaiHl/usr/lib/libpython2.6_db.so.1.0
/tmp/tmp.mKaiHl/usr/lib/libpython2.6_db.so.1.0:    ELF 32-bit LSB dynamic lib 80386 Version 1, dynamically linked, not stripped
$ file /tmp/tmp.mKaiHl/usr/lib/amd64/libpython2.6_db.so.1.0
/tmp/tmp.mKaiHl/usr/lib/amd64/libpython2.6_db.so.1.0:    ELF 64-bit LSB dynamic lib AMD64 Version 1 [SSE CMOV], dynamically linked, not stripped
$

Because of this, mdb does not work properly:

# mdb core.packagemanager.101.1373312826 
Loading modules: [ libc.so.1mdb: couldn't load pydb functions: No such file or directory
mdb: libpython2.6.so.1.0 module failed to initialize
 libuutil.so.1 libnvpair.so.1 libumem.so.1 libavl.so.1 libsysevent.so.1 libproc.so.1 libtopo.so.1 ld.so.1 ]
>

Related issues

Related to OpenIndiana Distribution - Bug #3874: Packagemanager core dumps with hipsterClosedOI Userland2013-07-082013-12-10

Actions
#1

Updated by Ken Mays over 7 years ago

  • Assignee set to OI Userland
#2

Updated by Alexander Pyhalov over 7 years ago

It was a studio-specific option in upstream patch. Changed to gcc-specific one. This particular bug was fixed in https://github.com/OpenIndiana/oi-userland/commit/e1b2aee2fae931dbf2f78fb8b9ad11b027f135f4 , updated package from /hipster contains real library.

#3

Updated by Ken Mays over 7 years ago

  • Category set to 10
  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • Estimated time set to 1.00 h
  • Tags changed from needs-triage to python

Issue resolved. Reviewed on openindiana 5.11 illumos-ae44990 (hipster). Good job!

Also available in: Atom PDF