Makefile:5268: recipe for target '' failed

Asked by Nachum Hurvitz

Hello, I am usually able to figure my way out of issues by searching for forum answers, but I am not getting any info

Linux Mint 19.3

Any version above 3.17.1 will not compile.

/bin/bash ./libtool --tag=CC --mode=link gcc -DCONFDIR=\"/etc/hp\" -I/usr/include/avahi-client -I/usr/include/avahi-core -I/usr/include/avahi-common -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DCONFDIR=\"/etc/hp\" -version-info 0:1:0 -L/usr/lib/x86_64-linux-gnu -o -rpath /usr/lib/x86_64-linux-gnu libhpdiscovery_la-avahiDiscovery.lo -lnetsnmp -lcrypto -lavahi-client -lavahi-core -lavahi-common -ldbus-1 -lavahi-common -lavahi-client -lcrypto
libtool: link: gcc -shared -fPIC -DPIC .libs/libhpdiscovery_la-avahiDiscovery.o -L/usr/lib/x86_64-linux-gnu -lnetsnmp -lavahi-core -ldbus-1 -lavahi-common -lavahi-client -lcrypto -Wl,-soname -Wl, -o .libs/

/usr/bin/ld: cannot find -lavahi-core
collect2: error: ld returned 1 exit status
Makefile:5268: recipe for target '' failed

avahi is installed though, I don't know whart lavahi is and it does not appear in dpkg

ii avahi-autoipd 0.7-3.1ubuntu1.2 amd64 Avahi IPv4LL network address configuration daemon
ii avahi-daemon 0.7-3.1ubuntu1.2 amd64 Avahi mDNS/DNS-SD daemon
ii avahi-discover 0.7-3.1ubuntu1.2 all Service discover user interface for avahi
ii avahi-ui-utils 0.7-3.1ubuntu1.2 amd64 Avahi GTK+ utilities
ii avahi-utils 0.7-3.1ubuntu1.2 amd64 Avahi browsing, publishing and discovery utilities

Question information

English Edit question
HPLIP Edit question
No assignee Edit question
Solved by:
Nachum Hurvitz
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :

The linker option "-lavahi-core" means "use the library avahi-core", and for that you probably have to install libavahi-core-dev

Revision history for this message
Nachum Hurvitz (nachum-l) said :



That kicked it loose. I appreciate your response, I was really stumped, since I never found a reference for said library.