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

Remove liblapack-dev after R installation to reduce image size #412

Closed
wants to merge 1 commit into from

Conversation

eitsupi
Copy link
Member

@eitsupi eitsupi commented Apr 11, 2022

Related to #390

In #386, the image size increased by 30MB as a result of the additional installation of liblapack-dev.
However, this appears to be acceptable to remove after R installation, so I would like to remove it and reduce the image size.

@eitsupi
Copy link
Member Author

eitsupi commented Apr 11, 2022

Sorry, I must have been mistaken.
It is clear from the test results that it is not possible to remove this library immediately after the installation of this R, so I will close this.

@eitsupi eitsupi closed this Apr 11, 2022
@eitsupi eitsupi deleted the purge-liblapack-dev branch April 11, 2022 15:12
@kforner
Copy link

kforner commented Apr 14, 2022

FWIW, the problem seems to lie with /usr/local/lib/R/modules/lapack.so:

$ ldd /usr/local/lib/R/modules/lapack.so 
	linux-vdso.so.1 (0x00007ffed91ff000)
	libR.so => not found
	liblapack.so.3 => not found
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fcebcc6e000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcebca7c000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fcebcdd6000)

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

Successfully merging this pull request may close these issues.

2 participants