error while loading shared libraries

Hi all,

I recently switched servers, and one of my xojo console apps that was working nicely on my previous Linux server is now giving me the following error on this server:

./helloworld: error while loading shared libraries: XojoConsoleFramework64.so: cannot open shared object file: No such file or directory

The libraries for the app are located alongside the console app, exactly as Xojo exported them. I am trying to define the library path, but not having much success.

I’ll keep working on this, but I thought maybe some of you great minds out there might have run across this before. :slight_smile:

Maybe you must recompile for 64-Bit?

Thanks Eli. It is compiled for x86 64 bit.

I’m having the same mistake as Andrew, how can I solve it?

Has the 64-bit vc_redist.exe been run on that machine? It’s in the Extras folder next to the IDE.

i have the same error

/cgi-bin/holaWEB: error while loading shared libraries: XojoConsoleFramework64.so: cannot open shared object file: No such file or directory

Permissions troubles ?

@Emile Schwarz all permisions are 755

@Andrew Dempsey have you solved the problem??

[quote=347953:@JOSE VICENTE GOMEZ BARBA]@Emile Schwarz all permisions are 755

@Andrew Dempsey have you solved the problem??[/quote]
Please look in the Libs directory and run ls -al and paste the results here.

@Greg O’Lone

@Greg O’Lone :
bagbolti@es6 [~/www/imasred.es/cgi-bin/holaWEB Libs]# ls -al
total 41756
drwxr-xr-x 2 bagbolti bagbolti 4096 Aug 29 05:03 ./
drwxr-xr-x 6 bagbolti bagbolti 4096 Aug 29 05:05 …/
-rwxr-xr-x 1 bagbolti bagbolti 36418824 Mar 24 19:50 XojoConsoleFramework64.so*
-rwxr-xr-x 1 bagbolti bagbolti 132496 Aug 29 05:03 libGZip64.so*
-rwxr-xr-x 1 bagbolti bagbolti 987896 Aug 29 05:03 libRBCrypto64.so*
-rwxr-xr-x 1 bagbolti bagbolti 11984 Aug 29 05:03 libRBInternetEncodings64.so*
-rwxr-xr-x 1 bagbolti bagbolti 421976 Aug 29 05:03 libRBRegEx64.so*
-rwxr-xr-x 1 bagbolti bagbolti 2673304 Aug 29 05:03 libSSLSocket64.so*
-rwxr-xr-x 1 bagbolti bagbolti 2068240 Mar 24 19:50 libc++.so.1*

i think, i have to find lib path and copy libs files there, but its a shared hosting, i don’t know where is that folder :frowning: