After a little tinkering, I figured out that I needed to specifiy the path for 
the command

ldconfig -v

Thus, the correct command (for this case) is:

ldconfig -v /usr/local/lib

I am able to start the program. 

Thank you for your help.




________________________________
From: Steven Gaffagan <bs...@att.net>
To: Scid-users@lists.sourceforge.net
Sent: Monday, June 22, 2009 4:27:27 PM
Subject: [Scid-users]  installing SCID: cannot open shared library






thank you for the reply!

[Note: I already removed all symlinks and reinstalled SCID.]

I followed your suggestion and now I have these two lines in  /etc/ld.so.conf. 
The file and the first line already existed. I added the second line.

include /etc/ld.so.conf.d/*.conf
include /usr/local/lib


Then I ldconfig -v

I log out of the terminal and exit terminal. Then I start terminal. As user or 
as root I still get,
when I try to run SCID:
/usr/local/bin/tkscid: error while loading shared libraries: libtcl8.5.so: 
cannot open shared object file: No such file or directory

Please advise,
thank you!



________________________________
From: Alexander Wagner <a.wag...@physik.uni-wuerzburg.de>
To: Steven Gaffagan <bs...@att.net>
Cc: Scid-users@lists.sourceforge.net
Sent: Monday, June 22, 2009 9:05:27 AM
Subject: Re: [Scid-users] installing SCID: cannot open shared library

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
thank you for the reply!
------------------------------------------------------------------------------
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