You need to install liblua5.1-dev. Aki
On Tue, Feb 05, 2013 at 10:55:54PM -0800, RBK1001 wrote: > > Hi, I am able to settle the Boost program_options. However, I am faced the > next problem on LUA. > > > lua-auth.cc:(.text+0xe95): undefined reference to `lua_pcall' > lua-auth.cc:(.text+0xebb): undefined reference to `lua_tolstring' > lua-auth.cc:(.text+0xf8f): undefined reference to `lua_settop' > lua-auth.cc:(.text+0xfd4): undefined reference to `lua_toboolean' > lua-auth.cc:(.text+0xff0): undefined reference to `lua_settop' > collect2: ld returned 1 exit status > make[4]: *** [pdns_server] Error 1 > make[4]: Leaving directory `/root/pdns-3.2/pdns' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/root/pdns-3.2/pdns' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/root/pdns-3.2/pdns' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/pdns-3.2' > make: *** [all] Error 2 > > can anyone help? > > - rbk > > > RBK1001 wrote: > > > > Hi > > > > > > I really need instruction on how to complie PowerDNS 3.2 in CENTOS5 > > > > please help > > > > -rbk > > > > > > Aki Tuomi wrote: > >> > >> You forgot to install boost development package? Also, you need to > >> install pkg-config > >> > >> Aki > >> > >> On Tue, Feb 05, 2013 at 02:54:21AM -0800, RBK1001 wrote: > >>> > >>> I have installed GCC4.6.2 and also with BOOST 1.39.0 > >>> > >>> however, I am failed when compliing PDNS 3.2, any idea? > >>> > >>> > >>> checking whether -lc should be explicitly linked in... no > >>> checking dynamic linker characteristics... GNU/Linux ld.so > >>> checking how to hardcode library paths into programs... immediate > >>> checking whether stripping libraries is possible... yes > >>> checking if libtool supports shared libraries... yes > >>> checking whether to build shared libraries... yes > >>> checking whether to build static libraries... yes > >>> checking for ld used by g++... /usr/local/bin/ld -m elf_x86_64 > >>> checking if the linker (/usr/local/bin/ld -m elf_x86_64) is GNU ld... > >>> yes > >>> checking whether the g++ linker (/usr/local/bin/ld -m elf_x86_64) > >>> supports > >>> shared libraries... yes > >>> checking for g++ option to produce PIC... -fPIC -DPIC > >>> checking if g++ PIC flag -fPIC -DPIC works... yes > >>> checking if g++ static flag -static works... yes > >>> checking if g++ supports -c -o file.o... yes > >>> checking if g++ supports -c -o file.o... (cached) yes > >>> checking whether the g++ linker (/usr/local/bin/ld -m elf_x86_64) > >>> supports > >>> shared libraries... yes > >>> checking dynamic linker characteristics... GNU/Linux ld.so > >>> checking how to hardcode library paths into programs... immediate > >>> checking for Boost headers version >= 103400... ../boost_1_39_0 > >>> checking for Boost's header version... 1_39 > >>> checking boost/foreach.hpp usability... yes > >>> checking boost/foreach.hpp presence... yes > >>> checking for boost/foreach.hpp... yes > >>> checking for the toolset name used by Boost for g++... gcc41 -gcc > >>> checking boost/program_options.hpp usability... yes > >>> checking boost/program_options.hpp presence... yes > >>> checking for boost/program_options.hpp... yes > >>> checking for the Boost program_options library... no > >>> configure: error: cannot not find the flags to link with Boost > >>> program_options > >>> > >>> -- > >>> View this message in context: > >>> http://old.nabble.com/Complie-problem-on-PDNS-on-CENTOS5-tp34984421p34984421.html > >>> Sent from the PowerDNS mailing list archive at Nabble.com. > >>> > >>> _______________________________________________ > >>> Pdns-users mailing list > >>> [email protected] > >>> http://mailman.powerdns.com/mailman/listinfo/pdns-users > >>> > >> > >> > >> _______________________________________________ > >> Pdns-users mailing list > >> [email protected] > >> http://mailman.powerdns.com/mailman/listinfo/pdns-users > >> > >> > > > > > > -- > View this message in context: > http://old.nabble.com/Complie-problem-on-PDNS-on-CENTOS5-tp34984421p34988331.html > Sent from the PowerDNS mailing list archive at Nabble.com. > > _______________________________________________ > Pdns-users mailing list > [email protected] > http://mailman.powerdns.com/mailman/listinfo/pdns-users >
signature.asc
Description: Digital signature
_______________________________________________ Pdns-users mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-users
