[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:53 schrieb Hugo Villeneuve:
> On Wed, Jun 04, 2003 at 09:41:00PM +0200, Martin Preuss wrote:
> > > > 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
> > > ?
>
> Did you miss the memo?
(Remembers me of "Office Space" ;-)

> So you're right, OpenBSD/i386 3.3 and under _are_ a.out.
Ok, so I have to think about a way to detect an a.out system (I've seen a 
message about that in the output of a configure script, so I guess there is a 
simple autotonv macro to check for this).

Thanks.
Martin

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

iD8DBQE+3lDQwcZBcYAOyGYRAv6wAKCHzVV942Uj0smZyMdW5p1VfmrpmACfSmTM
hkc0ofQy6GLZ/1RlJdc/ofM=
=EPht
-----END PGP SIGNATURE-----