Bharata B Rao wrote:
> /bin/sh ../../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall 
> -L../../src/.libs  -o cgrulesengd cgrulesengd.o ../../src/.libs/libcgroup.la 
> -lcgroup 
> mkdir .libs
> gcc -g -O2 -Wall -o .libs/cgrulesengd cgrulesengd.o  
> -L/home/bharata/libcg/src/.libs ../../src/.libs/libcgroup.so 
> /home/bharata/libcg/src/.libs/libcgroup.so /usr/local/lib/libcgroup.so 
> -lpthread  -Wl,--rpath -Wl,/usr/local/lib

The cause is probably -lcgroup and its transformation to 
/usr/local/lib/libcgroup.so by libtool.

Question is, why -lcgroup is there at all... All leads to following line 
in configure.in:
AC_CHECK_LIB([cgroup], [cgroup_create_cgroup])

Why it's there? If we compile libcgroup, we do not need it installed and 
  we do not need to check it, right? Or am I missing something? Git 
shows me that the line was there since beginning of the repository, so 
there probably was some reason.

Jan

------------------------------------------------------------------------------
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to