Date: Wed, 24 Aug 2005 16:39:29 -0700 From: Chicky ShnoodleSoup <chickyshnoodlesoup@gmail.com> To: questions@freebsd.org Subject: Re: how to use linux .so in freebsd application Message-ID: <8eebe4390508241639229e8f2b@mail.gmail.com> In-Reply-To: <8eebe4390508221620393d8f86@mail.gmail.com> References: <8eebe4390508221620393d8f86@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I guess I found the answer to my question (thanks Google Groups!): >On Fri, May 27, 2005 at 03:10:13PM -0700, Simeon Nifos wrote: >> Hallo everybody, >> >> 1:) Suppose I have a Linux Library library.so.=3D20 >> And I want to link it with my main.c compiled >> in FreeBSD. How can I achieve that? > >You can't. You may not need to though. What are you really trying to >achieve? :) > >Kris > and that's you can't use a linux library from a freebsd program :( C On 8/22/05, Chicky ShnoodleSoup <chickyshnoodlesoup@gmail.com> wrote: > Hi, >=20 > Thanks to the linux binary compatibility > ( http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu-lbc-inst= all.html ), > I am able to run a linux application using the linux dynamic library > on a freebsd machine. >=20 > Now I am trying to get a freebsd application (same application but > compiled on freebsd) using the linux .so (don't have the source to > compile it on freebsd) running on freebsd. >=20 > Is that possible? if yes, how to do it? > How to tell the compiler to use freebsd libraries for the application > and the linux ones for the linux .so? >=20 > Thanks, > C >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8eebe4390508241639229e8f2b>