Do I need some extra libs for the new v2 server? The strange thing is, version 2.0.02 is running on my laptop (ubuntu 12.04) without any problems, but on my vServer (debian squeeze) it says that I'm missing some libs... So, if yes, Which ones do I need?
Hmm I used libQtScript.so.4 and so on (copied them from /lib/ to the server folder), and now I'm getting: ./Server: symbol lookup error: ./Server: undefined symbol: _ZN7GenInfo6genMinE
LD_LIBRARY_PATH is empty, at least terminal shows a blank line. And I didnt move lib files, I just copied them, otherwise the server application didnt find them xD
Squeeze contains Qt 4.6, and PO can be compiled against 4.7+ so it may be that the default Qt of Squeeze does not work.
I believe Mystra bundled the libraries. I don't think 32-bit version comes with libraries bundled (64-bit comes, I did it myself). I'll see if I can arse myself to get a 32-bit ubuntu up and running for copying the libs later :x
Hmm, ok I will try to run the server on a 64 bit OS. Edit: Code (text): ./Server: /lib/libc.so.6: version `GLIBC_2.14' not found (required by ./Server) ./Server: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /home/pop/pokemon-online/v2.0.0/64bit/libutilities.so.1) ./Server: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /home/pop/pokemon-online/v2.0.0/64bit/libpokemonlib.so.1) ./Server: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /home/pop/pokemon-online/v2.0.0/64bit/libQtScript.so.4) ./Server: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /home/pop/pokemon-online/v2.0.0/64bit/libQtSql.so.4) ./Server: /lib/libc.so.6: version `GLIBC_2.15' not found (required by /home/pop/pokemon-online/v2.0.0/64bit/libQtGui.so.4) ./Server: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /home/pop/pokemon-online/v2.0.0/64bit/libQtGui.so.4) ./Server: /lib/libc.so.6: version `GLIBC_2.15' not found (required by /home/pop/pokemon-online/v2.0.0/64bit/libQtNetwork.so.4) ./Server: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /home/pop/pokemon-online/v2.0.0/64bit/libQtNetwork.so.4) ./Server: /lib/libc.so.6: version `GLIBC_2.15' not found (required by /home/pop/pokemon-online/v2.0.0/64bit/libQtCore.so.4) ./Server: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /home/pop/pokemon-online/v2.0.0/64bit/libQtCore.so.4) ./Server: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /home/pop/pokemon-online/v2.0.0/64bit/libzip.so.2) That comes when trying to run 64bit Server on 64 bit Debian.
You can temporary add wheezy (or sid if you're brave) to sources.list, apt-get get update and install new Qt. Wheezy is frozen already, should be safer than ever, but be carefull with that.
That means that pokemonlib isn't up to date, or it doesn't find the correct one. Did you try building from source?
I just downloaded the zip archive and uploaded it to my server. How do I get the correct pokemonlib? Edit: Found the right one. Now it says I'm missing libzip.so.2 xD
Uh-oh, that means your debian squeeze isn't up-to-date enough to have the latest libzip. You should have libzip.so.2 on your ubuntu 12.04, somewhere in /usr/lib... Code (shell): $ find /usr/lib/ -name "libzip*" /usr/lib/libzip.so.2.1.0 /usr/lib/libzip.a /usr/lib/libzip.so /usr/lib/pkgconfig/libzip.pc /usr/lib/jvm/java-6-openjdk-i386/jre/lib/i386/libzip.so /usr/lib/vlc/plugins/access/libzip_plugin.so /usr/lib/libzip.so.2 Copy it over and put it on your server folder.
I wanted to ask if that works out of the box on debian, it does on ubuntu: https://github.com/downloads/coyotte508/pokemon-online/pokemon-online-i386-2.0.02a.tar.gz
Found the lib and put it into server folder. Code (text): ----------------------- New Server, starting logs ----------------------- Server is running in headless mode Notice that it is not possible (yet) to configure the server in headless mode! Please change the configuration manually or in windowed mode. A web-tool for configuring and maintaining will be implemented later. ./Server: symbol lookup error: ./Server: undefined symbol: _ZN16QCoreApplicationC1ERiPPci
Tried the new 2.0.05 Download. Still getting Code (text): ./Server: symbol lookup error: ./Server: undefined symbol: _ZN16QCoreApplicationC1ERiPPci ._.
Did you test this download (it's for the older version but still) https://github.com/downloads/coyotte508/pokemon-online/pokemon-online-i386-2.0.02a.tar.gz
Well I bundled Qt 4.8 libraries with it, my guess is that Garma is not using the start-server script and it is loading the system Qt libraries.
I didn't move them, I copied the ones I needed. They're still all in the /lib/ or /usr/lib/ etc. folders too. And what do you mean with "start-server script"? I'm always running ./start-server --headless :x Edit: I found out, that instantly after uploading the libzip.so.2 file, the server application fails with symbol lookup error. Maybe theres something wrong with that file?
Ok, my suggestion is to either compile Qt and PO from sources or upgrading to Wheezy. I am personally running Qt 4.7.0 from sources on squeeze, and couldn't find a way to install the binaries there without getting tons of unresolved dependencies.
Just missing one last file (I hope so): libc.so.6 Code (text): ./Server: /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libc.so.6: version `GLIBC_2.14' not found (required by ./Server) ./Server: /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libc.so.6: version `GLIBC_2.14' not found (required by /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libutilities.so.1) ./Server: /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libc.so.6: version `GLIBC_2.14' not found (required by /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libpokemonlib.so.1) ./Server: /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libc.so.6: version `GLIBC_2.14' not found (required by /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libQtScript.so.4) ./Server: /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libc.so.6: version `GLIBC_2.14' not found (required by /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libQtSql.so.4) ./Server: /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libc.so.6: version `GLIBC_2.15' not found (required by /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libQtGui.so.4) ./Server: /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libc.so.6: version `GLIBC_2.14' not found (required by /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libQtGui.so.4) ./Server: /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libc.so.6: version `GLIBC_2.15' not found (required by /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libQtNetwork.so.4) ./Server: /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libc.so.6: version `GLIBC_2.14' not found (required by /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libQtNetwork.so.4) ./Server: /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libc.so.6: version `GLIBC_2.15' not found (required by /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libQtCore.so.4) ./Server: /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libc.so.6: version `GLIBC_2.14' not found (required by /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libQtCore.so.4) ./Server: /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libc.so.6: version `GLIBC_2.14' not found (required by /home/pop/pokemon-online/v2.0.0/2.0.05/pokemon-online-2.0.02/libzip.so.2)
And how? apt-get upgrade and apt get dist-upgrade don't do anything anymore as I've already upgraded.