Hello Andreas,

On 8/24/11 9:21 AM, Andreas Neudecker wrote:
i.e. I add "LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so" to my ~/.profile and
export LD_PRELOAD. Now, this did not work anymore, because the file has been
moved to /usr/lib/i386-linux-gnu/libv4l/v4l1compat.so

I adapted my ~/.profile accordingly, but when trying to preload the library I
get:

----8<----
andreas@halucigenia:~$ LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so
skype
ERROR: ld.so: object '/usr/lib/libv4l/v4l1compat.so' from LD_PRELOAD cannot be
preloaded: ignored.
---->8----

Workaround: when creating a symlink (ln -s /usr/lib/i386-linux-gnu/libv4l
/usr/lib/libv4l) it works again, so it seems some hardcoded path is still
pointing to the old location?

I checked all library files by calling "strings libxzw |grep usr" and could not find a hardcoded reference.

Could you please send the output of ps auxewww|grep skype when preloading fails?

You could also export LD_DEBUG=all (see man ld.so) to get debug output from the dynamic linker.

Note: If you add LD_PRELOAD to your profile than every started program will contain libv4l.

¹actually, the "fix" just flips the video image on top, i.e. it is still
mirrored, not properly turned by 180°.

Please send the output of
more /sys/class/dmi/id/*

Thanks,
Gregor



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to