Re: [darktable-user] Can't find module Lens Correction
> Message du 19/04/18 14:34 > De : "Anton Aylward" > Give a man a fish, and you'll feed him for a day. Give him a religion, > and he'll starve to death while praying for a fish. > --Timothy Jones I didn't know that one ! darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Can't find module Lens Correction
> That's Linux. That's the world we live in. One must know about everything, > must compile things, must deal with compilations and installations of > libraries and installations of installations of libraries ;-)) With Linux, you have the *choice* to build up-to-date softwares et to stay on the bleeding edge. Then you have to build and install some software. Bu this is not mandatory. You can live with what your distribution offers to you. > Don't get me wrong, I'm not pissed of ;-) I'm just thinking about how Linux > is still hundred years behind the common user. My mom, for instance. Linux is > for the braves. How old is your mom? She can be... 35 / 50 / 60 / 70 it is not exactly the same. But anyway, install Debian on your mom's computer, and choose a desktop manager she likes. Install her Firefox and Thunderbird, VLC, something to display pictures, evince for the pdf and this is probably enough. If this doesnt work for her, she will not be able to manage the popups for the upgrade of a software, the popups with crazy messages each time you plug an exernal device (need to be repaired), "security" messages, the usage of user / admin account, etc. I'm 63 (in few days :) )... I've nothing but LInux (and a small Windows on a notebook to be able to update some firmwares). For my wife, for instance, every computer / smartphone, computer is for the braves… I'm one of the braves... My mother in law has never got a keyboard under her fingers My mother had a computer, a scanner, a printer, a smartphone, an IPad, … Yes, this is not Linux. I can remember the switch from Windows 7 to Windows 10. I can remember the update that doesnt work as expected and the unbootable machine. Windows needs also some maintenance. And worse, it does the maintenance from itself, and eat all the passband on the local network while doing so. My kids uses Windows or Mac OSX… everybody can make her/his choice. Then it has to assume this choice. Well, probably Linux is not the perfect sofware. But only the enthusiasts are doing more than USING it. 2018-04-19 14:34 GMT+02:00 Anton Aylward: > On 18/04/18 07:40 PM, André Felipe Carvalho wrote: > > > > That's Linux. That's the world we live in. One must know about > everything, > > must compile things, must deal with compilations and installations of > > libraries and installations of installations of libraries ;-)) > > "Must"? what's with this "must"? > I've never had to compile DT or lensfun or anything else about Linux ... > not for > over ten years, and that was a matter of my personal amusement. As far as > the > 'must' goes, it must be out near the 25 year mark, and that was, as they > say, a > matter of 'gainful employment'. > > The only 'must' I've had about DT is following Patrick's advice on the > distribution to use for the latest update, some of his advice on modules > and > some of Tobias's advice on reading the user manual. But then RTFM is > *always* a > 'must', isn't it :-) > > > Don't get me wrong, I'm not pissed of ;-) I'm just thinking about how > Linux > > is still hundred years behind the common user. My mom, for instance. > Linux is > > for the braves. > > And yet I hear from many people who they installed it for their Mom, their > grandparents and more, who had no problems with it. I think of all the > embedded > systems, from my cell phone and router to the local traffic lights > controller, > that run Linux and give no problems. > > > > I'm a programmer, also. Java, wicket, html, that kind of stuff. And a > linux > > fan and even more of dt. But ... sometimes... it's so hard to live in > this > > world... > > I wonder at times ... There's the old saying about 'if the only tool you > have is > a hammer, then you see every problem as a nail'. Perhaps the issue here > is that > you *are* a programmer and so see the solution in terms of the > programming/compiling cycle, whereas those of us who are of a primarily > photographic mindset don't. > > -- > Give a man a fish, and you'll feed him for a day. Give him a religion, > and he'll starve to death while praying for a fish. > --Timothy Jones > > > darktable user mailing list > to unsubscribe send a mail to darktable-user+unsubscribe@ > lists.darktable.org > > darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Can't find module Lens Correction
2018-04-19 0:49 GMT-03:00 Patrick Shanahan: > * André Felipe Carvalho [04-18-18 19:44]: > > First, I really am thankful for all the help received. The "problem" was > > solved. > > but you do not mention the solution, which was? > > -- > Sorry, I thought I did. The solution was the one suggested by Jean-Luc Coulon: Hi, If it doesnt find the lib, check the following: in /etc/ld.so.conf (and/or the subdirectory /etc/ld/so/conf.d), check if there is a .conf file with a line like this: /usr/local/lib *Then run as root: ldconfig* This with set the path / cache for the dynamic loader. Best regards, André darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Can't find module Lens Correction
* André Felipe Carvalho[04-18-18 19:44]: > First, I really am thankful for all the help received. The "problem" was > solved. but you do not mention the solution, which was? -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri Registered Linux User #207535@ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Can't find module Lens Correction
First, I really am thankful for all the help received. The "problem" was solved. Now, some thoughts about the "world we live in": Am I to read the manual ? "man ldconfig", "man ldd"? Just to install something that should have already did the trick (lensfun installation. the problem here was not about dt directly), since I installed it with sudo ? That's Linux. That's the world we live in. One must know about everything, must compile things, must deal with compilations and installations of libraries and installations of installations of libraries ;-)) Don't get me wrong, I'm not pissed of ;-) I'm just thinking about how Linux is still hundred years behind the common user. My mom, for instance. Linux is for the braves. And, for being Linux, nothing really works as it should in every flavour it has. For instance, the ldd command did not work as expected in the case of Patrick Shaman. And he must be much more expert than me in Linux ;-)) You see? Happens with everyone. And we have to deal with it, since it's a world we seems to be building together while it spins. I'm a programmer, also. Java, wicket, html, that kind of stuff. And a linux fan and even more of dt. But ... sometimes... it's so hard to live in this world... Best regards, and thanks again! André (off topic: I'm dealing with making a TP-Link dongle 5ghz to work in my linux machine. At windows, it was a breese) 2018-04-18 11:29 GMT-03:00 Patrick Shanahan: > * Remco Viëtor [04-18-18 08:41]: > > On mercredi 18 avril 2018 14:03:03 CEST Patrick Shanahan wrote: > > > * Remco Viëtor [04-18-18 01:48]: > > > > On mercredi 18 avril 2018 05:40:28 CEST junkyardspar...@yepmail.net > 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 > > > > > > 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*. > > I don't know. on my openSUSE Tumbleweed system using darix' build, > /usr/lib64/darktable/plugins/liblens.so > > and there is no /usr/lib/darktable but there is /usr/lib64/darktable. and > dt was NOT installed by my distro, I installed it, and it did not go into > /usr/lib/... > > > > -- > (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri > http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri > Registered Linux User #207535@ http://linuxcounter.net > Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode > > > darktable user mailing list > to unsubscribe send a mail to darktable-user+unsubscribe@ > lists.darktable.org > > -- André Felipe https://www.flickr.com/photos/andrefelipecarvalho/ darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Can't find module Lens Correction
* Remco Viëtor[04-18-18 08:41]: > On mercredi 18 avril 2018 14:03:03 CEST Patrick Shanahan wrote: > > * Remco Viëtor [04-18-18 01:48]: > > > On mercredi 18 avril 2018 05:40:28 CEST junkyardspar...@yepmail.net 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 > > > > 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*. I don't know. on my openSUSE Tumbleweed system using darix' build, /usr/lib64/darktable/plugins/liblens.so and there is no /usr/lib/darktable but there is /usr/lib64/darktable. and dt was NOT installed by my distro, I installed it, and it did not go into /usr/lib/... -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri Registered Linux User #207535@ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Can't find module Lens Correction
On mercredi 18 avril 2018 14:03:03 CEST Patrick Shanahan wrote: > * Remco Viëtor[04-18-18 01:48]: > > On mercredi 18 avril 2018 05:40:28 CEST junkyardspar...@yepmail.net 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 > > 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 darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Can't find module Lens Correction
* Patrick Shanahan[04-18-18 08:06]: > * Remco Viëtor [04-18-18 01:48]: > > On mercredi 18 avril 2018 05:40:28 CEST junkyardspar...@yepmail.net 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 > > then put the lib's in the appropriate place > > strongly suggest reading "man ldd" ps: and "man ldconfig" -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri Registered Linux User #207535@ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Can't find module Lens Correction
* Remco Viëtor[04-18-18 01:48]: > On mercredi 18 avril 2018 05:40:28 CEST junkyardspar...@yepmail.net 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 then put the lib's in the appropriate place strongly suggest reading "man ldd" -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri Registered Linux User #207535@ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Can't find module Lens Correction
Hi, If it doesnt find the lib, check the following: in /etc/ld.so.conf (and/or the subdirectory /etc/ld/so/conf.d), check if there is a .conf file with a line like this: /usr/local/lib The run as root: ldconfig This with set the path / cache for the dynamic loader. Jean-Luc 2018-04-18 8:40 GMT+02:00: > > > On Tue, Apr 17, 2018, at 22:46, Remco Viëtor wrote: > > > 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. > > It really depends on the distro. I don't use /usr/local/ on slackware > anymore, but I haven't really tried to keep up with the general zeitgeist. > In any case, this might help: > > https://stackoverflow.com/questions/4743233/is-usr- > local-lib-searched-for-shared-libraries > > > darktable user mailing list > to unsubscribe send a mail to darktable-user+unsubscribe@ > lists.darktable.org > > darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Can't find module Lens Correction
On Tue, Apr 17, 2018, at 22:46, Remco Viëtor wrote: > 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. It really depends on the distro. I don't use /usr/local/ on slackware anymore, but I haven't really tried to keep up with the general zeitgeist. In any case, this might help: https://stackoverflow.com/questions/4743233/is-usr-local-lib-searched-for-shared-libraries darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Can't find module Lens Correction
On mercredi 18 avril 2018 05:40:28 CEST junkyardspar...@yepmail.net 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*" Remco darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Can't find module Lens Correction
Hi, you can set the search path for your library loader (which is different from the path used by make). See if the current search path for the library loader contains the location of your library. Cheers Michael Am 18. April 2018 03:45:49 MESZ schrieb "André Felipe Carvalho": >Hello Remko, thank you for your help! > >Ok, now I recompiled it without static library. The make install result >shows: > >andre@andre-Inspiron-7520:~/compilar/lensfun-0.3.2/cmake_build$ sudo >make >install >[ 43%] Built target lensfun >[ 50%] Built target test_modifier_color >[ 56%] Built target test_modifier >[ 62%] Built target test_database >[ 68%] Built target test_modifier_subpix >[ 75%] Built target test_modifier_coord_scale >[ 81%] Built target test_modifier_coord_distortion >[ 87%] Built target test_modifier_coord_geometry >[ 96%] Built target lenstool >[100%] Built target python-package >Install the project... >-- Install configuration: "Debug" >-- Installing: /usr/local/include/lensfun/lensfun.h >-- Up-to-date: /usr/local/share/lensfun/version_1/slr-pentax.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/mil-canon.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/actioncams.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/slr-nikon.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/contax.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/compact-canon.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/mil-fujifilm.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/compact-kodak.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/slr-tamron.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/generic.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/compact-fujifilm.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/slr-samsung.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/slr-ussr.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/mil-samsung.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/compact-casio.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/slr-sigma.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/compact-sigma.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/mil-pentax.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/mil-panasonic.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/compact-panasonic.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/6x6.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/slr-zeiss.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/mil-nikon.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/compact-leica.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/slr-vivitar.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/mil-zeiss.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/slr-schneider.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/compact-olympus.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/compact-sony.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/slr-panasonic.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/slr-soligor.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/slr-samyang.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/slr-canon.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/compact-ricoh.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/mil-tamron.xml >-- Up-to-date: >/usr/local/share/lensfun/version_1/compact-konica-minolta.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/mil-sony.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/compact-pentax.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/slr-leica.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/compact-samsung.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/mil-olympus.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/slr-sony.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/mil-samyang.xml >-- Up-to-date: >/usr/local/share/lensfun/version_1/slr-konica-minolta.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/mil-sigma.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/compact-nikon.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/slr-ricoh.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/rf-leica.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/slr-olympus.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/slr-tokina.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/misc.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/slr-hasselblad.xml >-- Up-to-date: /usr/local/share/lensfun/version_1/timestamp.txt > > > >*-- Installing: /usr/local/lib/liblensfun.so.0.3.2-- Up-to-date: >/usr/local/lib/liblensfun.so.1-- Up-to-date: >/usr/local/lib/liblensfun.so*-- >Installing: /usr/local/lib/pkgconfig/lensfun.pc >-- Installing: /usr/local/bin/lenstool >-- Set runtime path of "/usr/local/bin/lenstool" to "" >-- Up-to-date: /usr/local/bin/g-lensfun-update-data >-- Up-to-date: /usr/local/bin/lensfun-add-adapter >-- Up-to-date:
Re: [darktable-user] Can't find module Lens Correction
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? -- jys darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Can't find module Lens Correction
Hello Remko, thank you for your help! Ok, now I recompiled it without static library. The make install result shows: andre@andre-Inspiron-7520:~/compilar/lensfun-0.3.2/cmake_build$ sudo make install [ 43%] Built target lensfun [ 50%] Built target test_modifier_color [ 56%] Built target test_modifier [ 62%] Built target test_database [ 68%] Built target test_modifier_subpix [ 75%] Built target test_modifier_coord_scale [ 81%] Built target test_modifier_coord_distortion [ 87%] Built target test_modifier_coord_geometry [ 96%] Built target lenstool [100%] Built target python-package Install the project... -- Install configuration: "Debug" -- Installing: /usr/local/include/lensfun/lensfun.h -- Up-to-date: /usr/local/share/lensfun/version_1/slr-pentax.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-canon.xml -- Up-to-date: /usr/local/share/lensfun/version_1/actioncams.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-nikon.xml -- Up-to-date: /usr/local/share/lensfun/version_1/contax.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-canon.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-fujifilm.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-kodak.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-tamron.xml -- Up-to-date: /usr/local/share/lensfun/version_1/generic.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-fujifilm.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-samsung.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-ussr.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-samsung.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-casio.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-sigma.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-sigma.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-pentax.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-panasonic.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-panasonic.xml -- Up-to-date: /usr/local/share/lensfun/version_1/6x6.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-zeiss.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-nikon.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-leica.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-vivitar.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-zeiss.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-schneider.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-olympus.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-sony.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-panasonic.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-soligor.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-samyang.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-canon.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-ricoh.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-tamron.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-konica-minolta.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-sony.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-pentax.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-leica.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-samsung.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-olympus.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-sony.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-samyang.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-konica-minolta.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-sigma.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-nikon.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-ricoh.xml -- Up-to-date: /usr/local/share/lensfun/version_1/rf-leica.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-olympus.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-tokina.xml -- Up-to-date: /usr/local/share/lensfun/version_1/misc.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-hasselblad.xml -- Up-to-date: /usr/local/share/lensfun/version_1/timestamp.txt *-- Installing: /usr/local/lib/liblensfun.so.0.3.2-- Up-to-date: /usr/local/lib/liblensfun.so.1-- Up-to-date: /usr/local/lib/liblensfun.so*-- Installing: /usr/local/lib/pkgconfig/lensfun.pc -- Installing: /usr/local/bin/lenstool -- Set runtime path of "/usr/local/bin/lenstool" to "" -- Up-to-date: /usr/local/bin/g-lensfun-update-data -- Up-to-date: /usr/local/bin/lensfun-add-adapter -- Up-to-date: /usr/local/bin/lensfun-update-data running install running build running build_py creating build creating build/lib creating build/lib/lensfun copying /home/andre/compilar/lensfun-0.3.2/cmake_build/apps/lensfun/__init__.py -> build/lib/lensfun running install_lib copying build/lib/lensfun/__init__.py -> /usr/local/lib/python3.5/dist-packages/lensfun byte-compiling
Re: [darktable-user] Can't find module Lens Correction
On mardi 17 avril 2018 12:56:37 CEST André Felipe Carvalho wrote: > Here's the output of lensfun "make install": > andre@andre-Inspiron-7520:~/compilar/lensfun-0.3.2/cmake_build$ sudo make > install > [ 43%] Built target lensfun > [ 50%] Built target test_modifier_color > [ 56%] Built target test_modifier > [ 62%] Built target test_database > [ 68%] Built target test_modifier_subpix > [ 75%] Built target test_modifier_coord_scale > [ 81%] Built target test_modifier_coord_distortion > [ 87%] Built target test_modifier_coord_geometry > [ 96%] Built target lenstool > [100%] Built target python-package > Install the project... > -- Install configuration: "Debug" > -- Installing: /usr/local/include/lensfun/lensfun.h > -- Up-to-date: /usr/local/share/lensfun/version_1/slr-pentax.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/mil-canon.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/actioncams.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/slr-nikon.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/contax.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/compact-canon.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/mil-fujifilm.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/compact-kodak.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/slr-tamron.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/generic.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/compact-fujifilm.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/slr-samsung.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/slr-ussr.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/mil-samsung.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/compact-casio.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/slr-sigma.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/compact-sigma.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/mil-pentax.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/mil-panasonic.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/compact-panasonic.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/6x6.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/slr-zeiss.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/mil-nikon.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/compact-leica.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/slr-vivitar.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/mil-zeiss.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/slr-schneider.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/compact-olympus.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/compact-sony.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/slr-panasonic.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/slr-soligor.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/slr-samyang.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/slr-canon.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/compact-ricoh.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/mil-tamron.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/compact-konica-minolta.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/mil-sony.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/compact-pentax.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/slr-leica.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/compact-samsung.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/mil-olympus.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/slr-sony.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/mil-samyang.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/slr-konica-minolta.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/mil-sigma.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/compact-nikon.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/slr-ricoh.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/rf-leica.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/slr-olympus.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/slr-tokina.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/misc.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/slr-hasselblad.xml > -- Up-to-date: /usr/local/share/lensfun/version_1/timestamp.txt > -- Installing: /usr/local/lib/liblensfun.a > -- Installing: /usr/local/lib/pkgconfig/lensfun.pc > -- Installing: /usr/local/bin/lenstool > -- Up-to-date: /usr/local/bin/g-lensfun-update-data > -- Up-to-date: /usr/local/bin/lensfun-add-adapter > -- Up-to-date: /usr/local/bin/lensfun-update-data > running install > running build > running build_py > creating build/lib > creating build/lib/lensfun > copying > /home/andre/compilar/lensfun-0.3.2/cmake_build/apps/lensfun/__init__.py -> > build/lib/lensfun > running install_lib > copying build/lib/lensfun/__init__.py -> > /usr/local/lib/python3.5/dist-packages/lensfun > byte-compiling
Re: [darktable-user] Can't find module Lens Correction
Here's the output of lensfun "make install": andre@andre-Inspiron-7520:~/compilar/lensfun-0.3.2/cmake_build$ sudo make install [ 43%] Built target lensfun [ 50%] Built target test_modifier_color [ 56%] Built target test_modifier [ 62%] Built target test_database [ 68%] Built target test_modifier_subpix [ 75%] Built target test_modifier_coord_scale [ 81%] Built target test_modifier_coord_distortion [ 87%] Built target test_modifier_coord_geometry [ 96%] Built target lenstool [100%] Built target python-package Install the project... -- Install configuration: "Debug" -- Installing: /usr/local/include/lensfun/lensfun.h -- Up-to-date: /usr/local/share/lensfun/version_1/slr-pentax.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-canon.xml -- Up-to-date: /usr/local/share/lensfun/version_1/actioncams.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-nikon.xml -- Up-to-date: /usr/local/share/lensfun/version_1/contax.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-canon.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-fujifilm.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-kodak.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-tamron.xml -- Up-to-date: /usr/local/share/lensfun/version_1/generic.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-fujifilm.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-samsung.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-ussr.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-samsung.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-casio.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-sigma.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-sigma.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-pentax.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-panasonic.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-panasonic.xml -- Up-to-date: /usr/local/share/lensfun/version_1/6x6.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-zeiss.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-nikon.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-leica.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-vivitar.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-zeiss.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-schneider.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-olympus.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-sony.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-panasonic.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-soligor.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-samyang.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-canon.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-ricoh.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-tamron.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-konica-minolta.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-sony.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-pentax.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-leica.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-samsung.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-olympus.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-sony.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-samyang.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-konica-minolta.xml -- Up-to-date: /usr/local/share/lensfun/version_1/mil-sigma.xml -- Up-to-date: /usr/local/share/lensfun/version_1/compact-nikon.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-ricoh.xml -- Up-to-date: /usr/local/share/lensfun/version_1/rf-leica.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-olympus.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-tokina.xml -- Up-to-date: /usr/local/share/lensfun/version_1/misc.xml -- Up-to-date: /usr/local/share/lensfun/version_1/slr-hasselblad.xml -- Up-to-date: /usr/local/share/lensfun/version_1/timestamp.txt -- Installing: /usr/local/lib/liblensfun.a -- Installing: /usr/local/lib/pkgconfig/lensfun.pc -- Installing: /usr/local/bin/lenstool -- Up-to-date: /usr/local/bin/g-lensfun-update-data -- Up-to-date: /usr/local/bin/lensfun-add-adapter -- Up-to-date: /usr/local/bin/lensfun-update-data running install running build running build_py creating build/lib creating build/lib/lensfun copying /home/andre/compilar/lensfun-0.3.2/cmake_build/apps/lensfun/__init__.py -> build/lib/lensfun running install_lib copying build/lib/lensfun/__init__.py -> /usr/local/lib/python3.5/dist-packages/lensfun byte-compiling /usr/local/lib/python3.5/dist-packages/lensfun/__init__.py to __init__.cpython-35.pyc running install_egg_info Removing /usr/local/lib/python3.5/dist-packages/lensfun-0.3.2-py3.5.egg-info Writing /usr/local/lib/python3.5/dist-packages/lensfun-0.3.2-py3.5.egg-info
Re: [darktable-user] Can't find module Lens Correction
Hello Tobias! Thank you for your time! Yes, you're right. Dt can't find liblensfun.so.1 How can I fix it ? andre@andre-Inspiron-7520:~/compilar/lensfun-0.3.2$ darktable (darktable:2529): Gtk-WARNING **: Theme directory of theme oxygen has no size field [iop_load_module] *failed to open operation `lens': liblensfun.so.1*: Não é possivel abrir arquivo de objetos compartilhado: Arquivo ou diretório não encontrado (darktable:2529): Gtk-WARNING **: Theme directory of theme oxygen has no size field wait time 0,204616s try- wait time 0,166829s wait time 0,158952s try- wait time 0,158951s wait time 0,282200s wait time 0,131586s andre@andre-Inspiron-7520:~/compilar/lensfun-0.3.2$ 2018-04-16 13:32 GMT-03:00 Tobias Ellinghaus: > Am Montag, 16. April 2018, 03:56:42 CEST schrieb André Felipe Carvalho: > > I was missing the Samyang 8mm fisheye lens on my Lens correction module. > > > > So I went after the last Lensfun database, 0.3.2. Downloaded it and > > installed. > > But still I did not see any Samyang lenses whatsoever. > > > > So, I git pulled the last version of dt and compiled it. > > > > Now the Lens Correction module just vanished. I can't see it anywhere > > around in dt > > > > Anyone knows what's going on? Did I make some mistake? > > [build log] > > The log shows that lensfun was found and liblens.so was installed. Do you > see > any error messages on the terminal when running darktable about liblens.so > not > being loaded? -- André Felipe https://www.flickr.com/photos/andrefelipecarvalho/ darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Can't find module Lens Correction
Am Montag, 16. April 2018, 03:56:42 CEST schrieb André Felipe Carvalho: > I was missing the Samyang 8mm fisheye lens on my Lens correction module. > > So I went after the last Lensfun database, 0.3.2. Downloaded it and > installed. > But still I did not see any Samyang lenses whatsoever. > > So, I git pulled the last version of dt and compiled it. > > Now the Lens Correction module just vanished. I can't see it anywhere > around in dt > > Anyone knows what's going on? Did I make some mistake? [build log] The log shows that lensfun was found and liblens.so was installed. Do you see any error messages on the terminal when running darktable about liblens.so not being loaded? signature.asc Description: This is a digitally signed message part.