Compiling on Ubuntu 14.04 : Problem with so file.

143 views
Skip to first unread message

lionel

unread,
Mar 2, 2016, 9:38:33 PM3/2/16
to fix8 support
I have a problem after
make clean
./bootstrap
./configure
make

The compiler doesn't seem to find the so file 'libfix8.so.1' at some stage of the compilation with the following output :

g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -std=c++11 -Wall -MT precomp.o -MD -MP -MF .deps/precomp.Tpo -c -o precomp.o precomp.cpp
mv -f .deps/precomp.Tpo .deps/precomp.Po
/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -std=c++11 -Wall -lfix8 -lPocoFoundation -lPocoNet -lPocoUtil -L../runtime -rdynamic -lrt -lz -o f8c f8c.o f8cutils.o f8precomp.o precomp.o
libtool: link: g++ -g -O2 -std=c++11 -Wall -rdynamic -o f8c f8c.o f8cutils.o f8precomp.o precomp.o -lfix8 -lPocoFoundation -lPocoNet -lPocoUtil -L../runtime -lrt -lz
make[2]: Leaving directory `/mnt/public/Libs/C++ Libs/fix8/compiler'
Making all in test
make[2]: Entering directory `/mnt/public/Libs/C++ Libs/fix8/test'
../compiler/f8c --verbose --retain --namespace TEX ../schema/FIX50SP2.xml --fixt ../schema/FIXT11.xml
../compiler/f8c: error while loading shared libraries: libfix8.so.1: cannot open shared object file: No such file or directory
make[2]: *** [Myfix_classes.cpp] Error 127
make[2]: Leaving directory `/mnt/public/Libs/C++ Libs/fix8/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/public/Libs/C++ Libs/fix8'
make: *** [all] Error 2

Anyone can help to fix this issue ?

Thanks.

Patrick Luck

unread,
Jul 10, 2020, 10:35:10 AM7/10/20
to fix8 support
Hi,

I know this is very late, but I had a similar error where the compiler also could not find libfix8.so.1 using Ubuntu. The error included the following:
f8c: error while loading shared libraries: libfix8.so.1: cannot open shared object file: No such file or directory

I solved this by doing the following:
% export LD_LIBRARY_PATH=/usr/local/lib/libfix8.so.1
% sudo ldconfig

Hope this helps anyone in the future with a similar issue.

Patrick

Ian McKane

unread,
Aug 4, 2020, 7:33:46 PM8/4/20
to fix8 support
LD_LIBRARY_PATH is meant to point to a semi-colon separated list of directories not absolute filenames.
/Ian

José Cuesta

unread,
Sep 5, 2023, 8:41:27 PM9/5/23
to fix8 support

I just used this solution and it works :D
Thank you very much Mr. Luck!
Reply all
Reply to author
Forward
0 new messages