2017-02-28 3 views
3

Ich benutze macOS 10.12.3. Gestern habe ich Sparsamkeit erfolgreich installiert, aber es konnte nicht richtig mit Python funktionieren. Also mache ich es heute neu und bekomme das irr. Könnte mir jemand sagen, was los ist? ThxApache Thrift make err mit libthrift-0.10.0.dylib

Making all in perl 
../../compiler/cpp/thrift --gen perl ../../test/ThriftTest.thrift 
dyld: Symbol not found: _GENERAL_NAME_free 
    Referenced from: /Users/sara/thrift-0.10.0/lib/cpp/.libs/libthrift-0.10.0.dylib 
    Expected in: flat namespace 
in /Users/sara/thrift-0.10.0/lib/cpp/.libs/libthrift-0.10.0.dylib 
make[3]: *** [gen-perl/ThriftTest/Constants.pm] Abort trap: 6 
make[2]: *** [all-recursive] Error 1 
make[1]: *** [all-recursive] Error 1 
make: *** [all] Error 2 

Antwort

1

Ich hatte das gleiche Problem, aber jetzt löse ich es. wenn du den fehler hattest, denke ich, /usr/local/bin/thrift ist bereits in dir macOS vorhanden. Dann führen Sie $ sudo chmod -R 777 /usr/local/include/thrift/ $ brew link --overwrite thrift dann finden Sie den Befehl /usr/local/bin/thrift ist in Ordnung.

Verwandte Themen