Bug#253443: /usr/bin/epiphany: This bug remains...

Adam Majer Adam Majer <adamm@galacticasoftware.com>, 253443@bugs.debian.org
Tue, 15 Jun 2004 19:24:30 -0500


reassign 253443 mozilla-thunderbird

retitle 253443 mozilla-thunderbird: please reset LD_LIBRARY_PATH before spawning external programs

thanks


Edd Dumbill wrote:

>On Tue, 2004-06-15 at 18:22 -0500, Adam Majer wrote:
>  
>
>>Package: epiphany-browser
>>Version: 1.2.6-1
>>Severity: normal
>>File: /usr/bin/epiphany
>>Followup-For: Bug #253443
>>
>>This bug remains...
>>
>>Once again, trying to start epiphany from mozilla-thunderbird yields,
>>/usr/lib/epiphany/epiphany: relocation error: /usr/lib/mozilla-thunderbird/libgtkembedmoz.so: undefined symbol: _ZN12nsCharTraitsIcE12sEmptyBufferE
>>    
>>
>
>Hmm, epiphany shouldn't be going anywhere near /usr/lib/mozilla-
>thunderbird/, it should be using libgtkembedmoz from /usr/lib.  Except
>that thunderbird ships its own and amends LD_LIBRARY_PATH as well.
>
>try editing the /usr/bin/epiphany script so that the LD_LIBRARY_PATH
>line reads:
>
>export LD_LIBRARY_PATH=/usr/lib:/usr/lib/mozilla:$LD_LIBRARY_PATH
>
>and let me know if that fixes it.
>  
>

Yes, it does. That's a reason why I initially filed this bug against
mozilla-thunderbird since epiphany started ok on command line but not
from thunderbird. Oh well, I'll reassign. After all, if
mozilla-thunderbird is going to launch external programs, it should
reset the LD_LIBRARY_PATH before doing so. Anything else will break things.

- Adam

PS. I hope epiphany does reset LD_LIBRARY_PATH before it starts any
external software :)