Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load libc.so failed #39

Closed
NalaGinrut opened this issue May 8, 2016 · 1 comment
Closed

Load libc.so failed #39

NalaGinrut opened this issue May 8, 2016 · 1 comment

Comments

@NalaGinrut
Copy link

When I try to load libc.so according to the CSUG:

> (load-shared-object "libc.so")
Exception: (while loading libc.so) /usr/lib/x86_64-linux-gnu/libc.so: invalid ELF header

Then I take a look at /usr/lib/x86_64-linux-gnu/libc.so, it's a LD script:

/* GNU ld script
   Use the shared library, but some functions are only in
   the static library, so try that secondarily.  */
OUTPUT_FORMAT(elf64-x86-64)
GROUP ( /lib/x86_64-linux-gnu/libc.so.6 /usr/lib/x86_64-linux-gnu/libc_nonshared.a  AS_NEEDED ( /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 ) )

The related libc info:

[nalaginrut@debian:~] /lib/x86_64-linux-gnu/libc-2.22.so 
GNU C Library (Debian GLIBC 2.22-7) stable release version 2.22, by Roland McGrath et al.
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 5.3.1 20160409.
Available extensions:
    crypt add-on version 2.1 by Michael Glad and others
    GNU Libidn by Simon Josefsson
    Native POSIX Threads Library by Ulrich Drepper et al
    BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<http://www.debian.org/Bugs/>.

Any help?

@NalaGinrut
Copy link
Author

OK, should be libc.so.6

97jaz pushed a commit to 97jaz/ChezScheme that referenced this issue Nov 2, 2021
When cross-library inlining was improved in 126f528, the `set!`
case was not handled correctly.

Closes cisco#39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant