Mailinglist Archive: opensuse-bugs (14787 mails)
| < Previous | Next > |
[Bug 216266] Firefox prints LD_PRELOAD warning on startup
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Tue, 7 Nov 2006 04:48:21 -0700 (MST)
- Message-id: <20061107114821.2AAE525C887@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=216266
------- Comment #4 from max@xxxxxxxxxx 2006-11-07 04:48 MST -------
(In reply to comment #3)
> Remember that MozillaFirefox is a i586 package even on x86_64.
Yes, that's the reason why a simple "Requires: alsa" won't work.
> There are several options:
>
> (1) Requires: /usr/%{_lib}/libaoss.so in MozillaFirefox.spec
/usr/%{_lib} is usually referred to as %{_libdir} .
> (2) Add alsa-32bit to some base pattern so that it's always installed by
> default
>
> I think that (2) is better because there are more affected packages than just
> MozillaFirefox (RealPlayer and banshee are examples).
I think (2) is worse, because it is a workaround rather than a fix.
> The proposal from comment 2 does not work:
>
> %if "%_lib" == "lib64"
> Requires: libaoss.so.0()(64bit)
> %else
> Requires: libaoss.so.0
> %endif
>
> This is impossible because on IA64, "%_lib" is "lib" (not lib64) even
> though it is a 64-bit arch.
Ah - yes, I wrongly assumed that on IA64 the provided symbol would also be
libaoss.so.0 . So, to make it work on IA64 as well, change the %if line to:
%if "%_lib" == "lib64" || "%_arch" == "ia64"
BTW, how about actually linking Firefox to libaoss.so, so that the automatic
dependency checking handles it?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
------- Comment #4 from max@xxxxxxxxxx 2006-11-07 04:48 MST -------
(In reply to comment #3)
> Remember that MozillaFirefox is a i586 package even on x86_64.
Yes, that's the reason why a simple "Requires: alsa" won't work.
> There are several options:
>
> (1) Requires: /usr/%{_lib}/libaoss.so in MozillaFirefox.spec
/usr/%{_lib} is usually referred to as %{_libdir} .
> (2) Add alsa-32bit to some base pattern so that it's always installed by
> default
>
> I think that (2) is better because there are more affected packages than just
> MozillaFirefox (RealPlayer and banshee are examples).
I think (2) is worse, because it is a workaround rather than a fix.
> The proposal from comment 2 does not work:
>
> %if "%_lib" == "lib64"
> Requires: libaoss.so.0()(64bit)
> %else
> Requires: libaoss.so.0
> %endif
>
> This is impossible because on IA64, "%_lib" is "lib" (not lib64) even
> though it is a 64-bit arch.
Ah - yes, I wrongly assumed that on IA64 the provided symbol would also be
libaoss.so.0 . So, to make it work on IA64 as well, change the %if line to:
%if "%_lib" == "lib64" || "%_arch" == "ia64"
BTW, how about actually linking Firefox to libaoss.so, so that the automatic
dependency checking handles it?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
| < Previous | Next > |