Comments (3)
it's cause of libjil ->
linux-vdso.so.1 => (0x00007ffe3a3b8000)
libjli.so => not found
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fccf2fb2000)
/lib64/ld-linux-x86-64.so.2 (0x00007fccf337c000)
eyberg@dungeon:~/jtest$ nvm run -p 8081 -c config.json /home/eyberg/jtest/java
yo3
(children:(not:(contents:(host:not))lib:(children:(x86_64-linux-gnu:(children:(libc.so.6:(contents:(host:/lib/x86_64-linux-gnu/libc.so.6))))))lib64:(children:(ld-linux-x86-64.so.2:(contents:(host:/lib64/l
d-linux-x86-64.so.2))))HelloWorld.class:(contents:(host:HelloWorld.class))home:(children:(eyberg:(children:(jtest:(children:(java:(contents:(host:/home/eyberg/jtest/java))))))))kernel:(contents:(host:.sta
ging/stage3.img)))
program:/home/eyberg/jtest/java
arguments:[java HelloWorld]
environment:())
exit status 255
nah here
2018/11/24 09:29:09 couldn't open file not
so it appears that it's just a packaging/symlink issue -
I found the jre pkg here ->
eyberg@dungeon:~/jtest$ locate libjli.so
/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/jli/libjli.so
eyberg@dungeon:~/jtest$ ldd java
linux-vdso.so.1 => (0x00007ffd727f5000)
libjli.so => not found
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f086d55d000)
/lib64/ld-linux-x86-64.so.2 (0x00007f086d927000)
eyberg@dungeon:~/jtest$ cp /usr/lib/jvm/java-8-openjdk-amd64/bin/java .
eyberg@dungeon:~/jtest$ ldd /usr/lib/jvm/java-8-openjdk-amd64/bin/java
linux-vdso.so.1 => (0x00007ffc4a99c000)
libjli.so => /usr/lib/jvm/java-8-openjdk-amd64/bin/../lib/amd64/jli/libjli.so (0x00007f56c66c3000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f56c62f9000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f56c60df000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f56c5edb000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f56c5cbe000)
/lib64/ld-linux-x86-64.so.2 (0x00007f56c68d2000)
of course that path goes away once you copy it over - maybe we should have a tool to copy libs and force the path before creating the manifest for cases like this?
from ops.
we should just try and make a manual pkg of this for now and see if that gets us to hello world an then we can come back later and make it a bit more proper
from ops.
bin/java has DT_RPATH/DT_RUNPATH set to "$ORIGIN/../lib" and libjli.so resides in "../lib" (relative to "java" executable).
With #714 and #715 libjli.so can be found successfully. I don't think we need a separate issue for this loading issue (all can be tracked in a parent issue #449).
from ops.
Related Issues (20)
- add dns for vultr HOT 1
- add static ips for vultr HOT 1
- chore(volumes): warn when volume name/label length > nanos(VOLUME_LABEL_MAX_LEN - 1) HOT 3
- feature request to deploy to Hivelocity.net provider HOT 4
- GCP instance creation to an instance-group fails from non-default interface name HOT 1
- qmp for local instances doesn't work w/custom instance names HOT 1
- unimplemented socket options for Python amqp HOT 5
- GCP rate limit: one disk image create every 10 minutes HOT 4
- Unikernel Process Not Starting with Memory Size Beyond a Certain Range in Firecracker HOT 7
- Incomplete documentation, no real world nodejs runner example HOT 2
- Instance tags through config.json in DO HOT 2
- Ops deploy does not use InstanceName on DO HOT 1
- Memory metric not showing for instance on digital ocean HOT 2
- Go App Served via SSH HOT 3
- Error: failed converting configuration file: json: cannot unmarshal number into Go struct field RunConfig.RunConfig.Ports of type string HOT 3
- Run on GCP Cloud Run HOT 3
- Cannot seem to push locally built package HOT 3
- Feat suggestion: Show progress in ops image create HOT 5
- [Mac M1] ops pkg list (question / bug) HOT 2
- No network on Azure HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ops.