From owner-freebsd-ports Tue Sep 15 10:37:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA21735 for freebsd-ports-outgoing; Tue, 15 Sep 1998 10:37:14 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA21721 for ; Tue, 15 Sep 1998 10:37:08 -0700 (PDT) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.8) with ESMTP id KAA21772; Tue, 15 Sep 1998 10:36:33 -0700 (PDT) (envelope-from jdp) Message-Id: <199809151736.KAA21772@austin.polstra.com> To: mathiasp@virtual-earth.de Subject: Re: -ldl and dlsym autoconf questions In-Reply-To: <199809142027.WAA01601@mp.virtual-earth.de> References: <199809142027.WAA01601@mp.virtual-earth.de> Organization: Polstra & Co., Seattle, WA Cc: ports@FreeBSD.ORG Date: Tue, 15 Sep 1998 10:36:33 -0700 From: John Polstra Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article <199809142027.WAA01601@mp.virtual-earth.de>, Mathias Picker wrote: > 2) there is a call to dlsym("register_objects"... which needs to be > dlsym("_register_objects"... ... > Oh, yes, this is all on freebsd-stable about three weeks old... You should be able to use dlsym("register_objects") then, without the leading underscore. The dynamic linker tries to be intelligent about it. > Will something in this area change with the switch to 3.0? In 3.0, which uses ELF, dlsym("_register_objects") will not work. You should specify the variable name as it appears in a C program. -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message