Summary

NetBSD is omitted from list of ELF platforms in csc

Metadata

Attachments

Description

This causes compiled .so and binaries to give errors "libchicken.so.5 not found"

The attached patch fixes this

Changes and comments

[2010-03-10 21:19:34 UTC] sjamaan attached csc.scm.diff (description=#f)

[2010-03-11 09:41:38 UTC] felix changed status from new to closed

[2010-03-11 09:41:38 UTC] felix set resolution to fixed

[2010-03-11 09:41:38 UTC] felix wrote:

Damn. Is this in the 4.4.0 release?

Thanks for the patch. I have added it (and another required change) in commit 36e4501c7dceca1330887c1f0866998ae7fe9b67 (master)

[2010-03-11 10:04:17 UTC] sjamaan wrote:

Yes, this is in the release. Sorry for not testing it well enough, I should've caught this in the prerelease test.

Anyway, I added this as a patch to pkgsrc (pending a commit by Alexey) so the release will work fine.

How important is the second bit? What does it do? (I didn't add that to pkgsrc, and without it, it seems to work, so that's why I'm asking)

[2010-03-11 10:33:12 UTC] Milestone 4.4.0 deleted

[2010-03-11 10:58:41 UTC] felix set milestone to 4.5.0

[2010-03-11 10:58:41 UTC] felix wrote:

Replying to sjamaan: > > Anyway, I added this as a patch to pkgsrc (pending a commit by Alexey) so the release will work fine.

Very good - thanks for this.

> > How important is the second bit? What does it do? (I didn't add that to pkgsrc, and without it, it seems to work, so that's why I'm asking)

It's only for deployment (creating a directory with an executable setup to load its libchicken from the directory where it is located). This requires setting the runpath to `$ORIGIN` on ELF systems, but this is broken on older NetBSD versions.