Your suggestion was correct: Thank you! g++ -o"testing_hal" ./main.o -Wl,-rpath,/usr/local/lib -lhal_base
from what i read -L takes precedence over LD_LIBRARY_PATH (which i could not get to work). how could i go about fixing the problem so i don't need -rpath? -- View this message in context: http://www.nabble.com/linking-at-run-time-problem-tf3677750.html#a10295936 Sent from the Gnu - Make - Help mailing list archive at Nabble.com. _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
