-
Notifications
You must be signed in to change notification settings - Fork 4
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
--link-internally fails to find system libraries #103
Comments
Explicitly specifying the path to host system libs (on an Ubuntu 18.04 install) gets rid of the "unable to find" errors but results in a very extensive list of undefined symbol errors.
|
Explicitly specifying the path to the core-snap library locations results in the libraries not being found:
This is particularly odd, because the libraries in question are indeed present there. |
(A minor note: using |
The same errors happen when using |
|
Thanks for the pointer. One thing I don't quite understand there is the need for the manual
I take it that what's missing are some extra flags referred to in the PR you linked to, but it's not 100% obvious which. Bear in mind that in the above example I'm trying to build for the regular host system, not cross-compiling for ARM. A regular
... which isn't very revealing, but
I'll go through this and see if I can come up with a matching list for what's needed here. Anyway, this clearly isn't a snap package issue. Would some extra upstream docs be welcome/useful at this stage, or is this enough of a moving target that it's best to hold off for now until further technical developments have happened upstream? |
There's an open issue about this, and it's unlikely to be supported soon/at all due to the heterogeneous posix environments. |
Thanks. I've subscribed to the upstream issue, and will close this now. |
The following errors result when trying to build a simple "Hello World" with the internal LLD:
This suggests that the internal LLD does not by default have enough info to know where to look for system libraries.
In principle it could use either the host system's libs, or those in the core snap.
The text was updated successfully, but these errors were encountered: