Sybase Upgrade Error in Linux

I have been using Servoy for a while now, and have had no problems upgrading the Sybase engine from 9.0 to 9.0.1 under Windows, but while setting up a development server under RedHat Fedora 2, I have run into a problem. The Servoy install runs fine (upgraded to 2.1), and after adding a 9.0.1 database, it returns the typical “capability 32 missing” error in the sybase_log.txt file. I have followed Jan’s instructions (at http://forum.servoy.com/viewtopic.php?p=11570#11570) on upgrading the Sybase engine, but unfortunately Servoy cannot find the repository with the upgraded files in place (again, this has worked fine for me in the past on a Windows 2000 platform). It is probably worth noting that no error text shows up in the sybase_log.txt file when the upgraded files are in place (only the “Connection refused” error in Servoy). There also does not seem to be a file that corresponds to “libunic.so”, so I have used both the original file, and the “libdbunic9_r.so” file while attempting to make this work.

Has anyone else run into similar problems updating a Linux install of Servoy with a newer Sybase engine? Are there any additional steps that are not in Jan’s post on the subject (e.g. edits to configuration files)? Any help with this would certainly be appreciated.

Thank you,
Ian

I don’t know if this can be useful.
I had the same problem installing and upgrading servoy on linux.
But under Fedora

  1. I installed sybase for linux from the source, using the Free linux license in the
    default directory /opt/sybase
  2. I changed the file servoy.property in this way
    nativeStartupLauncher=/usr/local/servoy/sybase_db/dbsrv9|@sybase_db/sybase.config#LD_LIBRARY_PATH=/opt/sybase/SYBSsa9/lib
    so that the libraries and the launcher are in /opt/sybase …
  3. I launched java -ja servoy_developer.jar and it works perfectly.

Hope this can be useful.

In the current 2.1 install there’s a file missing for Linux. We will correct this in an upcoming build that will be available soon (2.1.1), until then you can download the missing file here:

http://downloads.servoy.com/patches/libdbunic9_r.so

Place it in the sybase_db directory of a 2.1 full install and everything should work.

Thanks Jan,
this is the reason why it works when I link the sybase libraries directly.
The patch will help many people in trouble at the moment.
Rob

Thank you both for the replies. As it turned out, the version of Servoy I was using (which had been upgraded several times via the update tool, and was still using the 9.0 engine and libraries), simply did not allow any of these solutions. A clean install of Servoy (with the libdbunic9_r.so file added back in) did the trick.

Thanks,
Ian