From owner-freebsd-questions Mon Jan 29 18:23:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from femail5.sdc1.sfba.home.com (femail5.sdc1.sfba.home.com [24.0.95.85]) by hub.freebsd.org (Postfix) with ESMTP id D0D8E37B404 for ; Mon, 29 Jan 2001 18:22:52 -0800 (PST) Received: from home.com ([24.12.186.185]) by femail5.sdc1.sfba.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20010130022252.VLLX18198.femail5.sdc1.sfba.home.com@home.com>; Mon, 29 Jan 2001 18:22:52 -0800 Message-ID: <3A762579.FCE6C196@home.com> Date: Mon, 29 Jan 2001 18:22:50 -0800 From: Rob X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Kris Kennaway Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: compiling under compat/linux- Secrets? References: <3A74B2E2.E7151E0A@home.com> <20010128205027.A13338@dan.emsphone.com> <3A74DEFE.53C4C2CB@home.com> <20010129002654.A21650@xor.obsecurity.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kris Kennaway wrote: > > On Sun, Jan 28, 2001 at 07:09:50PM -0800, Rob wrote: > > > I compiled a FreeBSD "vsound" but linux-realplayer complained that the > > libvsound.so was incompatible, so thats why I thought I needed a linux > > version of the library. > > Yep, you do..the shared library is preloaded by the dynamic linker, > which means it has to be the same binary format. > > Anyway, I made a port of this: /usr/ports/audio/linux-vsound. The > linux_devtools environment wasn't complete enough to build this > natively, though it's probably just a matter of adding the right rpms > which configure and libtool et al expect to have present. I compiled > it on a Redhat box instead. It works very nicely! > > Kris > > ------------------------------------------------------------------------ > Part 1.2Type: application/pgp-signature Hooray! Thanks a lot, I'll keep a look out on FreshPorts. I really tried to get it to compile with the Linux tools, but it appears to be trying to link to my FreeBSD libraries. Despite putting the compat/linux paths in the makefile. Oh, well, I still have yet to make my first FreeBSD port. There are probably plenty of other simple programs in the Linux world that have yet to be ported. Rob. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message