Hey Roberto, Yes, the documentation does clearly state: "For OSX support, you need a go version > than 1.0.3 or you will need to apply that patch"
Sorry for not RTFM :-( Thanks, Ben On Tue, May 7, 2013 at 9:33 AM, Roberto De Ioris <[email protected]> wrote: > > > Hi, > > > > I'm trying to follow the hello world example for Go as outlined here: > > https://uwsgi-docs.readthedocs.org/en/latest/Go.html > > > > The error I'm getting on OSX is: > > > > [uwsgi-go] unable to load uwsgi_go_helper_post_fork function > > > > I've managed to compile the uwsgi support library, and I've put the Go > lib > > onto $GOPATH such that the simple main program compiles. For simplicity, > I > > copied the libuwsgi.so into /usr/local/lib. > > > > Looking at the resulting binary with otool, I can see the following > links: > > > > $ otool -L main > > main: > > libuwsgi.so (compatibility version 0.0.0, current version 0.0.0) > > /usr/lib/libSystem.B.dylib (compatibility version 0.0.0, current version > > 0.0.0) > > > /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation > > (compatibility version 0.0.0, current version 0.0.0) > > /System/Library/Frameworks/Security.framework/Versions/A/Security > > (compatibility version 0.0.0, current version 0.0.0) > > > > Am I missing something simple here? > > > > Cheers, > > > > Ben > > _______________________________________________ > > uWSGI mailing list > > [email protected] > > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > > > > On top of the docs is reported the link with the patch needed to correctly > export symbols in go when under darwin. > > Versions higher than 1.0.3 already have that patch. > > If you use uWSGI from github you can even use it with go 1.1rc2 (released > today) > > > -- > Roberto De Ioris > http://unbit.it > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
