Posts: 102
Threads: 21
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Jun 2013
Reputation:
0
rver.o Zone.o -L../ShareLib -L/usr/local/lib -L/usr/local/apr/lib -L/usr/lib/mysql -m32 -lSharelib -lmysqlclient -lboost_thread-gcc44-mt-d-1_70_0 -lboost_system-gcc44-mt-d-1_70_0 -llog4cxx -laprutil-1 -lapr-1 -lrt -lstdc++ -lexpat -lz -lpthread -ljsoncpp -lcurl -ldl
Affinity.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [GameServer] Error 1
make[2]: Leaving directory `/root/Desktop/Server/GameServer'
make[1]: *** [usa] Error 2
make[1]: Leaving directory `/root/Desktop/Server/GameServer'
make: *** [usa] Error 2
[root@localhost Server]#
Posts: 102
Threads: 21
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Jun 2013
Reputation:
0
I searched the forum but couldn't find anything so I'm opening a topic.
Posts: 280
Threads: 42
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Sep 2012
Reputation:
0
U can try using
ldconfig -p | grep libboost_thread-gcc44-mt-d-x32-1_68
If it is not found something is wrong, or you did not compile said lib, or maybe the boost version is wrong, or that x32 codename is wrong or something like that, checking if the lib exists is your starting point
Posts: 102
Threads: 21
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Jun 2013
Reputation:
0
You said many variations of this command but it didn't write anything to the screen.
Posts: 340
Threads: 27
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Mar 2021
Reputation:
0
On 2/25/2024 at 7:47 PM, darklord said:
FiXED.
is a nice common to share solution on a forum, btw, may be the wrong makefile (some times ago it raise an error on lboost) ... but since i see the boost version 1.70, should be the wrong boost version maybe...
Posts: 102
Threads: 21
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Jun 2013
Reputation:
0
Absolutely. The solution to the problem was that libboost was missing.