Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 1999 22:04:38 -0500 (EST)
From:      Alfred Perlstein <bright@rush.net>
To:        Oscar Bonilla <obonilla@fisicc-ufm.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: dynamic loading in FreeBSD
Message-ID:  <Pine.BSF.3.96.990510220308.24802R-100000@cygnus.rush.net>
In-Reply-To: <19990510173538.F699@fisicc-ufm.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 10 May 1999, Oscar Bonilla wrote:

> Does anyone know about this libdl thing? i'm woeking with the=20
> kmp3 developers to have the kmp3 program be source compatible
> with freebsd. in the final linking of the program the makefile
> has a -ldl switch which g++ refuses to accept, i asked Cajus
> and here's his reply.
>=20
> On Sat, May 08, 1999 at 09:54:12AM +0200, Cajus Pollmeier wrote:
> > libdl is for dynamic loading. We use it for the plugins. The main probl=
em=20
> > will
> > be that this feature is sysv.  When I started to write the plugin engin=
e,
> > someone told me that there=B4s a SYSV kit for BSD systems with exactly =
this
> > dynamic loader included, but I can=B4t tell you where to get it...
> >=20
> > Do you know about it?
> >=20
>=20
> Thanks in advance,

I think dynamic loading in FreeBSD is supported in libc, you don't
need the "-ldl" flag however you should consult the man pages for
dlsym under freebsd to learn of the quirks involved.

Please post back if you have any problems.

-Alfred



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990510220308.24802R-100000>