On 3/26/2011 3:19 AM, Andrew Benton wrote:
> As you can see, firefox.bin is linked to libpng14.so.14 so
> --enable-system-png obviously works fine...

Actually, the output of ldd is quite meaningless for determining
if Firefox is using it directly. For example, if you compile GTK+
wit libpng, the output of a GTK+ binary will have libpng included.

Then, if you use the system GTK+ during compilation of Firefox, the
ldd output of the Firefox binary will also have libpng included, even
if you used an internal version of libpng that ships with Firefox
(not sure if it does, this is simply an example).

So, bottom line, ldd should never be used to determine if a library
was linked in directly to some binary. It *can* be used, but it is a
very unreliable method of determining what was linked in during
compilation.

-- 
Randy

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to