protobuf-swift icon indicating copy to clipboard operation
protobuf-swift copied to clipboard

protocol buffer build.sh error and show “protobuf test program failed to link”

Open leonxjf opened this issue 5 years ago • 4 comments

I am setting up protocal buffer in my mac(10.14.4) I step by step according to the readme When I input ./scripts/build.sh in the terminal and it tells me: ERROR: protobuf test program failed to link: perhaps you need to add -Llibdir to your LDFLAGS.

what should I do? what is mean "add -Llibdir to your LDFLAGS" and how to fix it?

leonxjf avatar May 02 '19 12:05 leonxjf

I am setting up protocal buffer in my mac(10.14.4) I step by step according to the readme When I input ./scripts/build.sh in the terminal and it tells me: ERROR: protobuf test program failed to link: perhaps you need to add -Llibdir to your LDFLAGS.

what should I do? what is mean "add -Llibdir to your LDFLAGS" and how to fix it?

did you fix it?

Jerryshen170918 avatar May 19 '20 07:05 Jerryshen170918

I have the same question, how to fix it?

51wiki avatar Nov 21 '20 10:11 51wiki

I have the same question, how to fix it?

Do they still support the library ????

thatsmerahul1 avatar May 04 '21 07:05 thatsmerahul1

@thatsmerahul1 I think you need this. https://github.com/apple/swift-protobuf

TimorYang avatar May 12 '21 06:05 TimorYang