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 ?