[OpenIndiana-discuss] runtime/python-39 - missing file

Peter Tribble peter.tribble at gmail.com
Tue Jul 5 07:52:07 UTC 2022


On Tue, Jul 5, 2022 at 8:39 AM Predrag Zecevic via openindiana-discuss <
openindiana-discuss at openindiana.org> wrote:

> Hi all,
>
> It seems that runtime/python-39 does not deliver file:
> ---8<------
> :; ls -al /usr/lib/amd64/pkgconfig/python3.pc
> ls: cannot access '/usr/lib/amd64/pkgconfig/python3.pc': No such file or
> directory
>

That file is mediated (because it can be delivered by all the different
versions of python3).
What does 'pkg mediator' say?

I would expect you might need something like

pfexec pkg set-mediator -V 3.9 python

(assuming you want python3.9 to be the default python).


> :; pfexec pkg fix runtime/python-39
> No updates necessary for this image.
>
> :; pkg contents runtime/python-39 | grep pkgconfig
> usr/lib/amd64/pkgconfig/python-3.9-embed.pc
> usr/lib/amd64/pkgconfig/python-3.9.pc
> usr/lib/amd64/pkgconfig/python3-embed.pc
> usr/lib/amd64/pkgconfig/python3.pc
>
> :; ls -al /usr/lib/amd64/pkgconfig/python*3*
> -r--r--r-- 1 root bin  292 Jan  2  2020
> /usr/lib/amd64/pkgconfig/python-3.5.pc
> -r--r--r-- 1 root bin  292 Nov 12  2020
> /usr/lib/amd64/pkgconfig/python-3.7.pc
> lrwxrwxrwx 1 root root  13 Nov 12  2020
> /usr/lib/amd64/pkgconfig/python-3.7m.pc -> python-3.7.pc
> -r--r--r-- 1 root bin  311 Jan 28  2021
> /usr/lib/amd64/pkgconfig/python-3.9-embed.pc
> -r--r--r-- 1 root bin  285 Jan 28  2021
> /usr/lib/amd64/pkgconfig/python-3.9.pc
>
> How to fix that?
>
> Regards.
>
> --
> Predrag Zečević
> predrag.zecevic.1961 at googlemail.com
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>


-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/


More information about the openindiana-discuss mailing list