Installation error on CentOS 4

Post Reply
thunderstone18
Posts: 4
Joined: Fri Aug 10, 2007 7:21 pm

Installation error on CentOS 4

Post by thunderstone18 »

Hello,

I'm running at 32 bit version of CentOS 4 and downloaded your Linux 2.4l2.2 x86 installer. The installer gives me the error:
-------------------------
Errors indicate a shared library needed by Texis could not be found:
*** /home/user/webinator/install-tmp/usr/local/morph3/bin/monitor: error while loading shared libraries: libncurses.so.4: cannot open shared object file: No such file or directory ***
This is often caused by incompatible changes between versions of the
OS or C lib, eg. the version Texis was created with and your version.
Install the above missing library from your OS media if possible.
Your Linux version appears to be 2.6.9 CentOS release 4.5 (Final)
-------------------------------------

I looked in the lib directory and found libncurses.so.5 and libncurses.so.5.4 . It appears the install script doesn't recognize those and I don't know of any way to install the old libncurses.so.4 on this machine.

Is there a workaround?

Thanks,

Tom
User avatar
mark
Site Admin
Posts: 5513
Joined: Tue Apr 25, 2000 6:56 pm

Installation error on CentOS 4

Post by mark »

thunderstone18
Posts: 4
Joined: Fri Aug 10, 2007 7:21 pm

Installation error on CentOS 4

Post by thunderstone18 »

I'm told there is no way to install that library on this machine because there is no installer, or something like that.
User avatar
mark
Site Admin
Posts: 5513
Joined: Tue Apr 25, 2000 6:56 pm

Installation error on CentOS 4

Post by mark »

No installer required. Just follow the instructions there and place the library into the proper directory by hand. You will generally need root permissions to do that.
thunderstone18
Posts: 4
Joined: Fri Aug 10, 2007 7:21 pm

Installation error on CentOS 4

Post by thunderstone18 »

Thanks for your help so far.

I copied the file into the /usr/lib directory with all the other libraries and ran the command "ldconfig". When setting up the webinator, I now get the following error (I replaced my actual domain for 'domain' in the error message below):

CGI extension [ENTER for none]:
Stopping monitor processes.....done
Checking dir with a web fetch...failed, will try again
Trying again with file...*** Failed ***
The URL http://www.domain.com/cgi-bin/texis/ins ... html?-dump
could not be fetched.
Possibly the CGI URL prefix (http://www.domain.com/cgi-bin)
or the CGI extension (none) is wrong.
The web server response was: HTTP/1.1 500 Internal Server Error

A look into the system error logs yields a "Premature end of script headers:" error followed by "error: file is either setuid or setgid" error.

Any suggestions?
thunderstone18
Posts: 4
Joined: Fri Aug 10, 2007 7:21 pm

Installation error on CentOS 4

Post by thunderstone18 »

I found a resolution to the issue at http://thunderstone.master.com/texis/ma ... 33&skip=30

I went through the install script and replaced all of the chmod u=rwxs with chmod u=rwx and the chmod u+s with chmod u-s.

I ran the install script afterward as user (not root) and it appeared to install fine. Let me know if this was or wasn't acceptable to do.

Thanks,

Tom
User avatar
mark
Site Admin
Posts: 5513
Joined: Tue Apr 25, 2000 6:56 pm

Installation error on CentOS 4

Post by mark »

That's fine as long as the user you installed as is the same one that apache will run CGI programs as and that you always run Texis commands as that user and no other.
Post Reply