New answers tagged shared-library
Use the find command to locate these libraries. Use gcc option -L to specify this library's location. You may also need to set environment variable LD_LIBRARY_PATH
TL;DR: Install libxaw7-dev . It appears you're building software from source code, and that the software you're building is not Xaw itself, but instead uses Xaw by linking against it. To build software that links to a library, you must install the header files for that library (which is what your error message--"Cannot find required Xaw header file ...
You can install Xaw as: sudo apt-get install libxaw7
First try to find which libudev you have and where it is: sudo find / -name "libudev.so*" If you find libudev.so.1, note its path, and link: sudo ln -s <libudevpath>/libudev.so.1 <libudevpath>/libudev.so.0 Do not try to link the other direction! ln -s file1 file0 creates a symbolic link between two files. Whenever an application looks for ...
I agree with the solution sudo ln -s <libudevpath>/libudev.so.1 <libudevpath>/libudev.so.0 This creates a symbolic link between two files. Whenever an application looks for <libudevpath>/libudev.so.0 (which deosn't really exist), it will follow this link and use <libudevpath>/libudev.so.1 instead. However, if you just blindly ...
I agree with the solution sudo ln -s <libudevpath>/libudev.so.1 <libudevpath>/libudev.so.0 However, if you just blindly assume to find libudev1 in /lib/i386-linux-gnu/, it might not be there. If libudev1 installs somewhere else, you can find it using: sudo find / -name "libudev.so*"
I ran into this problem after upgrading from 12.04 to 14.04. I was thinking same direction as you, patching the issue with a link. Maybe the location you chose was wrong? I used find to locate libudev.so.1 : /lib/i386-linux-gnu/libudev.so.1 Them I solved my problem with this link: ln -s /lib/i386-linux-gnu/libudev.so.1 /lib/i386-linux-gnu/libudev.so.0 ...
According to ldconfig manual: ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/lib and /usr/lib). The cache is used by the run-time linker, ld.so or ld- linux.so. So, when you ...
Top 50 recent answers are included