"Paulo Matos" <[EMAIL PROTECTED]> writes: > Found the -static flag... Hope it does the trick! :)
This is *the* wrong way to solve this problem. Your binary may crash and/or not work correctly when moved to a different machine. See this thread for gory details: http://groups.google.com/group/comp.os.linux.development.apps/browse_frm/thread/f664f8f7c19a4a7b Correct way to ensure that you don't depend on dynamic versions of log4cpp and glpk, while still making your binary portable to other systems: g++ ... -o myapp mayapp.o ... -Wl,-Bstatic -llog4cpp -lglpk -Wl,-Bdynamic Cheers, -- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email. _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus