Re: strange situation installing SDL
"bilsch01" <[email protected]>
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <[email protected]> |
ANSWER: SDL does not install to a directory that is not searched. You do. Try to reconfigure it with standard prefix; "--configure --prefix=/usr". I entered: ./configure, make, make install. Nothing more. That resulted in the library being installed in /usr/local/lib. STRACE shows that directory is not searched at run time, resulting in an error. Something is wrong - but it's not me. I don't understand: reconfigure it with standard prefix; "--configure --prefix=/usr"' Do you mean ./configure --prefix=/usr ? Please explain. Thanks. Bill S. > Using 32-bit Ubuntu 14.04 and installing SDL2-2.0.4 from source. The SDL libraries were installed in /usr/local/lib but at runtime my SDL program cant find the shared library libSDL2-2.0.so.0. I ran STRACE and found that the program searches in several directories for the shared library but doesn't find it anywhere. One of the paths searched is /usr/lib, so I copied the library there and the program runs fine. QUESTION: why does SDL install to a directory that is not searched? > _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org