<div><span style="color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; line-height: 23px; text-align: left; ">Recently i deployed latest 1.17.40 on rhel6.1.</span><br style="color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; line-height: 23px; text-align: left; "><span style="color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; line-height: 23px; text-align: left; ">When i ran a tiny program which was to test the function guestfs_mount_local() or those similar functions that mounts locally, Error prompted¡ªundefined symbol guest_mount_local !</span><br style="color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; line-height: 23px; text-align: left; "><span style="color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; line-height: 23px; text-align: left; ">Why didn`t this undefined symbol error prompt when the program was first compiled,but occurred when it was run?</span><br style="color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; line-height: 23px; text-align: left; "><span style="color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; line-height: 23px; text-align: left; ">Then i gave guestfish mount local a try in the shell, and found that ok.I thought it could not be something wrong with the installation.And then wierd happened¡ªi ran the previous test program again,and it did mount the vm image on the host local directory! I doubted whether this was repeatable so i ran it again,and it failed with the same error ¡°undefined symbol guestfs_mount_local¡±.</span></div><div><span style="color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; line-height: 23px; text-align: left; "><br></span></div><div><span style="color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; line-height: 23px; text-align: left; ">Nok</span></div><div><span style="color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; line-height: 23px; text-align: left; "><br></span></div><div><span style="color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; line-height: 23px; text-align: left; ">---------------------------------------------------------------------------------------------------------------------------</span></div><div><span style="color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; line-height: 23px; text-align: left; ">sorry for the lengthy logs below ^^#</span></div><div><div style="line-height: 21px; "><span style="color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; line-height: 23px; text-align: left; ">---------------------------------------------------------------------------------------------------------------------------</span></div></div><div><span style="color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; line-height: 23px; text-align: left; ">libguestfs debug info</span></div><div><a href="http://pastebin.com/C6E4VAW7">http://pastebin.com/C6E4VAW7</a></div><div>at the end there is an undefined symbol : guestfs_mount_local error.</div><div><span style="text-align: left; line-height: 23px;"><font color="#333333" face="Georgia, 'Bitstream Charter', serif"><div><span style="line-height: 23px; ">---------------------------------------------------------------------------------------------------------------------------</span></div></font></span></div><div><div><div style="text-align: left; "><font color="#333333" face="Georgia, 'Bitstream Charter', serif"><span style="line-height: 23px;"><b>gcc prog.c -o prog -Wall -lguestfs</b></span></font></div><div style="text-align: left; "><font color="#333333" face="Georgia, 'Bitstream Charter', serif"><span style="line-height: 23px;"><br></span></font></div><div style="text-align: left; "><font color="#333333" face="Georgia, 'Bitstream Charter', serif"><span style="line-height: 23px;">no relevant warning or error</span></font></div><span style="color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; line-height: 23px; text-align: left; ">---------------------------------------------------------------------------------------------------------------------------</span></div><div style="line-height: 21px; "><span style="color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; line-height: 23px; text-align: left; "><b>make install</b></span></div></div><div style="line-height: 21px; "><a href="http://pastebin.com/EExzKbNa">http://pastebin.com/EExzKbNa</a></div><div style="text-align: left; "><div style="line-height: 21px; text-align: -webkit-auto; "><span style="color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; line-height: 23px; text-align: left; ">---------------------------------------------------------------------------------------------------------------------------</span></div><div><font color="#333333" face="Georgia, 'Bitstream Charter', serif"><span style="line-height: 23px;">make</span></font></div><div><a href="http://pastebin.com/1xZaSe8K">http://pastebin.com/1xZaSe8K</a></div><div><div style="line-height: 21px; text-align: -webkit-auto; "><span style="color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; line-height: 23px; text-align: left; ">---------------------------------------------------------------------------------------------------------------------------</span></div></div><div><span style="color: rgb(51, 51, 51); font-family: Georgia, 'Bitstream Charter', serif; line-height: 23px; text-align: left; ">configure</span></div><div><a href="http://pastebin.com/TMi4zpxB">http://pastebin.com/TMi4zpxB</a></div></div>