PDA

View Full Version : problems with EmuShareMem Loading...


Arex
04-16-2006, 10:26 AM
I have done all things like wikki linux tutorial says..and i have compiled all ok, but when i try run world, i get the next error:

sudo ./world
[Debug] Starting Log: logs/eqemu_debug_world.log
[Debug] [WORLD__INIT] Loading server configuration..
[Debug] [WORLD__INIT] Log settings loaded from log.ini
[Debug] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEMu 0.6.6
[Debug] [WORLD__INIT] Connecting to MySQL...
[Debug] [COMMON__THREADS] Starting TCPServerLoop with thread ID -1213191248
[Debug] [COMMON__THREADS] Starting TCPServerLoop with thread ID -1221583952
[Status] Starting Log: logs/eqemu_world.log
[Status] Using database 'eq' at localhost:3306
[Debug] [WORLD__INIT] Loading opcodes..
[Error] Load Shared Library 'libEMuShareMem.so' failed. Error=libEMuShareMem.so: cannot open shared object file: No such file or directory
Unable to load EMuShareMem for opcodes.
[Debug] [WORLD__INIT_ERR] Loading opcodes failed. I cant live like this!
[Debug] [COMMON__THREADS] Starting DBAsyncLoop with thread ID -1229988944
[Debug] [COMMON__THREADS] Ending TCPServerLoop with thread ID -1221583952

Arex
04-16-2006, 10:34 AM
i already fix it making a link of Emusharemem lib in /usr/lib/...i did it before, but it wasnt working, is the same thing use

ln -s [relative path]/archive [absolute path]

or use

ln -s [absolute path]/archive [absolute path]/archive

??

Belfedia
04-16-2006, 12:54 PM
I think with "sudo" commands you use ubuntu ? Your system don't find the lib emusharemem.so library but you have understand.

1- you don't need to start any eqemu files with sudo commands, you can compile source, start and use with user account , and not with command root acces. If this not work try to put good right on file with chmod command (tutorial link : http://catcode.com/teachmod/ ).

2- i'm on debian, i have libEMuShareMem.so in same directory than world, zone and eqlauncher. I use this script for launch world (not a single ./world). It say to system "Hey !! i have also this lib directory" :p
#!/bin/sh
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
./world &


Save it to "worldstart" ,
sudo chmod a+x worldstart (That say all user can run this script).
and you can run your world with ./worldstart command :)

A friend say about this method "It was very clean !"
Perhaps in ubuntu you need sudo before export, but try first :)