Steven Gaffagan wrote:

Hi!

>  /usr/local/bin/tkscid: error while loading shared libraries: 
> libtcl8.5.so: cannot open shared object file: No such file or directory
> 
> I can find this file in my system here:
>  [r...@localhost scid]# whereis libtcl8.5.so
> libtcl8.5: /usr/local/lib/libtcl8.5.so
>
> Please advise how I can correct this. I tried:
> cd /usr/local/bin/tkscid
> ln -s /usr/local/lib/libtcl8.5.so

Urgh. No.

> But I received the same errot message. I am a newbie regarding symbolic 
> links and relative newcomer to linux.

No need to do broken things like symlinking libs. Two
possibilities:

/usr/local/lib

is not in your libpath. In that case /etc/ld.so.conf or in
more recent vesions of linux /etc/ld.so.conf.d/libc.conf is
your friend. Add the path to that file (one path per line)
and run

    ldconfig -v

You need to be root for this, of course. Be careful what you
do as root. For editors you have THE editor available for
sure (ie. vi) or you have to fiddle around with (IMHO silly)
things like nano.

This should solve those problems once and for all system
wide. (Ie. the unix way.)

Alternatively, in case you want to fix it on per user level
(no really good idea for /usr/local/lib) you may

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LD_RUN_PATH=/usr/local/lib:$LD_RUN_PATH

-- 

Kind regards,                /                 War is Peace.
                             |            Freedom is Slavery.
Alexander Wagner            |         Ignorance is Strength.
                             |
                             | Theory     : G. Orwell, "1984"
                            /  In practice:   USA, since 2001

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to