Hi Lars, Werner, > Shouldn´t ldconfig be ran automatically by "make install"?
I asked around and looked around on this subject, and it appears most source packages don't do this. The arguments appear to be: A) ldconfig is primarily for linux, not for all Unixes or OSes. So it's not actually portable. We could do a check for it and only do it if it exists but ... B) ldconfig is typically something run as root or a privileged user. If a user wants to install freeipmi in their homedir, ldconfig wouldn't work. C) ldconfig (or OS equivalent) is usually handled by the OS package system, such as rpm or deb. I know it would make things easier for Linux users if I added an ldconfig, but I'm not sure if it's the right thing to do for all users. I've updated the README.build file with some more information that will hopefully make things easier for future users. Al On Tue, 2011-02-15 at 04:37 -0800, [email protected] wrote: > Hi, > > > on my box with Ubuntu 10.10 I had to create a .conf file > > in /etc/ld.so.conf.d/ - I named it /etc/ld.so.conf.d/freeipmi.conf > > with the following contents: > > > > /usr/local/lib > > I already had a file /etc/ld.so.conf.d/libc.conf with that content and > after running ldconfig the libs were added, so I can run the tools without > problems now. Thanks for that hint! > > Shouldn´t ldconfig be ran automatically by "make install"? > > > Lars > > _______________________________________________ > Freeipmi-users mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/freeipmi-users -- Albert Chu [email protected] Computer Scientist High Performance Systems Division Lawrence Livermore National Laboratory _______________________________________________ Freeipmi-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/freeipmi-users
