You are not logged in.

#1 2018-08-20 06:22:59

Taaji
Member
Registered: 2018-08-11
Posts: 3

Unable to run an executable of Swift

I have Swift installed locally. I took me a while to install and compile it. I also have an arch linux VPS server. There I want to run my executable files which I compile on my local machine. I didn't install Swift on that server.


And I've tried to run an executable on the server compiled on my local machine. It threw an exception:

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

What's the bare minimum of libraries I'll have to install to my server so I'll to be able to run Swift applications I compile locally?

Offline

#2 2018-08-20 13:42:08

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,532
Website

Re: Unable to run an executable of Swift

There's only one swift package, right?  There are source and binary packages of the stable version and also a development version, but they all just provide the same "swift-language" meta-package.

So just install whatever package you built on your VPS.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB