Russell, I'm maintaining the SFE packages.
could you please verify something for me, once you have the suggested workaround applied (moving symlink /usr/gnu/lib/amd64/libstdc++.so.6 out of the way) The version of these packages is interesting to me: please run the command and paste the output lines. pkg info gcc-runtime osnet-incorporation | grep FMRI And then please see if you can upgrade gcc-runtime from the SFE publisher to the gcc 7.5.0 version with the command: pfexec pkg update -v sfe/system/library/gcc-runtime@7.5.0 If the "pkg" command still works afterwards, that would be good. Please paste the output of the pkg update command as well. The "pkg fix" command from the other email might restore the moved away symlink of /usr/gnu/lib/amd64/libstdc++.so.6, so I would not recommend using pkg fix this time. Regards, Thomas On Sun, Apr 05, 2020 at 12:00:40AM +0100, russell wrote: > Hi > > Performed a pkg upgrade today creating a new BE, now when I use pkg I get > the following error > > # pkg refresh --full > 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/signature.py", line > 37, 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 > > How can I fix this or should I just activate the previous BE and delete the > current boot environment? > > TIA > > > > _______________________________________________ > openindiana-discuss mailing list > openindiana-discuss@openindiana.org > https://openindiana.org/mailman/listinfo/openindiana-discuss -- ------------------------------------------------------------------------ New Work! Service rund um UNIX(TM), Wagner Network Services, Thomas Wagner Solaris(TM), Linux(TM) Eschenweg 21, 89174 Altheim, Germany Windows(TM) TEL: +49-7340-919196, FAX: +49-731-9807711 VoIP, Netzwerke, MOBILE/CELL: +49-175-2926064 Internet-Security EMAIL: wag...@wagner-net.com _______________________________________________ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss