Cannot make install
Closed this issue · 4 comments
I get this error on Ubuntu 12.04:
/tmp/ccbBUPqy.o: In function safe_json_string': /home/Programs/Hubic/cloudfsapi.c:520: undefined reference to
json_object_object_get_ex'
/tmp/ccbBUPqy.o: In function cloudfs_connect': /home/Programs/Hubic/cloudfsapi.c:669: undefined reference to
json_object_object_get_ex'
collect2: ld returned 1 exit status
make: *** [hubicfuse] Error 1
You have an old json library. 3 options:
- upgrade your Ubuntu box
- build/install a more recent libjson
- revert last commit from the repository
I did the first 2 options with not luck.
I get the installed latest libjson0 libjson0-dev library I get the same issue.
What am I doing wrong?
Don't know, how could I guess :)
Try the last option, after the clone do:
$ git reset --hard HEAD^
Then configure, make and make install.
Works with your response found on a forum:
git checkout -b local 2b8956