[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Apr 15 20:28:30 2003 
Subject:Re: cannot find -ltermcap 
From:A . Sloman 
Volume-ID:1030415.01 

> Just been trying to fix my system after playing with sudo (don't do
> it... its bad, ok?) and when I attempted to reinstall poplog,

Does that mean that it all worked at some earlier stage?

> all
> accoprding to the instructions for SuSE, all files are correct, all
> shared objects /links to them are in place,

I presume you were using this file

	http://www.cs.bham.ac.uk/research/poplog/linux-cd/Suse-Readme.txt

> ...I get this error:
>
> [root@destruktor /usr/local/poplog/src/linux-poplog]# ./run_install
>
> [snip...]
>
> /usr/i486-suse-linux/bin/ld: cannot find -ltermcap
> collect2: ld returned 1 exit status
>
> [snip...]
>


> .# ll usr/lib/libterm*
 
> lrwxrwxrwx    1 root     root           19 Apr 12 14:41 /usr/lib/libtermcap.so.2 -> libtermcap.so.2.0.8
> -rwxr-xr-x    1 root     root        15067 Mar 23  2002 /usr/lib/libtermcap.so.2.0.8

That looks OK

 ll /lib/libterm*
> lrwxrwxrwx    1 root     root           24 Apr 15 13:39  /lib/libtermcap.so.2 -> /usr/lib/libtermcap.so.2

That also looks OK.

I don't know anything about SuSE. Is it possible that you have to set
this environment variable?

	$LD_LIBRARY_PATH

If you've had some sort of crash maybe you have to reinstall libtermcap,
in case the file has been corrupted?

Does this command run without error:


	/usr/local/poplog/v15.53a/pop/pop/basepop11

If so, edit the file
	INSTALL_MOTIF_POPLOG
to omit these lines:


    ##### START of bit that may not work on Mandrake and some other systems
    ### Comment out the next few commands (up to ##### END) if you are
    ### running mandrake and installation does not work

    echo "relinking -- using $popsys/poplink_cmnd"

    cd $popsys
        ./poplink_cmnd

    echo "checking for newpop11"

    ls -l newpop11

    if ( -f newpop11 ) then
        echo "copying newpop11 to basepop11"
        cp newpop11 basepop11
        rm newpop11
    else
        echo "COULD NOT LINK NEWPOP11:"
        echo "Try commenting out poplink_cmnd"
        echo "OR"
        echo "Try asking for help via comp.lang.pop or pop-forum AT cs.bham.ac.uk"
        exit
    endif
	##### END of bit that may not work on Mandrake

if that does not work, maybe someone else with more specific knowledge
will be able to help.

Aaron