[tor-bugs] #28205 [Obfuscation/Snowflake]: linking against other libwebrtc binaries errors out on missing symbols

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Nov 20 14:20:34 UTC 2018


#28205: linking against other libwebrtc binaries errors out on missing symbols
-----------------------------------+---------------------------
 Reporter:  eighthave              |          Owner:  eighthave
     Type:  defect                 |         Status:  accepted
 Priority:  Medium                 |      Milestone:
Component:  Obfuscation/Snowflake  |        Version:
 Severity:  Major                  |     Resolution:
 Keywords:  android                |  Actual Points:
Parent ID:                         |         Points:
 Reviewer:                         |        Sponsor:
-----------------------------------+---------------------------

Comment (by n8fr8):

 Replying to [comment:33 dcf]:
 > Replying to [comment:31 eighthave]:
 > > I renamed `package main` to `package snowflakeclient` since
 ''gomobile'' didn't want to work with the ''main'' package.  That's a hack
 we've used in all the Go PTs in Orbot.  I guess it is causing trouble
 here, is there some special meaning to `package main`?
 >
 > I'm looking at this
 [https://github.com/golang/mobile/blob/master/example/basic/main.go
 gomobile sample application] and it uses `package main`, so I guess the
 renaming is necessary because of something in Orbot. But that seems
 unrelated to any error message you've posted.

 You can use gomobile to build full apps. With those main() is allowed. In
 our case we are using the "bind" build command to create a shared library.
 main() is not allowed here.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28205#comment:35>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list