Newsgroups: comp.parallel.pvm
From: moore@cs.utk.edu (Keith Moore)
Subject: Re: compatibility of HeNCE v2.0 with pvm3.3.5?
Organization: Univ. of Tenn. Computer Science, Knoxville
Date: 21 Dec 1994 05:05:06 GMT
Message-ID: <3d8d22INNjci@CS.UTK.EDU>

In article <3d7m7i$a3p@news.acns.nwu.edu>, ding@sneffels.phys.nwu.edu (Ding-Chuan Chen) writes:
> I installed pvm3.3.5 and run maste-slave program without any problems before
> I installed HeNCE v2.0. The problem I had was when compiled and linked 
> my program, I got some undefine symbols
>     _dlopen
>     _dlclose
>     _dlsym
> I cannot find where those symbol are, but it is fixed by reinstalling 
> pvm3.3.5 without HeNCE. Did anybody know how to make HeNCE v2.0 
> compatible with pvm3.3.5?

The problem isn't with PVM.  The problem is that both HeNCE and SunOS
define libraries named -ldl (or libdl.a).  If any library that a HeNCE
node program calls, needs routines from the SunOS libdl.a, the HeNCE
libdl.a will be used instead, and it doesn't have the
dl{open,close,sym} routines.  (The HeNCE libdl is for Doubly Linked
lists, the SunOS libdl is for Dynamic Loading of object files)

The fix is to find all occurances of libdl or -ldl in the HeNCE source
code (including */*.c and */Imakefile), change them to something else
(say libdll and -ldll), and re-build HeNCE from scratch 
(make clean; xmkmf; make Makefiles; make ; make install).

--
Keith Moore                                     NETLIB development group
Computer Science Department / University of Tennessee at Knoxville
107 Ayres Hall / Knoxville TN 37996-1301
Let's stamp out drug testing in our lifetime.

