<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<div style="background-color:rgb(255,255,255); line-height:initial">
<div id="x_BB10_response_div" style="width:100%; font-size:initial; font-family:Calibri,'Slate Pro',sans-serif; color:rgb(31,73,125); text-align:initial; background-color:rgb(255,255,255)">
Hi,</div>
<div style="width:100%; font-size:initial; font-family:Calibri,'Slate Pro',sans-serif; color:rgb(31,73,125); text-align:initial; background-color:rgb(255,255,255)">
<br>
</div>
<div style="width:100%; font-size:initial; font-family:Calibri,'Slate Pro',sans-serif; color:rgb(31,73,125); text-align:initial; background-color:rgb(255,255,255)">
I've seen this issue before and there it turned out that the sysroot was simply missing the .so files and only the .a versions of the libraries were available. Sounds stupid, but maybe worth double checking :)</div>
<div style="width:100%; font-size:initial; font-family:Calibri,'Slate Pro',sans-serif; color:rgb(31,73,125); text-align:initial; background-color:rgb(255,255,255)">
<br>
</div>
<div style="width:100%; font-size:initial; font-family:Calibri,'Slate Pro',sans-serif; color:rgb(31,73,125); text-align:initial; background-color:rgb(255,255,255)">
<br>
</div>
<div style="width:100%; font-size:initial; font-family:Calibri,'Slate Pro',sans-serif; color:rgb(31,73,125); text-align:initial; background-color:rgb(255,255,255)">
Simon </div>
<div id="x__signaturePlaceholder" style="font-size:initial; font-family:Calibri,'Slate Pro',sans-serif; color:rgb(31,73,125); text-align:initial; background-color:rgb(255,255,255)">
</div>
<table width="100%" style="background-color:white; border-spacing:0px">
<tbody>
<tr>
<td id="x__persistentHeaderContainer" colspan="2" style="font-size:initial; text-align:initial; background-color:rgb(255,255,255)">
<div id="x__persistentHeader" style="border-style:solid none none; border-top-color:rgb(181,196,223); border-top-width:1pt; padding:3pt 0in 0in; font-family:Tahoma,'BB Alpha Sans','Slate Pro'; font-size:10pt">
<div><b>Fra: </b>Stephen Kelly</div>
<div><b>Sendt: </b>16:57 mandag 18. november 2013</div>
<div><b>Til: </b>development@qt-project.org</div>
<div><b>Emne: </b>Re: [Development] Build errors with raspbian</div>
</div>
</td>
</tr>
</tbody>
</table>
<div id="x__persistentHeaderEnd" style="border-style:solid none none; border-top-color:rgb(186,188,209); border-top-width:1pt; font-size:initial; text-align:initial; background-color:rgb(255,255,255)">
</div>
<br>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On Friday, November 15, 2013 01:26:16 Thiago Macieira wrote:<br>
> On quinta-feira, 14 de novembro de 2013 23:41:12, Stephen Kelly wrote:<br>
> > On Thursday, November 14, 2013 08:49:04 Thiago Macieira wrote:<br>
> > > First of all, you seem to be linking statically to glibc. Don't.<br>
> > <br>
> > You seem to start with an assumption that I changed something. Don't.<br>
> > <br>
> > This is using the mkspec for raspberry pi supplied with Qt. I changed<br>
> > nothing.<br>
> <br>
> I'm not assuming you changed anything -- I didn't know you had tried before.<br>
<br>
Although I have built Qt for rasbian before, that's not what I meant. I meant <br>
I have not changed any Qt supplied defaults.<br>
<br>
> But you are linking statically, which you should not do.<br>
> <br>
> The problem you have is related to the fact that you are statically linking<br>
> to libc and libdl. That is what you should fix.<br>
<br>
In that case, one of these must be true:<br>
<br>
1) Qt is somehow configured to statically linked to libc and libdl. I see no <br>
obvious code doing that in mkspecs/devices/linux-rasp-pi-g++/qmake.conf<br>
<br>
2) Everyone else who is building Qt for raspbian has patched but not <br>
upstreamed. Unlikely.<br>
<br>
3) I somehow have introduced the issue locally. <br>
<br>
I guess (3) is the most-likely option. The only thing I can think of to cause <br>
something like this is a distro upgrade I did to the new ubuntu a few weeks <br>
ago. I don't know what to look for though. <br>
<br>
What can cause static linking to those libs?<br>
<br>
Thanks,<br>
<br>
-- <br>
Stephen Kelly <stephen.kelly@kdab.com> | Software Engineer<br>
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company<br>
<a href="http://www.kdab.com">www.kdab.com</a> || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090<br>
KDAB - Qt Experts - Platform-Independent Software Solutions</div>
</span></font>
</body>
</html>