[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Nov 17 23:45:17 2003 
Subject:Re: Mandrake install error - cannot find -libtermcap 
From:dbd 
Volume-ID:1031117.01 

A.Sloman@cs.bham.ac.uk (Aaron Sloman) wrote in message news:<bp605r$1ev0$1@soapbox.cs.bham.ac.uk>...
> dbd@myrealbox.com (dbd) writes:
> 
> > Date: 15 Nov 2003 10:00:10 -0800
> >
> > I'm trying to install poplog on Mandrake 9.2 but I get this error
> > message:
> >
> > === Running: ./pglink -xm -map
> > /usr/bin/ld: cannot find -ltermcap
> > collect2: ld returned 1 exit status
> >
> > ;;; MISHAP - POPLINK: ERRORS IN LINKING (see above)
> > *** Error - failed to link newpop11
> > *** Interrupted
> >
> > I've found the files libtermcap.so.2 and libtermcap.so.2.8 in /lib,
> > and tried linking /lib/libtermcap to one of these, and adding links to
> > them in /usr/lib but this makes no difference.
> 
> The link would have to be
>     libtermcap.so
> 
> Try that and see if it works.
> 
> On my redhat machine I have
> 
>     ls -l /usr/lib/libtermcap*
> 
> -rw-r--r--    1 root        11524 Jun 23  2002 /usr/lib/libtermcap.a
> lrwxrwxrwx    1 root           29 Jun 18 19:05 /usr/lib/libtermcap.so -> ../../lib/libtermcap.so.2.0.8
> 
> Try to set up a corresponding link and see if running the
> installation works, i.e., as root, something like
> 
>     ln -s ../../lib/libtermcap.so.2 /usr/lib/libtermcap.so
> 
> Someone else was trying to install poplog on madrake 9.2 yesterday
> and had obscure problems that I could not sort out, but we found a
> way to complete the installation. Maybe getting the  libtermcap.so
> link right will solve your problem.
> 
> You'll also need these, if you want to use the graphical tools:
> 
>     /usr/X11R6/lib/libX11.so
>     /usr/X11R6/lib/libXext.so
>     /usr/X11R6/lib/libXt.so
> 
> If they are not there, but you have versions like libX11.so.6
> then again you may find that installing the links will work.
> 
> If you want to use the motif facilities in poplog you'll also need
>     /usr/X11R6/lib/libXm.so
> 
> (or libXm.so.2 or libXm.so.3)
> 
> Please let us know how you get on.
> 
> Aaron
> 
Thanks, I tried that and it then installed ok, but now I'm having more
problems running it. First when I tried to run it complianed it was
missing libXm.so.3 so I installed the openmotif RPM.
Now when I run 'poplog xved' or 'poplog ved' or 'poplog po11' it gives
this error message:

;;; MISHAP - SAVED IMAGE NOT FOUND
;;; INVOLVING:  '/usr/local/poplog/current.poplog/pop/lib/psv/startup.psv'
;;;
;;; DOING    :

And when I just run 'poplog' it seems to do nothing (well nothing
happens and when I run 'ps -ael' there it's not there).
I have tried creating links to
/usr/local/poplog/current.poplog/pop/lib/psv/startup.psv from
/usr/local/poplog/v15.53d/poplocalbin/startup.psv and
/usr/local/poplog/v15.53d/pop/lib/psv/startup.psv
but then it complians about it not being the same system and version,
so I suppose that don't work it this case.


Also, I seem to remember it complaining about not having permission to
access the x display sometime, but that error no longer occours, so I
don't know what happened to that, because I don't remeber doing
anything to fix that!

Thanks.
Paul.
> 
> >
> > I also read in the SuSE install info that I could edit the install
> > file to remover part of it to make it work with manrake/Suse, but I
> > couldn't find this in any of the install files (or at least grep
> > couldn't).
> >                     
> > Please help!                   
> >                     
> > Paul Broadbent                   
> ====
> Aaron Sloman, ( http://www.cs.bham.ac.uk/~axs/ )
> School of Computer Science, The University of Birmingham, B15 2TT, UK
> EMAIL A.Sloman AT cs.bham.ac.uk   (ReadATas@please !)
> PAPERS: http://www.cs.bham.ac.uk/research/cogaff/ (And free book on Philosophy of AI)
> FREE TOOLS: http://www.cs.bham.ac.uk/research/poplog/freepoplog.html