Skip to content

libzmq: Add libbsd as a dependency#20828

Merged
alalazo merged 1 commit intospack:developfrom
a-saitoh-fj:features/libzmq
Jan 13, 2021
Merged

libzmq: Add libbsd as a dependency#20828
alalazo merged 1 commit intospack:developfrom
a-saitoh-fj:features/libzmq

Conversation

@a-saitoh-fj
Copy link
Copy Markdown
Contributor

For example, if you load py-sphinx and then spack install libzmq, you will get the following error:

414 /usr/bin/ld: warning: libbsd.so.0, needed by src/.libs/libzmq.so, not found (try using -rpath or -rpath-link)
415 src/.libs/libzmq.so: undefined reference to `strlcpy@@LIBBSD_0.0'
416 collect2: error: ld returned 1 exit status

It seems that libzmq 4.3.3 started using strlcpy.
In libzmq 4.3.2, this does not happen.

Therefore, add libbsd to the dependency.

@alalazo alalazo merged commit 5cfa3d5 into spack:develop Jan 13, 2021
@healther
Copy link
Copy Markdown
Contributor

This breaks builds on OSX and [email protected] worked for me (at least on OSX). I'm not sure if this is required on linux, but I think we build it in the lab too and it worked, but I'll have to look up the precise versions used at work

@a-saitoh-fj a-saitoh-fj deleted the features/libzmq branch January 14, 2021 04:22
loulawrence pushed a commit to loulawrence/spack that referenced this pull request Jan 19, 2021
libzmq started using strlcpy from v4.3.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants