Can't build on Ubuntu

142 views
Skip to first unread message

yotam...@gmail.com

unread,
Sep 21, 2017, 5:42:36 PM9/21/17
to fix8 support
Hello all !

I'm trying to build FIX8 on Ubuntu 16.04.
I installed poco using apt-get install poco-dev. It also installed poconet and pocofoundation.
Then I installed FIX8 using dpkg -i fix8_1.4.0-160916_amd64. I downloaded the package from fix8.org.

When I run f8c I get this error message:
f8c: error while loading shared libraries: libPocoNet.so.44: cannot open shared object file: No such file or directory

Any ideas how to work around it ?

yotam...@gmail.com

unread,
Sep 22, 2017, 7:52:26 AM9/22/17
to fix8 support
GOT IT (kinda ..) !!
So letting the world know .. :)

The poco-dev package in the Ubuntu repository doesn't seem to be very useful.

I downloaded poco from https://pocoproject.org/download/.
I ran ./configure ; make -s ; make -s install.
For some reason make install didn't copy any files to /usr/lib so I did it manually. I copied libPocoNet.so.49 and libPocoFoundation.so.49 from the source directory into /usr/lib and changed the postfix from 49 to 44. This is what f8c wanted. Not sure about any consequences but since it's for education purposes only at the moment it's not critical.
Apparently I also had to install libmalloc-minimal4.

I did all that and suddenly f8c -h showed me the output I expected to see ...

yotam...@gmail.com

unread,
Sep 22, 2017, 4:04:32 PM9/22/17
to fix8 support
Final solution.

Install poco:
Download the source.
./configure --profix="/usr". This will create the .so files in /usr/lib where f8c is going to look for them.
make -s
make -s install.
f8c will look for .so.44 files in /usr/lib. I created symbolic links for all poco .so files in this directory form .so to .so.44.

libtcmalloc:
After building poco and creating the symbolic links libtcmalloc was missing. I installed libtcmalloc-minimal4 from the Ubuntu repository and that was enough.

f8c -h is working ...
Reply all
Reply to author
Forward
0 new messages