Linux executable picks up FreeBSD library over linux one and breaks

Greg Troxel gdt at ir.bbn.com
Sat Dec 1 08:30:57 PST 2007


I had a Linux shared library problem on NetBSD that I think it might be
helpful to mention.

thunderbird (and firefox) set LD_LIBRARY_PATH to pick up their own
modules.  When acroread is invoked to display a pdf attachment,
LD_LIBRARY_PATH is still set, and this causes acroread to read a BSD
library.  My workaround is to use a script for acroread that cleans the
environment.

I think this is a thunderbird bug; the environment of invoked programs
should match the environment as of thunderbird's invocation.



More information about the freebsd-hackers mailing list