Hi,

starting firefox the first time after a reboot gives me several fopen
errors:

----------------------------------------------------------------------
fopen: No such file or directory /usr/lib/mps/libnspr4.so 
fopen: No such file or directory /usr/lib/mps/libssl3.so 
----------------------------------------------------------------------

After some research I found these lines in the firefox wrapper script:

----------------------------------------------------------------------
if [ ! -f /tmp/firefox-preloaded -a -x /usr/lib/gdmprefetch ]
then
        /usr/lib/gdmprefetch @${dist_bin}/firefox-preload.list
        touch /tmp/firefox-preloaded
fi
----------------------------------------------------------------------

I tried to find something about this error in bugs.opensolaris.org and
Bug ID 6452960 seems to be the right one. But the suggested fix is 
wrong.

After a download of 'gdm-2.13.0.10' from gnome.org, I found gdmprefetch
is simply doing fgets for every entry in firefox-preload.list. And a
closer look on calling gdmprefetch with truss shows some trailing blanks
in the list:

----------------------------------------------------------------------
% egrep ' $' /usr/lib/firefox/firefox-preload.list
/usr/lib/mps/libnspr4.so 
/usr/lib/mps/libssl3.so 
----------------------------------------------------------------------

Remove these blanks and the error messages are gone.

Is it possible to reopen a bug, or do I have to create a new one?

btw. does gdmprefetch really speed up the use of firefox?


Willi

P.S. I think gdmprefetch should remove trailing blanks while reading 
     input lines.


Reply via email to