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.

If it dlopen()s files, we don't need to change rpath, but just add
/usr/X11R7/lib to the search path it goes through.
 Thomas


Home | Main Index | Thread Index | Old Index