<div dir="ltr"><div>Hi Javier</div><div><br></div><div>Well done!</div><div><br></div><div>With Ubuntu 18.04, the only things hard to install and run fluxus is compile Racket from source code due to the librktio.a is missing in the racket package from [1], I filled an issue for it at [2].</div><div><br></div><div>Hi Dave</div><div><br></div><div>As mentioned in the issue for racket-ppa, -lrktio -lffi still needed for the final step to link fluxus with libracket3m.a. because the librktio.a is a separate library which required by libracket3m.a. and the libffi is dynamic linked and required by libracket3m.a. after the link step, libracket3m.a and librktio.a will be statically linked into (as part of) fluxus, libffi is still dynamic linked with fluxus.</div><div><br></div><div>Racket repo includes a copy of libffi (with tiny modifications), I guess if you compile racket by yourself, the copies of libffi will be used, so that no need to link with a dynamic libffi, but the racket from [1] linked with libffi shipped by Ubuntu.<br></div><div><br></div><div>[1] <a href="https://launchpad.net/~plt" target="_blank">https://launchpad.net/~plt</a></div><div>[2] <a href="https://github.com/takikawa/racket-ppa/issues/6" target="_blank">https://github.com/takikawa/racket-ppa/issues/6</a></div><div><br></div><div><div>Thanks<br></div><div>Walter<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 7, 2019 at 7:18 PM Javier Candeira <<a href="mailto:javier@candeira.com" target="_blank">javier@candeira.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 7/10/19 20:34, dave wrote:<br>
> On 07/10/2019 11:28, Javier Candeira wrote:<br>
>> But it's not found:<br>
>><br>
>> $ ldconfig -p | grep libode<br>
>> <crickets><br>
>> $<br>
>><br>
>> I installed it according to the instructions, like so:<br>
>><br>
>> ./configure --prefix=/usr/ --with-pic \<br>
>>      --with-gnu-ld \<br>
>>      --enable-double-precision \<br>
>>      --enable-libccd<br>
>> sudo make install<br>
> <br>
> I guess /usr/lib is not on your ld path - /usr/local/lib will for<br>
> fluxus, so perhaps try to rebuild ode with:<br>
> <br>
> ./configure --prefix=/usr/local/ --with-pic<br>
<br>
Thanks, I will now. However, note that /usr/local/lib wasn't in my ld path <br>
either until I did:<br>
<br>
$ echo "/usr/local/lib" | sudo tee /etc/ld.so.conf.d/usr-local.conf && sudo <br>
ldconfig<br>
<br>
This matters because I started from a pristine Ubuntu 18.04 install, and I <br>
think the existing instructions worked on a computer that had already had <br>
some work on it.<br>
<br>
I'm keeping good notes; my current fork has an updated README with all the <br>
steps, including the correction under current discussion and the typo fix by <br>
Janis. Hopefully by the end of this process I'll have a PR with instructions <br>
that work from "scratch" from "just installed Ubuntu" levels of "scratch".<br>
<br>
So I now installed with --prefix=/usr/local/, and saw that the .so weren't <br>
there either:<br>
<br>
$ ls -la /usr/local/lib/libode.*<br>
-rw-r--r-- 1 root root 18053722 Oct  7 21:49 /usr/local/lib/libode.a<br>
-rwxr-xr-x 1 root root      897 Oct  7 21:49 /usr/local/lib/<a href="http://libode.la" rel="noreferrer" target="_blank">libode.la</a><br>
<br>
But then I remembered that some other instructions had an --enable-shared <br>
option, so I added it to the ODE compilation options, and...<br>
<br>
$ ls -la /usr/local/lib/libode.*<br>
-rw-r--r-- 1 root root 17923328 Oct  7 21:53 /usr/local/lib/libode.a<br>
-rwxr-xr-x 1 root root      947 Oct  7 21:53 /usr/local/lib/<a href="http://libode.la" rel="noreferrer" target="_blank">libode.la</a><br>
lrwxrwxrwx 1 root root       15 Oct  7 21:53 /usr/local/lib/libode.so -> <br>
libode.so.8.0.0<br>
lrwxrwxrwx 1 root root       15 Oct  7 21:53 /usr/local/lib/libode.so.8 -> <br>
libode.so.8.0.0<br>
-rwxr-xr-x 1 root root  7845264 Oct  7 21:53 /usr/local/lib/libode.so.8.0.0<br>
<br>
And.... SUCCESS!!!<br>
<br>
Thanks for this. Looking forward to starting the tutorials.<br>
<br>
PR Incoming.<br>
<br>
Javier<br>
<br>
<br>
<br>
</blockquote></div>