SyntaxFix
Write A Post
Hire A Developer
Questions
You could add in your code a call system with the new definition:
sprintf(newdef,"export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%s:%s",ld1,ld2); system(newdef);
But, I don't know it that is the rigth solution but it works.
Regards