|
From: Bengt M. <bu...@be...> - 2015-07-15 20:47:36
|
On 07/15/15 20:04, Phiplex wrote: > In the answer below Bengt/bulk/Barf talks about “the proper place” and I > would therefor very much appreciate info about what’s the default > shared proper location for the library containing: liblirc.so.0 > created using a normal “make install” on a Raspberry Pi running > Raspbian. And also maybe - what is the proper place to install/place the > lirc source from where to run ” ./autogen.sh” & “./configure” & “make” > & “make install” ? > > Regards /Phiplex – a Linux & lirc newbie There is an argument --prefix that governs where the stuff will be installed. Use --prefix=/usr to install over the stuff that came with the system, Traditionally, --prefix=/usr/local has often been used, prevents overwriting the stuff that came with the system, and the idea is to maintain a tree of "locally installed stuff". Recently, for experimental installation of stuff like Lirc, I like installing into a completely virgin directory, like $HOME/usr or something like that. (For testing, not deployment, and no systemd integration.) (Alec will likely chime in here...) When "make install" you can read the outputs to find out where the shared libraries are installed, but I think it is typically something like $prefix/lib or such. But the toolchain should get it right, otherwise report it as a bug. (But _do not_ expect mv-ing things around instead of "make install" will work.) Also find out what the ldd program does... Sorry, I did not check for anything Lirc-specific. Feel free to ask further questions. Greetz, Bengt |