[Fluxus] Fluxus runtime error on Ubuntu 18.04

Javier Candeira javier at candeira.com
Mon Oct 7 04:18:12 PDT 2019


On 7/10/19 20:34, dave wrote:
> On 07/10/2019 11:28, Javier Candeira wrote:
>> But it's not found:
>>
>> $ ldconfig -p | grep libode
>> <crickets>
>> $
>>
>> I installed it according to the instructions, like so:
>>
>> ./configure --prefix=/usr/ --with-pic \
>>      --with-gnu-ld \
>>      --enable-double-precision \
>>      --enable-libccd
>> sudo make install
> 
> I guess /usr/lib is not on your ld path - /usr/local/lib will for
> fluxus, so perhaps try to rebuild ode with:
> 
> ./configure --prefix=/usr/local/ --with-pic

Thanks, I will now. However, note that /usr/local/lib wasn't in my ld path 
either until I did:

$ echo "/usr/local/lib" | sudo tee /etc/ld.so.conf.d/usr-local.conf && sudo 
ldconfig

This matters because I started from a pristine Ubuntu 18.04 install, and I 
think the existing instructions worked on a computer that had already had 
some work on it.

I'm keeping good notes; my current fork has an updated README with all the 
steps, including the correction under current discussion and the typo fix by 
Janis. Hopefully by the end of this process I'll have a PR with instructions 
that work from "scratch" from "just installed Ubuntu" levels of "scratch".

So I now installed with --prefix=/usr/local/, and saw that the .so weren't 
there either:

$ ls -la /usr/local/lib/libode.*
-rw-r--r-- 1 root root 18053722 Oct  7 21:49 /usr/local/lib/libode.a
-rwxr-xr-x 1 root root      897 Oct  7 21:49 /usr/local/lib/libode.la

But then I remembered that some other instructions had an --enable-shared 
option, so I added it to the ODE compilation options, and...

$ ls -la /usr/local/lib/libode.*
-rw-r--r-- 1 root root 17923328 Oct  7 21:53 /usr/local/lib/libode.a
-rwxr-xr-x 1 root root      947 Oct  7 21:53 /usr/local/lib/libode.la
lrwxrwxrwx 1 root root       15 Oct  7 21:53 /usr/local/lib/libode.so -> 
libode.so.8.0.0
lrwxrwxrwx 1 root root       15 Oct  7 21:53 /usr/local/lib/libode.so.8 -> 
libode.so.8.0.0
-rwxr-xr-x 1 root root  7845264 Oct  7 21:53 /usr/local/lib/libode.so.8.0.0

And.... SUCCESS!!!

Thanks for this. Looking forward to starting the tutorials.

PR Incoming.

Javier






More information about the Fluxus mailing list