Skip to content

Avoid creating empty .so/.dylib/.dll files #4468

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

Closed
MrElendig opened this issue Jan 13, 2013 · 4 comments
Closed

Avoid creating empty .so/.dylib/.dll files #4468

MrElendig opened this issue Jan 13, 2013 · 4 comments
Milestone

Comments

@MrElendig
Copy link

Compiling rust 0.5 ends up with these .so files being empty:
librusti.so
librustdoc.so
libcargo.so
librustc.so

Compilers/tools:
gcc: 4.7.2
llvm: 3.2
libffi 3.0.11

Compilation output etc:
https://gist.github.com/4524662

@catamorphism
Copy link
Contributor

This is harmless (the empty .so files just get used to track dependencies in the build system). But, I agree that the error messages you're seeing from ldconfig are confusing. We should fix this; @brson suggested using a meaningless extension for the empty files, so that we can still use them for dependencies but ldconfig won't complain about them.

I'll change the title to reflect the proposed fix.

@brson
Copy link
Contributor

brson commented Mar 6, 2013

#5217 is related

@thestinger
Copy link
Contributor

Is it possible to replace these with symlinks?

@thestinger
Copy link
Contributor

Fixed by 2cbfe6d.

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

4 participants