.so and .dll.a files
Larry Hall (Cygwin)
reply-to-list-only-lh@cygwin.com
Tue Oct 31 23:33:00 GMT 2006
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/
More information about the Cygwin
mailing list