Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#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)

csc.scm.diff (356 bytes) - added by sjamaan 15 years ago.

Download all attachments as: .zip

Change History (5)

Changed 15 years ago by sjamaan

Attachment: csc.scm.diff added

comment:1 Changed 15 years ago by felix winkelmann

Resolution: fixed
Status: newclosed

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)

comment:2 Changed 15 years ago by sjamaan

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:3 Changed 15 years ago by (none)

Milestone 4.4.0 deleted

comment:4 in reply to:  2 Changed 15 years ago by felix winkelmann

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.

Note: See TracTickets for help on using tickets.