<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=16&amp;t=858" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2012-09-04T09:24:25+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=16&amp;t=858</id>
<entry>
<author><name><![CDATA[flow]]></name></author>
<updated>2012-09-04T09:24:25+01:00</updated>
<published>2012-09-04T09:24:25+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=858&amp;p=3282#p3282</id>
<link href="https://forum.yubico.com/viewtopic.php?t=858&amp;p=3282#p3282"/>
<title type="html"><![CDATA[Re: compiling ykchalresp statically]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=858&amp;p=3282#p3282"><![CDATA[
i tried it on a ubuntu machine now.<br />it worked.<br /><br />thx for your help!<br /><br />for the record:<br />i had to install libusb-dev and libyubikey-dev on the ubuntu machine. that's all.<br />then run:<br />./configure --with-backend=libusb<br />make LDFLAGS=-all-static<br /><br />done<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2150">flow</a> — Tue Sep 04, 2012 9:24 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[flow]]></name></author>
<updated>2012-09-04T08:42:30+01:00</updated>
<published>2012-09-04T08:42:30+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=858&amp;p=3281#p3281</id>
<link href="https://forum.yubico.com/viewtopic.php?t=858&amp;p=3281#p3281"/>
<title type="html"><![CDATA[Re: compiling ykchalresp statically]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=858&amp;p=3281#p3281"><![CDATA[
i'm running gentoo linux.<br /><br />it looks like i'm missing libusb 0.1 although i have the libusb-compat package installed.<br />this does not seem to suffice. <br /><br />i already posted a forum question in the gentoo forums as well.<br /><br />thx<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2150">flow</a> — Tue Sep 04, 2012 8:42 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Klas]]></name></author>
<updated>2012-09-04T07:03:50+01:00</updated>
<published>2012-09-04T07:03:50+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=858&amp;p=3280#p3280</id>
<link href="https://forum.yubico.com/viewtopic.php?t=858&amp;p=3280#p3280"/>
<title type="html"><![CDATA[Re: compiling ykchalresp statically]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=858&amp;p=3280#p3280"><![CDATA[
--with-backend=libusb to configure works for me. What output do you get from the configure checks? and what platform are you running on?<br /><br />/klas<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2019">Klas</a> — Tue Sep 04, 2012 7:03 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[flow]]></name></author>
<updated>2012-09-03T14:40:21+01:00</updated>
<published>2012-09-03T14:40:21+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=858&amp;p=3277#p3277</id>
<link href="https://forum.yubico.com/viewtopic.php?t=858&amp;p=3277#p3277"/>
<title type="html"><![CDATA[Re: compiling ykchalresp statically]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=858&amp;p=3277#p3277"><![CDATA[
how do you select libusb 0.1 to be used?<br /><br />-with-backend=libusb<br /><br />does not seem to work for me.<br />also i tried editing the Makefile<br /><br />does not work either...<br /><br />thx<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2150">flow</a> — Mon Sep 03, 2012 2:40 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Klas]]></name></author>
<updated>2012-09-03T13:31:23+01:00</updated>
<published>2012-09-03T13:31:23+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=858&amp;p=3276#p3276</id>
<link href="https://forum.yubico.com/viewtopic.php?t=858&amp;p=3276#p3276"/>
<title type="html"><![CDATA[Re: compiling ykchalresp statically]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=858&amp;p=3276#p3276"><![CDATA[
Hello,<br /><br />The --enable-static is telling libtool to build static binaries along the shared ones, doesn't have any effect on executables.<br /><br />It's a bit fiddly to get libtool to build the executables statically, this seems to work for me with libusb-0.1, libusb-1.0 breaks.<br /><br />$ ./configure &amp;&amp; make LDFLAGS=-all-static<br /><br /><br />/klas<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2019">Klas</a> — Mon Sep 03, 2012 1:31 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[flow]]></name></author>
<updated>2012-09-03T13:03:44+01:00</updated>
<published>2012-09-03T13:03:44+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=858&amp;p=3275#p3275</id>
<link href="https://forum.yubico.com/viewtopic.php?t=858&amp;p=3275#p3275"/>
<title type="html"><![CDATA[compiling ykchalresp statically]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=858&amp;p=3275#p3275"><![CDATA[
hello!<br /><br />i'm trying to compile ykchalresp statically for a custom initramfs, so no dependencies from the executable to libs.<br /><br />for some reason i do not succeed.<br />ykchalresp always links to some libs:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">ldd ykchalresp<br />   linux-vdso.so.1 (0x00007fff2b1e0000)<br />   libyubikey.so.0 =&gt; /usr/lib64/libyubikey.so.0 (0x00007fe71fa0e000)<br />   libusb-1.0.so.0 =&gt; /usr/lib64/libusb-1.0.so.0 (0x00007fe71f7fe000)<br />   libpthread.so.0 =&gt; /lib64/libpthread.so.0 (0x00007fe71f5e1000)<br />   libc.so.6 =&gt; /lib64/libc.so.6 (0x00007fe71f237000)<br />   librt.so.1 =&gt; /lib64/librt.so.1 (0x00007fe71f02e000)<br />   /lib64/ld-linux-x86-64.so.2 (0x00007fe71fc11000)<br /></div><br /><br />what i did was, checkout the code from github, run autoscan, autoconf, autoreconf and:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">./configure --enable-static <br />make</div><br /><br />can anyone point me in the right direction? i don't know what i'm missing.<br /><br />thx<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2150">flow</a> — Mon Sep 03, 2012 1:03 pm</p><hr />
]]></content>
</entry>
</feed>