On 05/11/2018 06:26 PM, Аl Воgnеr wrote:
> Am Fri, 11 May 2018 18:05:06 -0400
> schrieb Šarūnas <[email protected]>:
> 
>> On 05/11/2018 04:32 PM, Аl Воgnеr wrote:
>>> Am Fri, 11 May 2018 15:03:02 -0400
>>> schrieb Patrick Shanahan <[email protected]>:
>>>
>>> Hi,
>>>
>>> it looks like it is getting complicated. There are files at
>>> https://www.pentaxforums.com/articles/hands-on-reviews/pentax-k-1d-fa-24-70mm-full-size-sample-photos.html
>>> I tried http://www.pfpho.com/k1/samplephotos/160513_53p.dng and dt
>>> recognizes the lens, but with _my_ file it does not. I am sorry, I
>>> cannot publish this file, but I will take a shot ASAP und make it
>>> public, probably in about 24hrs.
>>>
>>> I don't talk at the moment about lensfun. With Xenial I copied the
>>> file of the Tamron 24-70, which is the same lens. I discussed this
>>> already with lensfun maintainers.
>>>
>>> ~# ldd `which darktable` | grep exiv
>>> libexiv2.so.14 => /usr/lib/x86_64-linux-gnu/libexiv2.so.14
>>> (0x00007f982d350000)
>>>
>>> This version was compiled:
>>> exiv2-trunk/src/.libs/libexiv2.so.26
>>>
>>> So I have:
>>> /usr/local/lib/libexiv2.so.26
>>> /usr/local/lib/libexiv2.so.26.0.0
>>>
>>> /usr/lib/86_64-linux-gnu/libexiv2.so.14
>>> /usr/lib/x86_64-linux-gnu/libexiv2.so.14.0.0  
>>
>> You may have to check /etc/ld.so.conf (and its includes) — does it
>> include /usr/local/? Then run `ldconfig`. With `ldconfig -v` you may
>> check what libraries are actually accounted for.
> 
> Hi,
> 
> cat /etc/ld.so.conf
> include /etc/ld.so.conf.d/*.conf
> 
> # grep -r local /etc/ld.so.conf.d/
> /etc/ld.so.conf.d/libc.conf:/usr/local/lib
> /etc/ld.so.conf.d/x86_64-linux-gnu.conf:/usr/local/lib/x86_64-linux-gnu
> /etc/ld.so.conf.d/i386-linux-gnu.conf:/usr/local/lib/i386-linux-gnu
> /etc/ld.so.conf.d/i386-linux-gnu.conf:/usr/local/lib/i686-linux-gnu
> 
> 
> # ldconfig -v | grep exiv
[...]

> So should I run ldconfig?

Yes, and it looks like you have already did.

Now 'ldd `which darktable`' should show, that your compiled
/usr/local/lib/exiv... is used.

-- 
Šarūnas Burdulis
math.dartmouth.edu/~sarunas

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to