From owner-freebsd-questions@FreeBSD.ORG Wed Mar 26 21:39:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B41341065675 for ; Wed, 26 Mar 2008 21:39:20 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by mx1.freebsd.org (Postfix) with ESMTP id 7122F8FC53 for ; Wed, 26 Mar 2008 21:39:20 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so44026anc.13 for ; Wed, 26 Mar 2008 14:39:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=M2t2db9ndEPWbwmj2DoIEXPz7fl9mDynLugWwyHYzME=; b=soXIFXgyeGdPUGUrtyKJULXmQjVlNy+dimTaviQVl546l8IJwQ/Bzmq+UJ32csyrOeq2xCxpNxX0YeDYXW8caP6qQCPtkbFihbvuhVxB4Uzg9UtfvlSsKiORzTga8Q3TVtmVpKXf7Q2TzrjDZeeSeXe99BB+Pl5bnvw3bBfV1nk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=q0bNteZIgaGVxkCtDiQZAeS2AJQEqclv7Dpy2DyyGzOnUndd4JMYENiGH/j6/PPO+D26jgTx8cTt6R2N527Psx7HQYJSDGrQtNv84Kbk1sFYeKttXt7Hsj9gHVKabOtvHzhbWY+4dyJtk43vgVTun1yt7y5p1BCngvJDuTol7WU= Received: by 10.100.41.8 with SMTP id o8mr1110331ano.82.1206567558997; Wed, 26 Mar 2008 14:39:18 -0700 (PDT) Received: by 10.100.253.13 with HTTP; Wed, 26 Mar 2008 14:39:18 -0700 (PDT) Message-ID: <539c60b90803261439n3fcec73by3d547400c1828606@mail.gmail.com> Date: Wed, 26 Mar 2008 14:39:18 -0700 From: "Steve Franks" Sender: bahamasfranks@gmail.com To: "User Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 17527f64c93b176e Subject: freebsd equiv of libdl.a (load shared libs) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stevefranks@ieee.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 21:39:20 -0000 I am porting a linux app which is looking for libdl.a (which I understand from googling is related to loading of shared libs). The app makes a libusb-based shared lib. FreeBSD uses shared libs, so I assume there is equivalent functionality somewhere. I also see libdl.a in /compat/linux/lib, but I assume if I link a native FreeBSD app against this, fireworks will be the only result. I further assume since I got no error from gcc, that some freebsd header actally points to the exact functions expected in libdl.a, so they are in there somewhere.... Steve -- Steve Franks, KE7BTE Staff Engineer La Palma Devices, LLC http://www.lapalmadevices.com (520) 312-0089