我尝试在MingW64上编译sqlite3时收到以下消息
*** Warning: linker path does not have real file for library -lpthread.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libpthread and none of the candidates passed a file format test
*** using a file magic. Last file checked: d:/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/lib//libpthread.dll.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
这是什么意思?我需要libpthread.dll吗?我能在哪里得到它?
答案 0 :(得分:1)
它不一定意味着您没有libpthread.dll
,但链接器正在搜索的路径不包含此库。你必须
在您的计算机上搜索该文件,如果该文件不存在,您将需要获取该文件。
This文章可能有用。