Updated README

master
Aadhavan Srinivasan 2 years ago
parent b64268f323
commit 424e95c603

@ -43,8 +43,11 @@ and link the library:
`gcc example.c -o example -leasysock` `gcc example.c -o example -leasysock`
___ ___
### Troubleshooting ### Troubleshooting
#### The library isn't loaded on Arch Linux, "cannot open shared object file: No such file or directory" #### * The library isn't loaded on Arch Linux, "cannot open shared object file: No such file or directory"
This is becacuse Arch Linux [doesn't include '/usr/local/lib'](https://libreddit.tiekoetter.com/r/archlinux/comments/ws9qty/why_is_usrlocallib_not_in_the_default_search_path/) in its library search path by default. To add it, create a file ending in '.conf' under `/etc/ld.so.conf.d/`, and add '/usr/local/lib' to it. Then, run `ldconfig` as root. This is becacuse Arch Linux [doesn't include '/usr/local/lib'](https://libreddit.tiekoetter.com/r/archlinux/comments/ws9qty/why_is_usrlocallib_not_in_the_default_search_path/) in its library search path by default. To add it, create a file ending in '.conf' under `/etc/ld.so.conf.d/`, and add '/usr/local/lib' to it. Then, run `ldconfig` as root.
<br />
<br />
This file was written using [Dillinger](https://dillinger.io). This file was written using [Dillinger](https://dillinger.io).

Loading…
Cancel
Save