[Shotwell] Problems with libraw when compiling Shotwell 0.9
david.velazquez08 at gmail.com
Thu Mar 24 06:27:55 PDT 2011
On Thu, Mar 24, 2011 at 7:25 AM, Adam Dingle <adam at yorba.org> wrote:
> On Wed, Mar 23, 2011 at 9:41 PM, David Velazquez <
> david.velazquez08 at gmail.com> wrote:
>> Evening all! In attempting to compile the latest Shotwell I seem to have
>> run into a road block. I successfully (I say that because I saw no errors)
>> compiled the latest vala, gexix2, and libraw 0.13.2 and then built
>> All of the above happened with no errors or anything to indicate that
>> something went wrong.
>> In attempting to run Shotwell I'm greeted with,
>> dave at debian ~/Build/Shotwell/shotwell-0.9.0 $ shotwell
>> shotwell: error while loading shared libraries: libraw.so.2: cannot open
>> shared object file: No such file or directory
>> I'm not exactly sure what thats saying (except that it can't find
>> libraw.so.2 where it's looking). libraw.so.2 is actually present in
>> /usr/local/lib as are libraw.so and libraw.so.2.0.1. It is not present in
>> /usr/lib/ but adding it there seemed to make no difference even after
>> building libraw and shotwell again.
>> All of the above were compiled in my home with ./configure, make, sudo
>> install. I believe that everything Shotwell needs should therefore be
>> present in /usr/local.
>> Is it possible that something is being all funky due to a previous version
>> of libraw on the system? It was removed prior to me attempting this, but I
>> thought I read somewhere that things like this could happen because of
> 1. What distribution and version are you running? (Your prompt implies
> it's probably some release of Debian.)
> 2. Try running "sudo ldconfig", then running Shotwell again. Does that
> 3. If not, what do the following commands print?
> $ ldd shotwell
> $ ls -l /usr/local/lib/libraw*
Good Morning Adam,
I really thought I had included the distribution name. Teaches me (again)
not to write late at night. I'm using Debian testing.
sudo ldconfig did the trick! I had to run it to get Shotwell to build
successfully in the first place last night as it was not finding the needed
parts of Vala. I thought once that had been done it had been done and there
was no need to run ldconfig again. Will go back and read some more on this.
More information about the Shotwell