Closed mehtajaimin closed 2 years ago
Hello @mehtajaimin
Maybe running ldconfig
could help to refresh the linker, or you can specify the orcania path during linking:
gcc -o out source.c -lorcania -L/usr/local/lib
.
If none of those are working, can you post more information on what commands you are using, it might help to find a solution...
Thank you, I added the link directly in the make file and it was able to link. Thank you for looking into this.
No problem, happy hacking!
I am cross compling on ubuntu. I have been able to make and install orcania and I see it in /usr/local/lib but I get this error when trying to make yder
arm-linux-gnueabihf/bin/ld : cannot find -ldorcania
I check the ldconfig -v and it does show the entry for lorcania. I am not able to figure out why the linker is not able to find lorcania. I would be greatful for any help on this.