Weining Zhao:
|I installed OpenDX (binary downloaded from opendx.org) on our SGI Origin
|3400 with IRIX 6.5.13. When I ran a sample *.net, I got a pop up "Error"
|window saying "Connection to server failed: Starting DX executive" and
|error messages:
|
|50739:/usr/local/OpenDX/bin_sgi/dxexec: rld: Error: unresolvable symbol in
/usr/local/OpenDX/bin_sgi/dxexec: __register_frame_info
|50739:/usr/local/OpenDX/bin_sgi/dxexec: rld: Error: unresolvable symbol in
/usr/local/OpenDX/bin_sgi/dxexec: __deregister_frame_info
...
|Please help me solve this problem.
This is a gcc-ism. Likely the libstdc++.so this binary was built with is
not the one you happen to have installed.
The simplest solution would be to ask David Thompson if he can provide the
libstdc++.so this version was built with, and then you can add
LDPRELOAD=/path/to/that/libstdc++.so to the dx wrapper script to
work-around this. (BTW David, I can provide a basic DX built with the IRIX
compilers if you'd like to provide that instead.)
Alternatively, I can mail you a tree built with the IRIX compilers, with or
without ImageMagick -- your choice.
And a third option, you can build OpenDX from CVS using the IRIX compilers.
It's not hard. Here's what I do to build a basic DX:
----------------------------------------------------------------------
# Fetch
cvs -d :pserver:[EMAIL PROTECTED]:/src/master login
Password: anoncvs
cvs -d :pserver:[EMAIL PROTECTED]:/src/master checkout dx
# Configure & build
CVSMake
env CXX="/bin/CC -mips4 -n32" CC="/bin/cc -mips4 -n32" \
SGI_ABI="-n32" CFLAGS="-O2" CXXFLAGS="-O2" LDFLAGS="-Wl,-n32" \
configure
gmake -j16
gmake install
----------------------------------------------------------------------
For the fetch, you can instead grab the latest CVS tarball from:
http://opendx.watson.ibm.com/dx/tars. E.g. dx27Feb2002.tar.gz
To build DX with ImageMagick installed in /usr/local is a bit tricky on
IRIX, because SGI delivers some old versions of image manipulation
libraries in /usr/{include,lib*} that you want to hide from the DX build
(using instead the newer versions you've put in /usr/local and with which
you built ImageMagick). Here's the magic configure line for that (yep, I
have a script for this). Substitute for the above env line.
env CXX="/bin/CC -mips4 -n32" \
CC="/bin/cc -mips4 -n32" \
SGI_ABI="-n32" \
CPPFLAGS="-nostdinc -I/usr/local/include -I/usr/local/include/freetype
-I/usr/include -I/usr/include/CC" \
CFLAGS="-O2" \
CXXFLAGS="-O2" \
LDFLAGS="-Wl,-n32,-rpath,/usr/local/lib32 -nostdlib -L/usr/local/lib32
-L/usr/lib32" \
configure
Randy
--
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA N127-01; RTP, NC 27711