Frequently Asked Questions on Installation and Configuration
  1. How to install Ch Standard or Ch Professional Edition in unix and Mac OS X?
  2. Error: cannot restore segment prot after reloc: Permission denied in linux?
  3. I got the error Shared object "limb.so.2" not found in FreeBSD 5.4, how to resolve it?
  4. How to uninstall Ch in Windows?
  5. How to uninstall Ch in Unix and Mac OS X?
  6. When installing Ch in Windows, why does it ask to uninstall the old version of Ch? I already uninstalled all of the old version of Ch.
  7. Under Windows 95/98/Me, when Ch is started, it is in full screen. How to change Ch shell in full screen to a window?
  8. Can I install Ch once and use it under different Windows-based operating systems such as Windows 95, 98, NT, 2000 on the same PC?

Q: How to install Ch Standard Edition or Ch Professional Edition in unix and Mac OS X?

Assume you downloaded the file xxx.tar.gz, run the following command

   gzip -cd xxx.tar.gz | tar -xvof - 
   cd xxx 
   run "sh ./install.sh" 

Q: Error: cannot restore segment prot after reloc: Permission denied in linux?

The latest Linux enabled new kernel security extensions (SELinux). SELinux also changes some default system behaviors, such as shared library loading. There are two solutions for this.

  1. Disable SElinux by editing the /etc/selinux/config file and commenting out all lines. Then add this line to the file: SELINUX=disabled After rebooting, it should work.
  2. Assume ch is installed at /usr/local/ch directory,
     cd /usr/local/ch
     find . -name '*.dl' -exec chcon -t texrel_shlib_t {} \;
    
    For created dynamically loaded lib such as file.dl using Ch SDK, run the following command to update the created file. chcon -t texrel_shlib_t file.dl

Soluiton 2 is recommended.

Q: I got the error Shared object "limb.so.2" not found in FreeBSD 5.4, how to resolve it?

When you start Ch under FreeBSD 5.4, you might see the message "/usr/libexec/ld-elf.so.1: Shared object libm.so.2" not found. You need Install in FreeBSD compat4x port to fix this issue.

Q: How to uninstall Ch in Windows?

Click Control Panel in My Computer. Click Add/Remove Programs, select SoftIntegration Ch 2.0 xxx Edition, where xxx can be either Professional, Standard and Evaluation, then click Add/Remove. Press Yes if you are asked to complete remove Ch and all of its components.

Q: How to uninstall Ch in Unix and Mac OS X?

The uninstallation instruction can be found in CHHOME/docs/chinstall.pdf.
You can remove Ch and all related components from CHHOME directory such as /usr/local/ch. Remove symbolic link /bin/ch. Remove login shells /bin/ch in /etc/shells if it was installed. And remove $HOME/.chrc if it was created.

Q: When installing Ch software, why does it always ask to uninstall the old version of Ch? I already uninstalled all of the old version of Ch.

It might be because you didn't clean up the registry values for Ch. The most likely reason is that you tried to uninstall manually or uninstallation is incomplete. One of the following two solutions below may solve the problem.

  1. Reboot. You have to reboot to finish the uninstallation if you are using Ch while uninstalling Ch.
  2. Click the uninstall to continue as you were asked, it will go through the uninstallation for you automatically. And then run Ch installation program such as installch_b.exe again to reinstall Ch.
Q: Under Windows 95/98/Me, when Ch is started, it is in full screen. How to change Ch shell in full screen to a window?

This is related to the default MS-DOS windows setup. There are three solutions to this problem. The first solution applies to Ch shell in the current window only. The other two solutions apply to Ch in both current window and startup.

  1. Type: ALT+ENTER, it will resize the Ch shell prompt in windows from full screen to normal window, similar to the solution for changing from full screen to a window in MS-DOS shell.
    • Open My Computer
    • open C: drive
    • open the windows directory
    • click on "show files"
    • click on the system directory
    • click on "show files"
    • right click on conagent
    • select properties
    • select the screen tab
    • select the window botton under usage
    • click ok
  2. type "Alt"+"Tab", and then the MS-DOS shell will be found at the toolbars -- at the right hand side of "Start". Right click the MS-DOS shell=>"Properties", then click menu "Screen", under "Usage", select "Window" instead of "Full Screen", then click "Apply".
Q: Can I install Ch once and use it under different Windows-based operating systems such as Windows 95, 98, NT, 2000 on the same PC?

No. You may encounter some unexpected errors. The setup of Ch during installation is different for different operating systems. It sets registry values.