Linux and dependencies (libgio-2.0)
Posted: Sat Feb 14, 2009 8:55 pm
Hi!
This thread is about PureBasic, Linux and the truth about dependencies. Recently I started a small project to build a little web application using the Linux version of PureBasic. I got a web-host that is very user friendly and allows users to run their own hosting processes behind the main serving Apache etc.
So I made a small demo server (console application based on the web server in the examples) just to see if I could get the basics to work. When I upload the web server to my webhost-server and execute the server i get this error:
./webserver.exe: error while loading shared libraries: libgio-2.0.so.0: cannot open shared object file: No such file or directory
Looking at the first page on purebasic.com one of the features listed is: "- No external DLLs, runtime interpreter or anything else required when creating executables"
Now, I'm a reasonable person and I know that a unix/linux system is attached to the current lib at a much closer level than a windows system, so it's not like I'm surprised about this, but what I think would be a very good thing would be to have a document or FAQ that describes the additional packages/libs required in the most popular Linux distributions to run PureBasic executables.
Example: My webhost is running CentOS release 5.2 (final). This is one of the major distributions, and it would be great to have some place to go to find out exactly the additional packages required on CentOS to have PureBasic executables to run. As it is now I might contact some nice representative of my web-host and say: Could you please install libgio-2.0? I'm almost sure they would help me with that. But if I then need another lib? and another?
I'm sure you see why it would be much more smooth if I could just present a list of packages required at once to them and ask them to install it if possible.
This information is of course also vital for distributing any kind of software written in PureBasic to any potential Linux customers.
If there exist a FAQ or thread about this already I'm very sorry I brought this up again, I however did search for libgio-2.0 in the forum and I couldn't find any hit.
edit: grammar/spelling
This thread is about PureBasic, Linux and the truth about dependencies. Recently I started a small project to build a little web application using the Linux version of PureBasic. I got a web-host that is very user friendly and allows users to run their own hosting processes behind the main serving Apache etc.
So I made a small demo server (console application based on the web server in the examples) just to see if I could get the basics to work. When I upload the web server to my webhost-server and execute the server i get this error:
./webserver.exe: error while loading shared libraries: libgio-2.0.so.0: cannot open shared object file: No such file or directory
Looking at the first page on purebasic.com one of the features listed is: "- No external DLLs, runtime interpreter or anything else required when creating executables"
Now, I'm a reasonable person and I know that a unix/linux system is attached to the current lib at a much closer level than a windows system, so it's not like I'm surprised about this, but what I think would be a very good thing would be to have a document or FAQ that describes the additional packages/libs required in the most popular Linux distributions to run PureBasic executables.
Example: My webhost is running CentOS release 5.2 (final). This is one of the major distributions, and it would be great to have some place to go to find out exactly the additional packages required on CentOS to have PureBasic executables to run. As it is now I might contact some nice representative of my web-host and say: Could you please install libgio-2.0? I'm almost sure they would help me with that. But if I then need another lib? and another?
I'm sure you see why it would be much more smooth if I could just present a list of packages required at once to them and ask them to install it if possible.
This information is of course also vital for distributing any kind of software written in PureBasic to any potential Linux customers.
If there exist a FAQ or thread about this already I'm very sorry I brought this up again, I however did search for libgio-2.0 in the forum and I couldn't find any hit.
edit: grammar/spelling