8

Better practice of using static libraries in Unix?

view full story
linux-howto

http://stackoverflow.com – I am new to unix. This is the first time I am trying work with an external library(Ogre3D) on a Mac. I do not want to dump all of the .lylib files in into the /usr/lib directory since I might want to delete these files once I do not need them and it's hard to differentiate them form other library files. When I create a new folder named Ogre in the /usr/lib/ directory to host my Ogre library files it seems I cannot access these files when compiling files using -l flags to specify the location. So I am wondering if it's necessary to put all the files in the /usr/lib/ rather than putting them int (HowTos)