NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mpv and estd and --vo=xv



On Thu, Jul 15, 2021 at 06:05:46AM +0000, RVP wrote:
> On Wed, 14 Jul 2021, RVP wrote:
> 
> > On Wed, 14 Jul 2021, nia wrote:
> > 
> > > On Wed, Jul 14, 2021 at 09:38:51PM +0000, RVP wrote:
> > > > 2. Create symlinks missing on 9.99.8x (only if using binary packages):
> > > > 
> > > >    (cd /usr/lib; ln -s libstdc++.so.9 libstdc++.so.7;
> > > >     cd /usr/X11R7/lib; ln -s libglapi.so.1 libglapi.so.0)
> > > 
> > > FYI, likely this will break things in mysterious ways, since
> > > those library versions indicate different ABIs. Better to
> > > extract the necessary libraries from the 9.2 sets instead.
> > > 
> > 
> > You're quite right. That's a questionable step.
> > 
> 
> I poked around to find out which package I needed to create those
> symlinks for--I just couldn't remember--and it turns out to be MesaLib.
> 
> It installs /usr/pkg/lib/libglapi.so.0:
> 
> $ pkg_info -L MesaLib
> Information for MesaLib-20.0.6nb1:
> 
> Files:
> ...
> /usr/pkg/lib/libglapi.so
> /usr/pkg/lib/libglapi.so.0
> /usr/pkg/lib/libglapi.so.0.0.0
> ...
> 
> But then, it also requires the same library in /usr/X11R7/lib:
> 
> $ pkgin requires MesaLib
> Shared libraries required by MesaLib-20.0.6nb1:
> ...
>         /usr/lib/libstdc++.so.9
>         /usr/lib/libstdc++.so.7
> ...
>         /usr/X11R7/lib/libglapi.so.1
>         /usr/X11R7/lib/libglapi.so.0
> ...
> 
> Nay, it needs 2 of them.
> 
> Over to nia@, I think :)
> 
> -RVP

Are you mixing native and pkgsrc xorg? :)


Home | Main Index | Thread Index | Old Index