Tuesday, March 15, 2011

Linker paths

Many times when you have libraries in a non-standard location, it is insufficient to have a -L/your/path in the LDFLAGS environment variable. You must also have -Wl,-rpath /your/path.