Letractively / springweblobby

Automatically exported from code.google.com/p/springweblobby
0 stars 0 forks source link

pr-downloader can't find symbols in libstdc++ on OSX #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm OSX 10.8, weblobby downloading is not working, so I run this in the 
terminal:

 $ ./pr-downloader --http-download sss
pr-downloader 0.7-68-gdf69e15
[Info] Using filesystem-writepath: /Users/halida/.spring
dyld: lazy symbol binding failed: Symbol not found: 
__ZNSt8__detail15_List_node_base7_M_hookEPS0_
  Referenced from: /Users/halida/.spring/weblobby/pr-downloader/./pr-downloader
  Expected in: /usr/lib/libstdc++.6.dylib

dyld: Symbol not found: __ZNSt8__detail15_List_node_base7_M_hookEPS0_
  Referenced from: /Users/halida/.spring/weblobby/pr-downloader/./pr-downloader
  Expected in: /usr/lib/libstdc++.6.dylib

[1]    78078 trace trap  ./pr-downloader --http-download sss

So should I install some other library?

Original issue reported on code.google.com by linjunhalida on 12 Aug 2013 at 11:11

GoogleCodeExporter commented 9 years ago
pr-downloader is known to work on OSX so I can only guess there's something 
fishy about your libstdc++. I have the symbol in mine on linux but it has one 
leading underscore instead of 2 so perhaps a mangling issue? Not sure if C++ 
mangling is the same on Mac as on linux.

Also is 0.7-68 the correct version? Can you see if any of those work?
1. 
http://springweblobby.googlecode.com/svn/trunk/site/pr-downloader/mac/pr-downloa
der
2. 
http://springweblobby.googlecode.com/svn-history/r453/trunk/site/pr-downloader/m
ac/pr-downloader
3. 
http://springweblobby.googlecode.com/svn-history/r130/trunk/site/pr-downloader/m
ac/pr-downloader

Original comment by danila.b...@gmail.com on 13 Aug 2013 at 9:38

GoogleCodeExporter commented 9 years ago
This version works for me:

3. 
http://springweblobby.googlecode.com/svn-history/r130/trunk/site/pr-downloader/m
ac/pr-downloader

After replace it in weblobby directory, I can download game currectly. 

 $ ps aux|grep pr-down
halida         53351   4.3  0.0  2445868   2480   ??  S     1:04PM   0:01.72 
/Users/halida/.spring/weblobby/pr-downloader/pr-downloader 
--filesystem-writepath /Users/halida/.spring/weblobby --download-engine 94.1

Any more information you need?

Original comment by linjunhalida on 14 Aug 2013 at 5:06

GoogleCodeExporter commented 9 years ago
The version from r130 is used on the live site at the moment. When I port qtswl 
to mac it will probably ship its own libstdc++ which may or may not solve the 
issue.

Original comment by danila.b...@gmail.com on 14 Feb 2014 at 6:58