smart way for caching libraries with ldconfig
hi ,
i'm looking for a smart way to have ldconfig recursively search and cache all libraries that it finds in a particular directory. this is because not all libraries are set in previously known locations . for instance , libraries might be in /usr/lib/<application-name>/libxxx that are not known prior to installation , and i want this to be automated which means i can't afforf manually editing ld.so.conf for each and every library or app that's being installed i want for instance ldconfig to cache all libraries in /usr/lib/* INCLUDING SUBDIRECTORIES !!! is there a special syntax for ld.so.conf files ? thanks in advance |
Should you really?..
Quote:
Quote:
Should you want to do it anyway (*shrug*, your fault, not mine) you can use something like: Code:
find /usr/lib -type f | while read LIBFILE; do //NTLB |
All times are GMT -5. The time now is 05:37 PM. |