Guest User

Untitled

a guest
Dec 15th, 2013
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. If you ever happen to want to link against installed libraries
  2. in a given directory, LIBDIR, you must either use libtool, and
  3. specify the full pathname of the library, or use the `-LLIBDIR'
  4. flag during linking and do at least one of the following:
  5. - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
  6. during execution
  7. - add LIBDIR to the `LD_RUN_PATH' environment variable
  8. during linking
  9. - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
  10. - have your system administrator add LIBDIR to `/etc/ld.so.conf'
  11.  
  12. See any operating system documentation about shared libraries for
  13. more information, such as the ld(1) and ld.so(8) manual pages.
Advertisement
Add Comment
Please, Sign In to add comment