[SDL] Linking SDL2_image

Csala Tamás tomius1994 at gmail.com
Sat Mar 16 12:19:02 PDT 2013

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!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20130316/76aed51e/attachment-0008.htm>

More information about the SDL mailing list