Comment 27 for bug 190227

Revision history for this message
Dan Kegel (dank) wrote :

Here's a workaround script for at least Ubuntu 8.04.1. What other libraries should be added to this list?

#!/bin/sh
# Script to work around https://bugs.launchpad.net/ubuntu/+source/ia32-libs/+bug/190227
# "Picasa can't capture images on 64 bit ubuntu"

if grep -q /usr/lib /usr/lib32/libgphoto2.so.2.3.0 && ! grep -q /usr/lib32 /usr/lib32/libgphoto2.so.2.3.0
then
    echo Your system has the bug. Applying workaround.
    sudo ln -s /usr/lib32 /usr/l32
    sudo sed -i.bak 's/\/usr\/lib\//\/usr\/l32\//g' /usr/lib32/libgphoto2.so.2.3.0 /usr/lib32/libgphoto2_port.so.0.8.0
else
    echo Your system does not have the bug.
fi