Mac OS library not found for -lhftest

197 views
Skip to first unread message

p...@paullaight.com

unread,
Oct 9, 2018, 4:06:11 PM10/9/18
to fix8 support
Hi there,

I'm attempting to build Fix8 on Mac OS Mojave and when I run make (after ./bootstrap and ./configure) I get the following error, which I'm struggling with:

In file included from hftest.cpp:126:
./hftest.hpp:48:21: warning: private field '_session' is not used [-Wunused-private-field]
hf_session_client& _session;
^
7 warnings generated.
mv -f .deps/hftest.Tpo .deps/hftest.Po
/bin/sh ../libtool --tag=CXX --mode=link g++ -I../include -g -O2 -std=c++11 -Wall -lfix8 -lpthread -lPocoFoundation -lPocoNet -lPocoUtil -lPocoXML -L../runtime -lhftest -lz -o hftest hftest.o
libtool: link: g++ -I../include -g -O2 -std=c++11 -Wall -o .libs/hftest hftest.o -Wl,-bind_at_load /Users/plaight/Documents/NanoLogTest/fix8-1.4.0/runtime/.libs/libfix8.dylib -lpthread -lPocoFoundation -lPocoNet -lPocoUtil -lPocoXML -L../runtime -lhftest -lz
ld: library not found for -lhftest
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [hftest] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1

I've obviously tried googling but I can't seem to work out a solution,

Thanks in advance for any help or pointers

Dendi Suhubdy

unread,
Dec 30, 2018, 1:54:49 AM12/30/18
to fix8 support
I also encountered the same issue, please advise

jch...@gmail.com

unread,
Jan 2, 2019, 3:36:50 PM1/2/19
to fix8 support
在 2018年10月10日星期三 UTC+8上午4:06:11,p...@paullaight.com写道:
i'm in the same situation....

garyedwa...@gmail.com

unread,
Apr 16, 2020, 9:57:27 PM4/16/20
to fix8 support
I've submitted a PR to fix this, it's a small change to the makefiles to specify the libtool libraries correctly.

Bobbie Davis

unread,
Mar 3, 2022, 5:07:36 PM3/3/22
to fix8 support
I had the exact same problem on archlinux... This PR fixed it https://github.com/fix8/fix8/pull/188
Maybe it should be included as an official patch?

Best regards
Reply all
Reply to author
Forward
0 new messages