FAQ.txt revision 2b371b262f7272266ff18cc2aff65176a2c16383
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooTroubleshooting:
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo===============
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooerror while loading shared libraries reported after sudo make install
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooand when trying to run lxc-execute.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo"lxc-execute -n foo -f /usr/local/etc/lxc/lxc-macvlan.conf /bin/bash"
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo/usr/local/bin/lxc-execute: error while loading shared libraries:
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo liblxc-0.5.0.so: cannot open shared object file: No such file or
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooupdate the ld cache by running ldconfig.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooerror when starting a container.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo"lxc-start Invalid argument"
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo"lxc-execute -n foo -f /usr/local/etc/lxc/lxc-macvlan.conf /bin/bash"
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo"[syserr] lxc_start:96: Invalid argument - failed to fork into a new
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooread the lxc man page about kernel version prereq :) most probably
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooyour kernel is not configured to support the container options you
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooOn Ubuntu 8.10, if using the cvs source code rather than
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoothe provided tarball. Then make is failing with many errors
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoosimilar to the line below:
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo../../libtool: line 810: X--tag=CC: command not found
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooThis is related to a compatibility problem between the shipped
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooconfig/ltmain.sh and the libtool version installed on your
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooUbuntu 8.10 machine.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooYou have to replace the config/ltmain.sh from cvs head by the one
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoofrom your libtool package, make some cleaning and reissue all
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoothe build process:
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoocd <your_lxc_working_dir>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoocp -f /usr/share/libtool/config/ltmain.sh config/
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoorm -f libtool
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo./bootstrap && ./configure && make && sudo make install