[Nix-dev] cmucl
Lluís Batlle i Rossell
viriketo at gmail.com
Fri Aug 27 12:04:33 CEST 2010
I guess the 'bin/lisp' binary has a hardcoded dynamic loader to
/lib/ld-linux.so.2 or something like that.
(readelf -a bin/lisp should give you information about it)
In NixOS, we usually don't have a dynamic loader at that file path.
You can override the ELF dynamic loader with 'patchelf'. You will need to add
some rpath entries to the ELF to, so it can find some libraries it may use (like
libc.so)
Good luck,
Lluís.
On Fri, Aug 27, 2010 at 11:56:25AM +0200, maggesi at math.unifi.it wrote:
> Hi,
> I would like to run cmucl on NixOS but I get an error that I do not understand
> (my system is i686-linux).
>
> Try this:
>
> mkdir /tmp/cmucl; cd /tmp/cmucl
> wget http://common-lisp.net/project/cmucl/downloads/release/20b/cmucl-20b-pre1-x86-linux.tar.bz2
> tar xjf cmucl-20b-pre1-x86-linux.tar.bz2
> bin/lisp
>
> Then I get the following error:
> bash: bin/lisp: No such file or directory
>
> Also if i try
> ldd bin/lisp
> I get
> /nix/var/nix/profiles/per-user/maggesi/profile/bin/ldd: line 126:
> bin/lisp: No such file or directory
>
> I suppose that this could be a problem of shared object dependencies.
> But I have no idea how solve it.
>
> Any suggestion?
>
> Thanks,
> Marco
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev
More information about the nix-dev
mailing list