From owner-freebsd-questions Mon May 10 19:42:41 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cygnus.rush.net (cygnus.rush.net [209.45.245.133]) by hub.freebsd.org (Postfix) with ESMTP id 0DDAD14C8B for ; Mon, 10 May 1999 19:42:33 -0700 (PDT) (envelope-from bright@rush.net) Received: from localhost (bright@localhost) by cygnus.rush.net (8.9.3/8.9.3) with SMTP id WAA10470; Mon, 10 May 1999 22:04:39 -0500 (EST) Date: Mon, 10 May 1999 22:04:38 -0500 (EST) From: Alfred Perlstein To: Oscar Bonilla Cc: freebsd-questions@FreeBSD.ORG Subject: Re: dynamic loading in FreeBSD In-Reply-To: <19990510173538.F699@fisicc-ufm.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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