I need to use a library in an EPICS app, set up using
MakeBaseApp. It wants to have a static version of the
library, which the library package doesn't supply. Why
does it need the static library? I'm not trying to build
a static program. Here's the Makefile fragment which
builds it:
PROD_HOST += display
display_SRCS +=
display.c
display_LIBS += ezca
display_DIR =
/usr/local/lib/
display_LIBS +=
ssd1306_i2c
display_LIBS +=
$(EPICS_BASE_HOST_LIBS)
and it gives:
make[1]:
*** No rule to make target
'../../lib/linux-arm/libssd1306_i2c.a', need
ed by 'display'. Stop.
I'm building it natively on a Zynq Debian 10 system. The
shared libraries are in /usr/local/lib:
/usr/local/lib/libssd1306_i2c.la
/usr/local/lib/libssd1306_i2c.so.0
/usr/local/lib/libssd1306_i2c.so
/usr/local/lib/libssd1306_i2c.so.0.0.3
Pete.