I did all as Nelson said, the same error still occurred:
/usr/local/root/lib/libCint.so: undefined reference to `ios::rdbuf(void)'
........
It seems something is wrong at libCint.so or it cannot find the
library it needs, I want to know which library has something to do
with libCint.so concerning "ios::rdbuf(void), ios::fill(char), ... etc "
By the way, the /etc/ld.so.conf Bin my systen is
/usr/i486-linuxaout/lib
/usr/X11R6/lib
/usr/lib
/usr/i486-linux-libc5/lib
/usr/local/root/lib
Aidong
*****************************************************************************
*
* Name: Ai-Dong Chen
* Room: Room 410, The Youth Apartment (Tel: 68213344--2945) IHEP
* Office: Room 104,Three Hall(Tel: 68213344--2312)
* Room 210,Three Hall(Tel: 68213344--2184)
* Address: INST OF HIGH ENERGY PHYSICS
* PO BOX 918
* BEIJING 100039
* P R CHINA
* E_mail: chenad@hpws2.ihep.ac.cn
* HomePage: http://hptc3.ihep.ac.cn:6666/~chenad
*
****************************************************************************
On Thu, 3 Dec 1998, Matthew R. Nelson wrote:
> On Thu, 03 Dec 1998, you wrote:
> >Dear Rooters,
> >
> > When I make the root src of root_v2.00.Linux.2.0.33.egcs using
> >Makefile.linuxegcc as Makefile at radhad5.2, all is O.K. when compile , but
> >when I link the lib I met the following problems,
> >
> >g++ -g -o /usr/local/root/bin/cint MAIN_cppmain.o \
> > -L/usr/local/root/lib -lCint -lm -ltermcap -lbsd -ldl -rdynamic
> >/usr/local/root/lib/libCint.so: undefined reference to
> >`ostream::operator<<(void *)'
> ....
>
> >Before I make this, I had set the ROOTSYS and LD_LIBRARY_PATH
> >according the "Status & Availability" pages said.
> >
> > By the my, the ROOTSYS in my system is /usr/local/root, I did this
> >as a superuser.
>
> You need to make sure that after you set the LD_LIBRARY_PATH, that you
> update your shell environment, i.e. source ~/.bash_profile (or wherever
> you defined LD_LIBRARY_PATH). If this is still problematic, you can try
> adding /usr/local/root/lib to the file /etc/ld.so.conf, which is the
> glogal definition of where the linker should look for *.so's. After doing
> that, you need to run the script /sbin/ldconfig as superuser to update the
> linker search path.
>
> Let me know how it goes.
>
> Matt
> ----------------------------------------------------------------------------
> Matthew R. Nelson
> Dept. of Human Genetics http://www-personal.umich.edu/~ticul/
> University of Michigan email: ticul@umich.edu
> 4711 Medical Science II phone: (734) 647-3151
> Ann Arbor, MI 48109-0618 fax: (734) 763-5477
> ----------------------------------------------------------------------------
>