pkgsrc-Users archive

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

Re: X includes in python (devel/meld problem)



On Mon, May 23, 2016 at 03:35:03AM +0200, Kamil Rytarowski wrote:
> On 16.04.2016 11:40, coypu%SDF.ORG@localhost wrote:
> > Hi, I'm trying to run devel/meld and have base Xorg
> > I get the following:
> > 
> > $ ktruss meld |grep libGL
> > Couldn't open libGL.so: Shared object "libGL.so" not found
> >  25438      1 python2.7 open("/home/fly/pkg/lib/libGL.so", 0, 0x68) Err#2 ENOENT
> >  25438      1 python2.7 open("/usr/lib/libGL.so", 0, 0x1) Err#2 ENOENT
> >        "Couldn't open libGL.so: Shared object "libGL.so" not found\n"
> > 
> > libGL.so is in /usr/X11R7/lib.
> > 
> > What should be amended to fix this?
> > 
> > Thanks.
> > 
> 
> I'm having the same problem with other Gnome Python applications.
> 
> I think we need to add RPATH to python for X11/lib.

IMO the real problem is that it shouldn't be using dlopen by hand at
all. It's a stupid idea from the Linux world for dealing with Nvidia.

I would certainly object to polluting the rpath of the main Python
binary for no purpose other than dealing with broken scripts.

Joerg


Home | Main Index | Thread Index | Old Index