#24 -shrext doesn't work correctly
Closed 3 years ago by orbea. Opened 4 years ago by rossburton.

nss-mdns fails to build with slibtool. A tiny bit of debugging by adding a printf() where it aborts:

$ make V=1 install DESTDIR=inst
make[1]: Entering directory '/home/ross/Code/nss-mdns'
 /usr/bin/mkdir -p 'inst/lib'
 /home/ross/Code/slibtool/inst/usr/local/bin/rdlibtool   --mode=install /usr/bin/install -c   libnss_mdns.la libnss_mdns4.la libnss_mdns6.la libnss_mdns_minimal.la libnss_mdns4_minimal.la libnss_mdns6_minimal.la 'inst/lib'

/home/ross/Code/slibtool/inst/usr/local/bin/rdlibtool --mode=install /usr/bin/install -c libnss_mdns.la libnss_mdns4.la libnss_mdns6.la libnss_mdns_minimal.la libnss_mdns4_minimal.la libnss_mdns6_minimal.la inst/lib

STATTING .libs/libnss_mdns.so
rdlibtool: error logged in slbt_exec_install_entry(), line 437: No such file or directory.
rdlibtool: < returned to > slbt_exec_install(), line 706.
make[1]: *** [Makefile:883: install-libLTLIBRARIES] Error 2

The actual built files:

$ ls .libs/libnss_mdns.*
.libs/libnss_mdns.2
.libs/libnss_mdns.2.slibtool.deps
.libs/libnss_mdns.a.disabled
.libs/libnss_mdns.la
.libs/libnss_mdns.lai

nss-mdns uses -avoid-version -shrext .so.2 which is quite unusual but should still work.

https://github.com/lathiat/nss-mdns/pull/74 is a PR to fix nss-mdns, but this is just working around the problem in slibtool.


Metadata Update from @midipix:
- Issue assigned to midipix

3 years ago

Metadata Update from @midipix:
- Assignee reset

3 years ago

Metadata Update from @orbea:
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata