Opened 10 years ago
Closed 9 years ago
#114 closed defect (duplicate)
Linux daily build does not include libjpeg62
Reported by: | Tom Goddard | Owned by: | Greg Couch |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Build System | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | chimera |
Description
The Linux daily build requires libjpeg.so.62 for Chimera 2 to start but this is probably not a commonly found on Linux systems so it should be included with Chimera 2. I tested on Ubuntu 15.04 which has only libjpeg.so.9.
Change History (4)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
chimera@vizvault:~$ chimera2_daily/bin/Chimera2
Traceback (most recent call last):
File "main.py", line 3, in <module>
File "/home/chimera/chimera2_daily/lib/python3.4/site-packages/Chimera2_main.py", line 277, in init
session.common_startup(sess)
File "/home/chimera/chimera2_daily/lib/python3.4/site-packages/chimera/core/session.py", line 527, in common_startup
commands.register_core_commands(sess)
File "/home/chimera/chimera2_daily/lib/python3.4/site-packages/chimera/core/commands/commands.py", line 13, in register_core_commands
m.register_command(session)
File "/home/chimera/chimera2_daily/lib/python3.4/site-packages/chimera/core/commands/scolor.py", line 63, in register_command
from ..map import MapArg
File "/home/chimera/chimera2_daily/lib/python3.4/site-packages/chimera/core/map/init.py", line 25, in <module>
from .moveplanes import PlanesMouseMode
File "/home/chimera/chimera2_daily/lib/python3.4/site-packages/chimera/core/map/moveplanes.py", line 2, in <module>
from ..ui import MouseMode
File "/home/chimera/chimera2_daily/lib/python3.4/site-packages/chimera/core/ui/init.py", line 2, in <module>
from .gui import MainToolWindow, ChildToolWindow
File "/home/chimera/chimera2_daily/lib/python3.4/site-packages/chimera/core/ui/gui.py", line 17, in <module>
import wx
File "/home/chimera/chimera2_daily/lib/python3.4/site-packages/wx/init.py", line 17, in <module>
from wx.core import *
File "/home/chimera/chimera2_daily/lib/python3.4/site-packages/wx/core.py", line 6, in <module>
from ._core import *
ImportError: libjpeg.so.62: cannot open shared object file: No such file or directory
comment:3 by , 10 years ago
I copied libjpeg.so.62 into the Chimera2 build from the system location. This is a poor solution since Chimera2 already includes libjpeg.so.9 and the wx compilation should use that. But some searching did not reveal a simple way to tell the wx build where to find libjpeg. If we stick with the wx toolkit we will want to make it use the Chimera libjpeg.so.9. Leave ticket open until we either switch to Qt or fix the wx build.
Would be good to fix this. I was trying image rendering on vizvault.cgl.ucsf.edu today and gave up because didn't have time to deal with the missing libraries.