Advertisement
Guest User

Untitled

a guest
Aug 30th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. aspen:python toddysm$ sudo ./setup.py install
  2. Password:
  3. `pkg-config --libs --cflags cld` returns in error:
  4. Package cld was not found in the pkg-config search path.
  5. Perhaps you should add the directory containing `cld.pc'
  6. to the PKG_CONFIG_PATH environment variable
  7. No package 'cld' found
  8.  
  9. The `cld` C++ library is absent from this system. Please install it.
  10.  
  11. aspen:~ toddysm$ cd /usr/local/lib/
  12. aspen:lib toddysm$ ls -al
  13. total 2640
  14. drwxr-xr-x 6 root wheel 204 Jul 2 17:38 .
  15. drwxr-xr-x 9 root wheel 306 Jul 2 15:17 ..
  16. -rwxr-xr-x 1 root wheel 1339516 Jul 2 17:38 libcld.0.dylib
  17. lrwxr-xr-x 1 root wheel 14 Jul 2 17:38 libcld.dylib -> libcld.0.dylib
  18. -rwxr-xr-x 1 root wheel 918 Jul 2 17:38 libcld.la
  19. drwxr-xr-x 3 root wheel 102 Jul 2 17:38 pkgconfig
  20. aspen:lib toddysm$ cd pkgconfig/
  21. aspen:pkgconfig toddysm$ ls -al
  22. total 8
  23. drwxr-xr-x 3 root wheel 102 Jul 2 17:38 .
  24. drwxr-xr-x 6 root wheel 204 Jul 2 17:38 ..
  25. -rw-r--r-- 1 root wheel 279 Jul 2 17:38 cld.pc
  26.  
  27. pkg-config --variable pc_path pkg-config
  28.  
  29. $ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
  30. $ pkg-config --libs --cflags cld
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement