#184 closed defect (fixed)
NetBSD is omitted from list of ELF platforms in csc
Reported by: | sjamaan | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 4.5.0 |
Component: | unknown | Version: | 4.3.x |
Keywords: | Cc: | ||
Estimated difficulty: |
Description
This causes compiled .so and binaries to give errors "libchicken.so.5 not found"
The attached patch fixes this
Attachments (1)
Change History (5)
Changed 15 years ago by
Attachment: | csc.scm.diff added |
---|
comment:1 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 follow-up: 4 Changed 15 years ago by
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)
comment:4 Changed 15 years ago by
Milestone: | → 4.5.0 |
---|
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.
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)