]> git.proxmox.com Git - mirror_lxc.git/blame - doc/FAQ.txt
Merge pull request #2743 from 2xsec/build
[mirror_lxc.git] / doc / FAQ.txt
CommitLineData
053567ec 1
2Troubleshooting:
3===============
4
5
6Error:
7------
8
9error while loading shared libraries reported after sudo make install
10and when trying to run lxc-execute.
11
12"lxc-execute -n foo -f /usr/local/etc/lxc/lxc-macvlan.conf /bin/bash"
13
14/usr/local/bin/lxc-execute: error while loading shared libraries:
15 liblxc-0.5.0.so: cannot open shared object file: No such file or
16 directory
17
18Answer:
19-------
20update the ld cache by running ldconfig.
21
22
23
24Error:
25------
26
27error when starting a container.
28
29"lxc-start Invalid argument"
30
31"lxc-execute -n foo -f /usr/local/etc/lxc/lxc-macvlan.conf /bin/bash"
32"[syserr] lxc_start:96: Invalid argument - failed to fork into a new
33namespace"
34
f79d43bb
SG
35Answer:
36-------
053567ec 37
38read the lxc man page about kernel version prereq :) most probably
39your kernel is not configured to support the container options you
40want to use.
10998080 41
42
43Error:
44------
45
46On Ubuntu 8.10, if using the cvs source code rather than
47the provided tarball. Then make is failing with many errors
48similar to the line below:
49==========
50../../libtool: line 810: X--tag=CC: command not found
51==========
52
53Answer:
54-------
55
56This is related to a compatibility problem between the shipped
57config/ltmain.sh and the libtool version installed on your
58Ubuntu 8.10 machine.
59You have to replace the config/ltmain.sh from cvs head by the one
60from your libtool package, make some cleaning and reissue all
61the build process:
62==========
63cd <your_lxc_working_dir>
64cp -f /usr/share/libtool/config/ltmain.sh config/
65rm -f libtool
66./bootstrap && ./configure && make && sudo make install
67==========