> 
> 
> Message: 8
> Date: Mon, 09 Jul 2012 21:02:55 +0200
> From: Erik van Pienbroek <[email protected]>
> Subject: Re: [Mingw-w64-public] problem with static linking -
>       libgcc_s_sjlj-1.dll - pthreadGC2.dll not statically linked
> To: [email protected]
> Message-ID: <1341860575.674.4.camel@erik-laptop>
> Content-Type: text/plain; charset="UTF-8"
> 
> Simson Garfinkel schreef op ma 09-07-2012 om 11:16 [-0400]:
>> When I try to run under wine (where it's easier to do testing), I get this 
>> error:
>> 
>> err:module:import_dll Library libgcc_s_sjlj-1.dll (which is needed by 
>> L"Z:\\home\\simsong\\tcpflow\\src\\tcpflow.exe") not found
>> err:module:import_dll Library pthreadGC2.dll (which is needed by 
>> L"Z:\\home\\simsong\\tcpflow\\src\\tcpflow.exe") not found
> 
> Hi,
> 
> The mingw-pthreads package in Fedora currently only contains a shared
> library. Therefore gcc will always link to the shared library even when
> you've supplied the -static flag.
> 
> I just added the static pthread library to the mingw-pthreads package in
> Fedora. You can fetch this package from
> http://koji.fedoraproject.org/koji/buildinfo?buildID=329650

Erik,

Thanks for adding it. When will it be in the main Fedora repository?

I'm not really upon on all of the packaging things. Can you give me simple 
instructions that I can provide to my users to tell them how to easily add 
this?  I tried the obvious "yum install" and it didn't work (see below). Is 
there another repository that can be added?

$ sudo yum install 
http://kojipkgs.fedoraproject.org//packages/mingw-pthreads/2.8.0/21.20110511cvs.fc18/noarch/mingw64-pthreads-static-2.8.0-21.20110511cvs.fc18.noarch.rpm
Loaded plugins: langpacks, presto, refresh-packagekit
mingw64-pthreads-static-2.8.0-21.20110511cvs.fc18.noarch.rpm                    
                                               |  32 kB     00:00    
Examining 
/var/tmp/yum-root-uICUWW/mingw64-pthreads-static-2.8.0-21.20110511cvs.fc18.noarch.rpm:
 mingw64-pthreads-static-2.8.0-21.20110511cvs.fc18.noarch
Marking 
/var/tmp/yum-root-uICUWW/mingw64-pthreads-static-2.8.0-21.20110511cvs.fc18.noarch.rpm
 to be installed
Resolving Dependencies
--> Running transaction check
---> Package mingw64-pthreads-static.noarch 0:2.8.0-21.20110511cvs.fc18 will be 
installed
--> Processing Dependency: mingw64-pthreads = 2.8.0-21.20110511cvs.fc18 for 
package: mingw64-pthreads-static-2.8.0-21.20110511cvs.fc18.noarch
--> Finished Dependency Resolution
Error: Package: mingw64-pthreads-static-2.8.0-21.20110511cvs.fc18.noarch 
(/mingw64-pthreads-static-2.8.0-21.20110511cvs.fc18.noarch)
           Requires: mingw64-pthreads = 2.8.0-21.20110511cvs.fc18
           Available: mingw64-pthreads-2.8.0-20.20110511cvs.fc17.noarch (fedora)
               mingw64-pthreads = 2.8.0-20.20110511cvs.fc17
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[simsong@FC17 tcpflow]$ 

Thanks,

Simson


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to