Subject: Re: Plugin java on emulated linux browsers ?
To: None <netbsd-users@netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-users
Date: 11/08/2003 22:41:57
--Signature=_Sat__8_Nov_2003_22_41_58_+0100_q7u+/0TtYr+smY8c
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Florence HENRY <Florence.Henry@obspm.fr> wrote:

> I get the follonwing error message at netscape7 startup :
> LoadPlugin: failed to initialize shared library
> /usr/pkg/java/sun-1.4/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
> [libgcc_s.so.1: cannot open shared object file: No such file or
> directory]

you probably have to put something like /usr/pkg/gcc3/lib (the path
which contains libgcc_s.so.1) into LD_LIBRARY_PATH before starting it.
Note, that the plugin has to be compiled with the same compiler as
Mozilla/Netscape i.e., the C++ ABI must be compatible. If the
browser is compiled with GCC 2.95.x, you cannot use a plugin that
is compiled with GCC 3.x. IIRC, you can use

	strings -a libjavaplugin_oji.so|grep gcc

to find out which GCC was used (if at all).

-- 
Christian

--Signature=_Sat__8_Nov_2003_22_41_58_+0100_q7u+/0TtYr+smY8c
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQE/rWMu0KQix3oyIMcRAqPXAJ9V2+lEU+ums5phXdvdTycwlb4z7QCfcoSA
GECcIMB4Hi3iDBtIxDNvyeg=
=ImEP
-----END PGP SIGNATURE-----

--Signature=_Sat__8_Nov_2003_22_41_58_+0100_q7u+/0TtYr+smY8c--