-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
apparent bug: 'invalid ELF header' #450
Comments
I've found that in many linux distros We have a regex library using pcre (j/regex.j); you will probably want to use those functions in some way. |
Let's have a discussion of what you're thinking with the regex business. What we have now is serviceable and certainly no worse than what's in various scripting languages, but a better design could certainly be quite possible. |
I think the dev list is probably a good place for such a discussion. |
I'll poke around a bit and see if i can make an analogous Ok that the issue is closed, but maybe change the error message for the things Julia is already linked against? |
We could parse the linker script ourselves to find the real file name. It seems absurd that applications would all need to implement this logic. Obviously the linker script thing is a half-implemented feature. http://hackage.haskell.org/trac/ghc/attachment/ticket/2615/T2615a.dsend |
Probably good to remove most of |
@StefanKarpinski i posted on the mailing list about it. Goodnight&have a nice weekend. Update: forked it, and updated, of which julia/j/regex.j contains a newer version of the macro. |
@JeffBezanson Can |
Doesn't propose a solution, but discusses the problem. Can we run the script /lib and figure where the real version is, and then load that? http://askubuntu.com/questions/40416/why-is-lib-libc-so-6-missing |
AFAIK all you can do is parse the thing yourself, it's not executable or anything. |
How does gcc do it? -viral On 10-Mar-2012, at 11:29 PM, JeffBezansonreply@reply.github.com wrote:
|
I believe ldconfig does the work in identifying the right thing. -viral On 10-Mar-2012, at 11:29 PM, JeffBezansonreply@reply.github.com wrote:
|
But is there any way we can take advantage of that functionality? |
Douglas Bates wrote to a debian dev, who said he doesn't know himself. The suggestion was to write to debian-devel. -viral On 11-Mar-2012, at 8:16 AM, JeffBezansonreply@reply.github.com wrote:
|
Seems like it might be doable:
|
|
Confirmed, the following works on both my OSX 10.8.2 x86_64 laptop and my Linux i386 VM:
|
* Refactor `parse_package` and add unit tests * Fold repl unit tests into repl.jl
Still an issue after 6 years
Debian 4.17 x86_64 |
This is now intentional |
If this is intentional then perhaps a different example in the docs (https://docs.julialang.org/en/v1/manual/calling-c-and-fortran-code/) might be needed? Or perhaps those examples (for :clock, :getent, :gethostname) should remove the "libc" part of their calls with an explanation for why that is needed. |
is fatal bug!!!! centos ERROR: error compiling top-level scope: could not load library "libc" |
when and how to solve this bug |
v1.0 v.11 |
Please post questions to the Julia discourse discussion forum. |
Stdlib: SparseArrays URL: https://github.com/JuliaSparse/SparseArrays.jl.git Stdlib branch: main Julia branch: master Old commit: 3582898 New commit: 37fc321 Julia version: 1.11.0-DEV SparseArrays version: 1.11.0 Bump invoked by: @ViralBShah Powered by: [BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl) Diff: JuliaSparse/SparseArrays.jl@3582898...37fc321 ``` $ git log --oneline 3582898..37fc321 37fc321 test: relax allocated tests (#468) bd2bda8 replace ind2sub/sub2ind by CartesianIndices/LinearIndices (#451) 7897f1f test: somewhat more permissive test_throws message (#466) 911cf6a `reverse` for sparse vector/matrix (#450) 713a260 Define algebraic operators for SparseMatrixCSCView (#458) f455a8e Add messages to DimensionMismatch errors (#461) 81fc6f3 Aggressive constprop in sparse * dense (#460) 0b36fdd fix h/vcat invoke dispatch arguments (#464) 6b23902 Add Finch to list of External Julia Sparse Array Libraries (#462) ``` Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
I am in version 3458255(...) on (64 bit)Arch Linux. Glibc version 2.15-6. Other libraries, like libnova do seem to work. Bit of a bummer that it is exactly the one from the example to break. Tried to grab another libc.so, to see if it but failed(accidentally got 32, file wont open)
The functions of regex.h are in there right? I wanted to make
destructuring-regex
(as i wrote for Common Lisp), but for julia. (Basically, the idea is that results and what is between results go straight into variables.)The text was updated successfully, but these errors were encountered: