Running DeVIDE on linux (centos 5.3) 64bit

20 views
Skip to first unread message

Simon Su

unread,
Oct 21, 2009, 10:36:39 AM10/21/09
to devide-users
Hello All,


On the linux 64bit version I have expat 1.95.8 installed (please see
below). But it is ./dre devide is looking for libexpat.so.1. Can I
just create a link from libexpat.so.0 to libexpat.so.1?

Thank you
Simon

======== rpm package listing =====
[one@vis devide-re-v9.8.3784-lin64]$ rpm -ql expat-1.95.8-8.2.1
/lib64/libexpat.so.0
/lib64/libexpat.so.0.5.0
/usr/bin/xmlwf
/usr/share/doc/expat-1.95.8
/usr/share/doc/expat-1.95.8/COPYING
/usr/share/doc/expat-1.95.8/README
/usr/share/man/man1/xmlwf.1.gz
/lib/libexpat.so.0
/lib/libexpat.so.0.5.0
/usr/bin/xmlwf
/usr/share/doc/expat-1.95.8
/usr/share/doc/expat-1.95.8/COPYING
/usr/share/doc/expat-1.95.8/README
/usr/share/man/man1/xmlwf.1.gz


====== error message when run dre devide ====
[one@vis devide-re-v9.8.3784-lin64]$ ./dre devide
Traceback (most recent call last):
File "/home/one/apps/DeVIDE/devide-re-v9.8.3784-lin64/devide/
devide.py", line 460, in <module>
main()
File "/home/one/apps/DeVIDE/devide-re-v9.8.3784-lin64/devide/
devide.py", line 455, in main
devide_app = DeVIDEApp()
File "/home/one/apps/DeVIDE/devide-re-v9.8.3784-lin64/devide/
devide.py", line 289, in __init__
from interfaces.wx_interface import WXInterface
File "/home/one/apps/DeVIDE/devide-re-v9.8.3784-lin64/devide/
interfaces/wx_interface/__init__.py", line 1, in <module>
from main import WXInterface
File "/home/one/apps/DeVIDE/devide-re-v9.8.3784-lin64/devide/
interfaces/wx_interface/main.py", line 9, in <module>
import wx
File "/home/one/apps/DeVIDE/devide-re-v9.8.3784-lin64/python/lib/
python2.6/site-packages/wx-2.8-gtk2-unicode/wx/__init__.py", line 45,
in <module>
from wx._core import *
File "/home/one/apps/DeVIDE/devide-re-v9.8.3784-lin64/python/lib/
python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 4, in
<module>
import _core_
ImportError: libexpat.so.1: cannot open shared object file: No such
file or directory

Simon Su

unread,
Oct 21, 2009, 10:38:50 AM10/21/09
to devide-users
Hello All,

But create the link from libexpat.so.0 to libexpat.so.1 create whole
other set of problem... sorry

Thanks,
Simon


=========== running dre devide ====
ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not
found (required by /home/one/apps/DeVIDE/devide-re-v9.8.3784-lin64/wx/
lib/libwx_baseu-2.8.so.0)

Charl Botha

unread,
Oct 21, 2009, 11:04:22 AM10/21/09
to devide...@googlegroups.com
Dear Simon,

2009/10/21 Simon Su <newsgr...@gmail.com>:


> On the linux 64bit version I have expat 1.95.8 installed (please see
> below). But it is ./dre devide is looking for libexpat.so.1. Can I
> just create a link from libexpat.so.0  to  libexpat.so.1?

Could you try unpacking the attachment into devide/wx/lib and startup
devide again? It comes from my x86_64 ubuntu 8.04 system.

It's quite hard building binaries that work on all Linux systems (this
was built on Ubuntu 8.04 LTS). If the fix above does not work and
there's a high probability, let me know. It might be time to try a
build from source. :) We have a nice script that'll do that for you.

Good luck,
Charl

libexpat.so.1.tar.gz

Simon Su

unread,
Oct 21, 2009, 11:38:10 AM10/21/09
to devide...@googlegroups.com
Dear Charl,

Yes it is. I think now we have different gcc version issues.


ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/one/apps/DeVIDE/devide-re-v9.8.3784-lin64/wx/lib/libwx_baseu-2.8.so.0)


I have

[one@vis devide-re-v9.8.3784-lin64]$ gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)


installed.


I will try to build from source then. No need to worry about this. If we can get either windows or linux version running, that will do for the meeting next week.

On compiling from source, can you point me the right way?

Thank you,
Simon

Charl Botha

unread,
Oct 21, 2009, 11:41:44 AM10/21/09
to devide...@googlegroups.com
2009/10/21 Simon Su <newsgr...@gmail.com>:

> I will try to build from source then. No need to worry about this. If we can
> get either windows or linux version running, that will do for the meeting
> next week.
>
> On compiling from source, can you point me the right way?

Yes, try this:
http://code.google.com/p/devide/wiki/Downloads?tm=2 in the section
"building your own from source"

In the referenced readme
http://code.google.com/p/devide/source/browse/branches/v9-8/johannes/README.txt
first make sure you have the mentioned dependencies installed, then
follow the 4 steps under A (normal build).

Good luck!
Charl

Reply all
Reply to author
Forward
0 new messages