View Full Version : Installing problems on Debian etch (FIXED)
Duncan_Ferguson
May 6th, 2007, 02:29 PM
Hi, long time lurking but new poster. Sorry for my english, it's not my first language (neither my second), I'll try to make it understandable:
I've been happily playing dom3 on my Ubuntu machine for months, today I switched to Debian Etch. I'm trying to re-install dom3 on my Debian, but I keep getting those "permission denied" messages every time I try to run the dominions_installer.run script, even if I'm logged as root. I have checked permissions with ls -l and it tells me that root has rx permission.
I'm sure it is just a silly thing, since I'm not proficient with linux, but I haven't got a clue.
Thanks in advance
Johan K
May 6th, 2007, 04:08 PM
Are you trying to run it from a CD or some other non harddrive device? If so copy it to your hardrive first and try again.
Duncan_Ferguson
May 6th, 2007, 05:09 PM
Hi
Thnak you for the tech support, it worked at first but I found another problem.
I've copied the dominions installer .run in my Desktop and now I don't get permission issues, but I cannot run it(nor user neither root). Message error displayed
/dominions3_installer.run: error while loading shared libraries: libXi.so.6: cannot open shared object file: No such file or directory
I've done a "locate libXi.so.6" and it says that it's in my /usr/lib directory but somehow the installer does not find it. I'd try to move libXi manually to another directory, but I don't know where the installer is looking for it.
Thanks again
B0rsuk
May 7th, 2007, 06:30 AM
No no no don't do that ! You're likely to break something else. Try making a symbolic link instead. Place it in the directory the game wants it, and make it point at where the library is. It still feels a bit like a dirty hack, there's probably a better way of doing it, but it's much cleaner this way.
I don't remember the syntax now, but it's something along the lines <font class="small">Code:</font><hr /><pre>ln -s</pre><hr />. If I remember correctly, the first argument should be the name of the link (should be the same as library's), and the second - what it points at.
------------
Note: I'm planning to switch to Etch, but I'm using Ubuntu now. By the way, my libXi.so.6 is in /usr/lib and there are no problems.
vfb
May 7th, 2007, 06:50 AM
Please list your libraries in /usr/lib like this:
<font class="small">Code:</font><hr /><pre>
# ls -l /usr/lib/libXi.so*
</pre><hr />
You should see something like:
<font class="small">Code:</font><hr /><pre>
lrwxrwxrwx 1 root root 14 Jan 8 22:58 /usr/lib/libXi.so -> libXi.so.6.0.0
lrwxrwxrwx 1 root root 14 Jan 8 22:58 /usr/lib/libXi.so.6 -> libXi.so.6.0.0
-rwxr-xr-x 1 root root 28120 Jan 8 22:58 /usr/lib/libXi.so.6.0.0
</pre><hr />
If you are missing any of these files or links then it is possible that the install will not work.
Normally /usr/lib/ is always searched for shared libraries, so you should not need to create a link in the install or game directory.
B0rsuk is right that you should not be moving files out of /usr/lib.
If you are missing /usr/lib/libXi.so for example, you can create it with this command, <font class="small">Code:</font><hr /><pre>
ln -s /usr/lib/libXi.so.6.0.0 /usr/lib/libXi.so
</pre><hr />
If you are actually missing /usr/lib/libXi.so.6.0.0, so that
/usr/lib/libXi.so.6 is a link pointing to a non-existent file, you will need to re-install whatever package includes libXi.
Duncan_Ferguson
May 7th, 2007, 07:20 AM
Hi everyone:
I'm getting this
ls -l /usr/lib/libXi*
lrwxrwxrwx 1 root root 14 2007-05-07 12:38 /usr/lib/libXi.so.6 -> libXi.so.6.0.0
-rw-r--r-- 1 root root 35752 2007-02-16 20:42 /usr/lib/libXi.so.6.0.0
so libXi.so -> libXi.so.6.0.0 link is missing, or so it seems...
Meanwhile I've tried a workaround doing a manual install (as explained in the README file), and I get the game running, but i can't patch it correctly (also, I don't get the menu entries and so, but I don't really care for them)
vfb
May 7th, 2007, 08:26 AM
I think the permissions on /usr/lib/libXi.so.6.0.0 are wrong.
Please try this, <font class="small">Code:</font><hr /><pre>
chmod 755 /usr/lib/libXi.so.6.0.0
ln -s /usr/lib/libXi.so.6.0.0 /usr/lib/libXi.so
</pre><hr />
And then run the install program again.
Johan K
May 7th, 2007, 12:47 PM
The installer is a 32-bit binary. Could it be that you're running a 64-bit distro without any support for 32-bit applications. In that case the installer won't work. But I believe there are instructions for a manual install as well.
Gandalf Parker
May 7th, 2007, 02:22 PM
There is also a text-mode installation which wont need the gui libraries. I use that.
Duncan_Ferguson
May 7th, 2007, 07:10 PM
Thanks again for helping me with this
vfb --> it did not work
ls -l /usr/lib/libXi.so*
lrwxrwxrwx 1 root root 23 2007-05-07 23:59 /usr/lib/libXi.so -> /usr/lib/libXi.so.6.0.0
lrwxrwxrwx 1 root root 14 2007-05-08 01:18 /usr/lib/libXi.so.6 -> libXi.so.6.0.0
-rwxr-xr-x 1 root root 33248 2006-11-28 02:09 /usr/lib/libXi.so.6.0.0
I have this now, but installer keeps complaining about it:
/dominions3_installer.run: error while loading shared libraries: libXi.so.6: cannot open shared object file: No such file or directory
Johan K --> maybe you're right, I'm running a 64-bit Etch. Previously I installed it in Ubuntu 64 bits, but it had some 32-bit libraries (because it has no 64-bits native flash player and I had to install firefox32). I'll try this way. Manual install is OK and it works, but I'm not able to patch the game right...
lch
May 7th, 2007, 07:13 PM
For patching in Linux, you just have to unzip, so that shouldn't be a problem. The 64bit binary is included in the patch.
Duncan_Ferguson
May 7th, 2007, 07:20 PM
Ok
It worked installing ia32-libs. My fault for being such a newbie.
Thanks to all of you for the help, really.
vBulletin® v3.8.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.