VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Shared Libraries  (Read 1255 times)

WRCU2

  • Member
  • *
  • Posts: 1
Shared Libraries
« on: April 12, 2011, 05:10:44 pm »

I have gone to great lengths trying to get Sim City 3000 to run on Vector. Installation was no problem, finding and applying the patch wasn't too bad either, but I cannot understand why sc3u keeps reporting the following error:

Quote
/usr/local/games/SC3U/sc3u: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory

Libdl.so.2 exists, BUT, it does not exist in /usr/lib which is where I believe sc3u is looking for it:

Quote
wrcu2:$ ls -al /usr/lib/libdl*
-rw-r--r-- 1 root root 7914 2008-04-20 02:17 /usr/lib/libdl.a
lrwxrwxrwx 1 root root   20 2010-06-30 08:24 /usr/lib/libdl.so -> ../../lib/libdl.so.2*

Libdl.so.2 is easily found linked in /lib

Quote
wrcu2:$ ls -al /lib/libdl*
-rwxr-xr-x 1 root root 13474 2008-04-20 02:17 /lib/libdl-2.7.so*
lrwxrwxrwx 1 root root    12 2010-06-30 08:23 /lib/libdl.so.2 -> libdl-2.7.so*

Is this a simple matter of creating a link in /usr/lib? If so, what is the safest way to do this?
Logged

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: Shared Libraries
« Reply #1 on: April 12, 2011, 05:45:26 pm »

I think your going to require a few more steps if this link is any indication.
http://www.fewt.com/2008/06/simcity-3000-on-linux-how-to.html

also here
http://ubuntuforums.org/showpost.php?p=4127696&postcount=43
Logged
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee