| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4547D9A6.8050405@cygwin.com> |
| Date: | Tue, 31 Oct 2006 18:17:58 -0500 |
| From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
| Reply-To: | cygwin AT cygwin DOT com |
| User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060916 Fedora/1.5.0.7-1.fc4.remi Thunderbird/1.5.0.7 Mnenhy/0.7.4.0 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: .so and .dll.a files |
| References: | <86dd06af0610311408v627c143bj296da7d665a9ca67 AT mail DOT gmail DOT com> |
| In-Reply-To: | <86dd06af0610311408v627c143bj296da7d665a9ca67@mail.gmail.com> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
Gerardo Segura wrote:
> Hi, I'm trying to use libflv in cygwin, so I build de library. The
> produced files are:
> /usr/lib/libflv.so
> /usr/lib/libflv.so.0
>
> when I tried to build an example command ld can't found the library it
> says:
> ld: cannot find -lflv
>
> using filemon or strace I see the files are been looking for are either:
> libflv.dll.a or
> flv.dll.a
>
> so my question is how to convert from .so files to .dll.a
> or how can I use directly the .so files.
If you built this as a DLL and just named it "libflv.so", rename it to
"libflv.dll". Then make sure the linker can find the file. If you
instead copied these files from some *NIX system, you'll need to rebuild
from source under Cygwin into a static library ("libflv.a") or a DLL
("cygflv.dll" - the preferred prefix for Cygwin DLLs is "cyg") with it's
companion import library ("libflv.dll.a").
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |