What's new

Inne tfs 0.4 problem

vexler222

Advanced User
Joined
Feb 12, 2012
Messages
337
Reaction score
11
Hey, mam kilka problem?w jedne g??wny jest taki, ?e nie mog? odpali? silnika (debian 9)

Code:
./theforgottenserver: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory

Przed odpaleniem gotowego chcia?em spr?bowa? skompilowa? samemu ale te? mia?em b??dy, ale mniejsza tutaj chodzi o ten b??d :D

Na debian 9 nie ma libmysqlclient-dev wi?c zainstalowa?em libmariadbclient-dev tak jak mi koledzy z otlandu podpowiedzieli lecz to nadal nie dzia?a.
 

Dantez

Moim sekretem jest ciasto
Joined
May 22, 2008
Messages
1,206
Reaction score
202
Odp: tfs 0.4 problem

Przekompiluj.
 

vexler222

Advanced User
Joined
Feb 12, 2012
Messages
337
Reaction score
11
Odp: tfs 0.4 problem

Podczas kompilacji te? mam b??dy

Code:
~/tibia/sources# make
make  all-am
make[1]: Entering directory '/root/tibia/sources'
  CXX      actions.o
  CXX      allocator.o
  CXX      baseevents.o
  CXX      beds.o
  CXX      chat.o
  CXX      combat.o
  CXX      condition.o
  CXX      configmanager.o
  CXX      connection.o
  CXX      container.o
  CXX      creature.o
  CXX      creatureevent.o
  CXX      cylinder.o
  CXX      database.o
  CXX      databasemanager.o
  CXX      databasemysql.o
  CXX      depot.o
  CXX      dispatcher.o
  CXX      exception.o
  CXX      fileloader.o
  CXX      game.o
  CXX      globalevent.o
  CXX      group.o
  CXX      house.o
  CXX      housetile.o
  CXX      ioban.o
  CXX      ioguild.o
  CXX      iologindata.o
  CXX      iomap.o
  CXX      iomapserialize.o
  CXX      item.o
  CXX      itemattributes.o
  CXX      items.o
  CXX      luascript.o
  CXX      mailbox.o
  CXX      manager.o
  CXX      map.o
  CXX      monster.o
  CXX      monsters.o
  CXX      movement.o
  CXX      networkmessage.o
  CXX      npc.o
  CXX      otserv.o
otserv.cpp: In function ‘void otserv(StringVec, ServiceManager*)’:
otserv.cpp:580:18: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
  BN_dec2bn(&g_RSA->p, g_config.getString(ConfigManager::RSA_PRIME1).c_str());
                  ^~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/asn1.h:16,
                 from /usr/include/openssl/rsa.h:16,
                 from otserv.cpp:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
 typedef struct rsa_st RSA;
                ^~~~~~
otserv.cpp:581:18: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
  BN_dec2bn(&g_RSA->q, g_config.getString(ConfigManager::RSA_PRIME2).c_str());
                  ^~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/asn1.h:16,
                 from /usr/include/openssl/rsa.h:16,
                 from otserv.cpp:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
 typedef struct rsa_st RSA;
                ^~~~~~
otserv.cpp:582:18: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
  BN_dec2bn(&g_RSA->d, g_config.getString(ConfigManager::RSA_PRIVATE).c_str());
                  ^~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/asn1.h:16,
                 from /usr/include/openssl/rsa.h:16,
                 from otserv.cpp:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
 typedef struct rsa_st RSA;
                ^~~~~~
otserv.cpp:583:18: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
  BN_dec2bn(&g_RSA->n, g_config.getString(ConfigManager::RSA_MODULUS).c_str());
                  ^~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/asn1.h:16,
                 from /usr/include/openssl/rsa.h:16,
                 from otserv.cpp:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
 typedef struct rsa_st RSA;
                ^~~~~~
otserv.cpp:584:18: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
  BN_dec2bn(&g_RSA->e, g_config.getString(ConfigManager::RSA_PUBLIC).c_str());
                  ^~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/asn1.h:16,
                 from /usr/include/openssl/rsa.h:16,
                 from otserv.cpp:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
 typedef struct rsa_st RSA;
                ^~~~~~
In file included from /usr/include/openssl/asn1.h:24:0,
                 from /usr/include/openssl/rsa.h:16,
                 from otserv.cpp:35:
otserv.cpp:596:15: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
   BN_mod(g_RSA->dmp1, g_RSA->d, r1, ctx);
               ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/asn1.h:16,
                 from /usr/include/openssl/rsa.h:16,
                 from otserv.cpp:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
 typedef struct rsa_st RSA;
                ^~~~~~
In file included from /usr/include/openssl/asn1.h:24:0,
                 from /usr/include/openssl/rsa.h:16,
                 from otserv.cpp:35:
otserv.cpp:596:28: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
   BN_mod(g_RSA->dmp1, g_RSA->d, r1, ctx);
                            ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/asn1.h:16,
                 from /usr/include/openssl/rsa.h:16,
                 from otserv.cpp:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
 typedef struct rsa_st RSA;
                ^~~~~~
In file included from /usr/include/openssl/asn1.h:24:0,
                 from /usr/include/openssl/rsa.h:16,
                 from otserv.cpp:35:
otserv.cpp:597:15: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
   BN_mod(g_RSA->dmq1, g_RSA->d, r2, ctx);
               ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/asn1.h:16,
                 from /usr/include/openssl/rsa.h:16,
                 from otserv.cpp:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
 typedef struct rsa_st RSA;
                ^~~~~~
In file included from /usr/include/openssl/asn1.h:24:0,
                 from /usr/include/openssl/rsa.h:16,
                 from otserv.cpp:35:
otserv.cpp:597:28: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
   BN_mod(g_RSA->dmq1, g_RSA->d, r2, ctx);
                            ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/asn1.h:16,
                 from /usr/include/openssl/rsa.h:16,
                 from otserv.cpp:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
 typedef struct rsa_st RSA;
                ^~~~~~
otserv.cpp:599:23: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
   BN_mod_inverse(g_RSA->iqmp, g_RSA->q, g_RSA->p, ctx);
                       ^~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/asn1.h:16,
                 from /usr/include/openssl/rsa.h:16,
                 from otserv.cpp:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
 typedef struct rsa_st RSA;
                ^~~~~~
otserv.cpp:599:36: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
   BN_mod_inverse(g_RSA->iqmp, g_RSA->q, g_RSA->p, ctx);
                                    ^~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/asn1.h:16,
                 from /usr/include/openssl/rsa.h:16,
                 from otserv.cpp:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
 typedef struct rsa_st RSA;
                ^~~~~~
otserv.cpp:599:46: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
   BN_mod_inverse(g_RSA->iqmp, g_RSA->q, g_RSA->p, ctx);
                                              ^~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/asn1.h:16,
                 from /usr/include/openssl/rsa.h:16,
                 from otserv.cpp:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
 typedef struct rsa_st RSA;
                ^~~~~~
Makefile:557: recipe for target 'otserv.o' failed
make[1]: *** [otserv.o] Error 1
make[1]: Leaving directory '/root/tibia/sources'
Makefile:413: recipe for target 'all' failed
make: *** [all] Error 2


Jakiego bym tfs 0.4 nie znalaz? ka?dy wywala mi b??dy przy kompilacji,
 

Dantez

Moim sekretem jest ciasto
Joined
May 22, 2008
Messages
1,206
Reaction score
202
Odp: tfs 0.4 problem

Znajdz wersje ktora nie uzywa openssl albo zainstaluj wersje openssl 1.0.*

Mozesz sprawdzic ta:


Niby ma openssl w dependency, ale nie widze zeby uzywalo.

Wkurwiajace to forum jest, chcesz zeby ci pomoc to wejdz na:
 
Last edited:
Top