Project

General

Profile

Bug #12381

pkg update error

Added by Cristian Achim 21 days ago. Updated 14 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

I tried to update my system with sudo pkg update but it fails.

>uname -a
SunOS openindiana 5.11 illumos-f11c6b604a i86pc i386 i86pc

>sudo pkg update
Traceback (most recent call last):
File "/usr/bin/pkg", line 87, in <module>
import pkg.actions as actions
File "/usr/lib/python3.5/vendor-packages/pkg/actions/__init__.py", line 68, in <module>
globals(), locals(), [modname])
File "/usr/lib/python3.5/vendor-packages/pkg/actions/directory.py", line 33, in <module>
from . import generic
File "/usr/lib/python3.5/vendor-packages/pkg/actions/generic.py", line 49, in <module>
import pkg.variant as variant
File "/usr/lib/python3.5/vendor-packages/pkg/variant.py", line 36, in <module>
from pkg.misc import EmptyI
File "/usr/lib/python3.5/vendor-packages/pkg/misc.py", line 76, in <module>
import pkg.json as json
File "/usr/lib/python3.5/vendor-packages/pkg/json.py", line 24, in <module>
from rapidjson import loads, load, dumps, dump, JSONDecodeError
ImportError: ld.so.1: python3.5: fatal: relocation error: file /usr/lib/python3.5/vendor-packages/rapidjson.cpython-35m.so: symbol __gxx_personality_v0: referenced symbol not found

History

#1

Updated by Cristian Achim 14 days ago

According to the irc conversation at https://echelog.com/logs/browse/illumos/1584054000, the problem is a clash between the OpenIndiana default package layout on disk and the spec files extra repository package layout on disk.

There is a simple fix to do get rid of /usr/gnu/lib/amd64/libstdc++.so.6. Specifically what I did is mv /usr/gnu/lib/amd64/libstdc++.so.6 /usr/gnu/lib/amd64/libstdc++.so.6.store so that in case my usage of LibreOffice might bump into errors because of missing libstdc++.so.6 I have it handy.

Also available in: Atom PDF