On mercredi 18 avril 2018 14:03:03 CEST Patrick Shanahan wrote:
> * Remco Viëtor <[email protected]> [04-18-18 01:48]:
> > On mercredi 18 avril 2018 05:40:28 CEST [email protected] wrote:
> > > On Tue, Apr 17, 2018, at 18:45, André Felipe Carvalho wrote:
> > > > I think I need to symlink the library to someplace dt expects. But...
> > > > why
> > > > does it find the library at compilation time, but not when executing?
> > > 
> > > Are you sure /usr/local/lib is the right place to be installing on your
> > > system, as opposed to, say, /usr/lib64?
> > 
> > Yes, /usr/local/lib is the usual place for locally installed libraries.
> > /usr/lib64 is supposed to hold the libraries installed by your
> > distribution. And at least on my system, /usr/local/lib and
> > /usr/local/lib64 are searched by default when loading dynamic libraries.
> > 
> > Perhaps it's a permission problem? On my system, all libraries are marked
> > as executable, so OP might need to do a
> > 
> >        "sudo chmod a+x /usr/local/lib/liblensfun.so*"
> 
> why not just look at where the system is looking for dt's libs:
>   #> ldd /usr/bin/darktable
> 
> or #> ldd <path to dt executable>
> 
> then put the lib's in the appropriate place
> 
> strongly suggest reading "man ldd"
Small problem with using ldd:
on my system (where Darktable works with the lensfun database enabled) 
"ldd /usr/bin/darktable | grep -i lens " returns exactly *nothing*.

Remco

____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]

Reply via email to