LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Lib/Include in user home directory? (https://www.linuxquestions.org/questions/linux-desktop-74/lib-include-in-user-home-directory-499188/)

pocket_aces 11-06-2006 02:33 PM

Lib/Include in user home directory?
 
I need to compile code on a work system that I do not have root (nor sudo) access to. The result of this is that the only place I can create files is /home/users/<myuserID> Is there a way to get the system to consider /home/users/<myuserID>/lib and /home/users/<myuserID>/include as system lib/include directories so that I don't have to try to re-write all the make files and SConstruct files for the various applications?

Thanks
PA

unSpawn 11-06-2006 03:17 PM

Can't you just add and export the necessary include and linker flags?

pocket_aces 11-08-2006 10:09 AM

Maybe? I don't know exactly what you mean or how one would do that? Is it somehow explicitly telling the system where -lopencv (for example) is located?

Also, are there any good online tutorials on this stuff? None of my undergrad classes seem to deal with topics like linking shared libraries and I'm not finding anything by googling.


All times are GMT -5. The time now is 10:21 AM.