On Fri, 28 Sep 2001, Ulhas Samant wrote:
> Is there any-thing specific we have to set for Solaris during run-time.

I would examine first the output of ldd on the mhub demo program
after it is built.  If libtool does it the same way on Solaris as
it does on Linux, this will be the file ggi-core/libgii/demos/.libs/mhub
(or, if you have built in a separate build directory, look for the 
corresponding .libs directory in the build tree.)

My bet is that you will find that the line designating the binding
for libucb says it is not found.  Then try running ldd on the stock sun 
binary /usr/ucb/reset, and see if linucb is not found there either.
If it is not, you have a system wide misconfiguration of the dynamic
linker.  Unfortunately I know little about configuring this on Sun.

If it is found for /lib/ucb/reset but not for the mhub binary,
then there is a problem during build-time.   Try touching mhub.c and 
rebuilding and seeing if it was just that you didn't have things all 
set up right when you built.  If that doesn't do it, I would suspect 
that there is a bug in the version of libtool you are using.

I would help more, but I'm not allowed to use any of our Solaris boxes as
sandboxes here.

> P.S.- Is there any documentation on these demo.s ?

Well, for mhub, there is the mhub.1 manpage in the source directory.
This by extension covers xsendbut, which is made for use with mhub.
filter.c and demo.c are more considered to be literate programming documents
in and of themselves, than actual programs, though the comments in them
could be much more verbose.

--
Brian


Reply via email to