[SDL] Linking SDL2_image
Sik the hedgehog
sik.the.hedgehog at gmail.com
Sat Mar 16 12:32:20 PDT 2013
Either reboot or run 'sudo ldconfig' (sans-quotes). The library cache
needs to be updated.
2013/3/16, Csala Tamás <tomius1994 at gmail.com>:
> What am I doing wrong when trying to link SDL2_image (is built from latest
> hg, with *$ ./autogen.sh $ ./configure $ make $ sudo make install*)?
> *$ g++ test.cpp -o test -lSDL2 -lSDL2_image*
> *$ ./test*
> *./test: error while loading shared libraries: libSDL2_image-2.0.so.0:
> cannot open shared object file: No such file or directory*
> Yet the file does exist:
> *$ sudo find / -name "libSDL2_image-2.0.so.0"*
> Thanks in advance!
More information about the SDL