Servoy/iAnywhere on SuSE

Seems I found an issue with Servoy iAnywhere under SuSE.

I upgraded Servoy from 1.2 to 2.0 and up under SuSE 8.1 and it started to have problems connecting to the repository.
I wanted to upgrade to SuSE 9.1 anyway so I did a clean install of SuSE 9.1 and Servoy 2.1rc5.
I got the same problems there.

java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refuse

iAnywhere wasn’t running.

I tried then to manually start iAnywhere but I got errors.

In the servoy.properties file you see the line

nativeStartupLauncher=sybase_db/dbsrv9|@sybase_db/sybase.config#LD_LIBRARY_PATH=sybase_db

So I tried that in the terminal.

I got the following error:

bash: @sybase_db/sybase.config#LD_LIBRARY_PATH=sybase_db: No such file or directory
./sybase_db/dbsrv9: error while loading shared libraries: libdbserv9_r.so: cannot open shared object file: No such file or directory

So it seemed it didn’t know a path. So I checked if LD_LIBRARY_PATH was known.
And it was empty. So I added it with the export command.

Trying to launch the dbserver with the same command got me the following error:

sybase_db/dbsrv9: error while loading shared libraries: libdbunic9_r.so: cannot open shared object file: No such file or directo ry
bash: @sybase_db/sybase.config#LD_LIBRARY_PATH=sybase_db: No such file or directory

The file libdbunic9_r.so is indeed not anywhere on my system.

I did notice something in the terminal when I installed Servoy.
When it installed the files in sybase_runtime_db/ it produced a lot of these messages:

Skip did different? wanted 10084351 did 10084347

Pretty much on every file.

Btw I did install in a different directory than suggested by the installer.
Instead I installed in a new subdirectory in my home.

Is the installer flaky? Is it Sybase’s config file? Any idea what is going on ?

I should also add that there is no sybase logfile.
Very strange.

FWIW, I’m also getting the same error on RedHat 7.3 and Fedora Core 1 with both the latest release, and the current beta. Does anyone else have a working Sybase install on Linux with the current stable version of Servoy?

In the last release of Servoy there is this missing file libdbunic9_r.so,
but you can download the patch from
http://downloads.servoy.com/patches/libdbunic9_r.so

See also the post
http://forum.servoy.com/viewtopic.php?t=2842

I downloaded and installed the free sybase for linux from
http://www.sybase.com/linuxpromo
and installed under Eudora core2.
Then I linked that libraries to servoy and it works.