2012/6/27 Adrien Guillon <aj.guillon@xxxxxxxxx>: > Since I have installed other libraries into this environment, I need > to tell gcc where to find them. One way is to add this to LDFLAGS (or to the linker invocation): -Wl,-rpath -Wl,<path-with-the-libs> Coincidentally, I wrote a longer post about this earlier today: http://serverfault.com/questions/279068/cant-find-so-in-the-same-directory-as-the-executable/402590#402590 Maciej