[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dlopen question...



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Am Mittwoch, 4. Juni 2003 21:13 schrieb Peter Valchev:
> > I'm not sure but I had some problems looking up symbols, too (with
> > Libchipcard).
> >
> > The problem there was that symbols have the prefix "_" (underscore) in
> > OpenBSD.
>
> ..
> This statement is wrong.
>
> The underscore prefix is an a.out thing, and affects only a.out
> platforms.  So OpenBSD needs it only for few architectures (especially
> since i386 switched to ELF, even fewer)
I'm using OpenBSD on a i386 platform, and dlsym does NOT work without that 
prefix.
I verified this with two projects I participate in.

So when it works WITH the underscrore (and it does), how can I be wrong ?

regards
Martin


- -- 
LibChipcard - http://www.libchipcard.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+3khrwcZBcYAOyGYRAixaAJ9P5+8NA+cN8B1ND80b3bYeGHTftgCeLlcI
WNrXMqYU4B/mfYFnegLn5pk=
=IQHx
-----END PGP SIGNATURE-----