[colord] ubuntu build problem: ldconfig
Sanford Rockowitz
rockowitz at minsoft.com
Sun Aug 4 20:36:00 PDT 2013
In building the current colord-1-0 branch on Ubuntu 13.04 I hit the
following problem after executing "make install".
Starting colord, I get a message saying that libcolord.private.so.2
cannot be found.
I resolved the problem by issuing the command "ldconfig" as root.
Examining the configure file created by autogen.sh, it looks like the
following is executed for Linux operating systems:
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
This would explain the problem, as the -n option causes ldconfig to
ignore directories referenced by /etc/ld.so.conf, and my
/etc/ld.so.conf.d directory includes file libc.conf, which contains the
line:
/usr/local/lib
I've checked by booting Ubuntu from a live CD, and this is indeed the
standard /etc/ld.so.conf.d/libc.conf
I'm afraid I don't understand the Linux build infrastructure well enough
to hazard a guess as to whether the "-n" option on ldconfig can safely
be removed, or what a more correct solution might be.
Sanford
More information about the colord
mailing list