--
You received this message because you are subscribed to a topic in the Google Groups "OSv Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/osv-dev/V9fch2WFX7o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to osv-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/61cb76c8-63f4-490c-b040-5634148c3930%40googlegroups.com.
I Waldek,I will get the exact command and stack trace to you on Friday.Thanks,
Hi,--Can you provide exact build command you used to build the image? Also, can you provide the exact stack trace so we know which symbol is was unresolved?Thanks,Waldek
On Wednesday, August 21, 2019 at 9:19:36 PM UTC-4, mjde...@gmail.com wrote:Hi,I tried to use the OSv app for python 3 support. I built the image with the system installed python 3 version. I also installed scikit learn and added that to the modules to keep from the site packages. Scikit also relies on numpy and scipy. However, I got it to import and build an image. But when I tried to run it, failed with an unresolved symbol. I have a centos system and was building within the docker container fedora 29 template. Any suggestions or thoughts on why this would fail?Thanks,Mike
You received this message because you are subscribed to a topic in the Google Groups "OSv Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/osv-dev/V9fch2WFX7o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to osv...@googlegroups.com.
Hi Waldek,
No that does not seem to be the problem. I started with just trying to see with numpy first, since that is a dependency. Here is what I did. I used your docker image build on Fedora29, which does a git and pulls down the OSv repo. Then I built the python3x osv-app in osv-apps/python3x/ on the github repo.
I have python 3.7 installed on the fedora29 image and did pip3 install numpy to get that installed in my python 3.7 environment. I modified the GET file under the python3x directory to include the numpy module.
Next I ran ./scripts/build image=python3x and the build completed successfully.
Then I ran ./scripts/run.py –api -e “/python3 -c \”import numpy; print(numpy.__version__)\””
That is when it failed in an unresolved symbol for blas_memory_alloc
[root@8ec8090052ab osv]# ./scripts/run.py --api -e "/python3 -c \"import numpy; print(numpy.__version__)\""
OSv v0.53.0-74-gef56fde7
eth0: 192.168.122.15
Booted up in 611.56 ms
/lib/python3.7/numpy/.libs/libopenblasp-r0-2ecf47d5.3.7.dev.so: failed looking up symbol blas_memory_alloc
[backtrace]
0x0000000040356209 <elf::object::symbol(unsigned int, bool)+969>
0x00000000403562cf <elf::object::resolve_pltgot(unsigned int)+127>
0x0000000040356494 <elf_resolve_pltgot+52>
0x000000004039b82f <???+1077524527>
0x000020000077ff6f <???+7864175>
0x0000000000000003 <???+3>
Any ideas on how to resolve this?
Thanks,
Mike
To unsubscribe from this group and all its topics, send an email to osv-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/dba8eead-7d65-4f86-bef0-98eb80925d6d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/dba8eead-7d65-4f86-bef0-98eb80925d6d%40googlegroups.com.
Waldek,
The openblas was in a different directory, here is the location and command, and output. It looks like there is no dependences, but it is a position depended executable. Solutions?
[root@f955a42a9e41 osv]# ./scripts/manifest_from_host.sh -l /usr/local/lib64/python3.7/site-packages/numpy/.libs/libopenblasp-r0-2ecf47d5.3.7.dev.so
# Position Dependent Executable
/libopenblasp-r0-2ecf47d5.3.7.dev.so: /usr/local/lib64/python3.7/site-packages/numpy/.libs/libopenblasp-r0-2ecf47d5.3.7.dev.so
# --------------------
# Dependencies
# --------------------
# --------------------
To unsubscribe from this group and all its topics, send an email to osv-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/e1bdaf15-e259-4bad-8beb-15f81c4506f8%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to osv-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/e1bdaf15-e259-4bad-8beb-15f81c4506f8%40googlegroups.com.
Waldek,
I finally got sklearn installed and got to the same issue you pointed out described here - https://github.com/cloudius-systems/osv/issues/1025
Has this been implemented yet?
Thanks,
Mike
From: osv...@googlegroups.com <osv...@googlegroups.com> On Behalf Of Waldek Kozaczuk
Sent: Tuesday, August 27, 2019 11:40 AM
To unsubscribe from this group and all its topics, send an email to osv-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/e1bdaf15-e259-4bad-8beb-15f81c4506f8%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/e1bdaf15-e259-4bad-8beb-15f81c4506f8%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to osv-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/d7902b92-c058-4fcb-8db9-bcdaf0152b8a%40googlegroups.com.