Click to See Complete Forum and Search --> : Kylix2


dcmc
06-27-2002, 05:11 PM
I have installed kylix2 under SuSE 8.0. The program works fine, and compiled programs run when kylix is open.
When the executable is run outside kylix, I get the following error - " error while loading shared libraries: bplvisualclx.so.6.5: cannot open shared object file: No such file or directory"
I can see this file, and "kylixpath" points to the coreect directories when compiling.
What am I doin wrong, please?

messenger
06-28-2002, 04:11 PM
Hello,

Your answer is InstallMade. http://www.superobject.com/installmade/

Basically for the Kylix app to run yo need to have the appropriate library and bin folders in the lib path of the operating system.

InstallMade does a good job and basically it provides a self contained running environment for your app. Check it out

Jess the Mess

Originally posted by dcmc:
<STRONG>I have installed kylix2 under SuSE 8.0. The program works fine, and compiled programs run when kylix is open.
When the executable is run outside kylix, I get the following error - " error while loading shared libraries: bplvisualclx.so.6.5: cannot open shared object file: No such file or directory"
I can see this file, and "kylixpath" points to the coreect directories when compiling.
What am I doin wrong, please?</STRONG>

michaelk
06-29-2002, 07:57 AM
You need to add the path that points to the libraries in your bash logon script. The enviroment variable is LD_LIBRARY_PATH.

I only have Kylix but I assume its the same.

mdwatts
06-29-2002, 09:40 AM
Or you can add the path that bplvisualclx.so.6.5 resides in to /etc/ld.so.conf and then run ldconfig as root.

dcmc
07-01-2002, 03:08 PM
Many thanks for your help.

I couldn't find the scripts I needed, so following what was said - I cheated by creating links to the missing files ( there were 5 in the end) from /opt/kylix2/bin to /lib

It worked, even though it may be inelegant