PDA

View Full Version : got some problem , could help me please?


jasonchen
01-04-2005, 07:40 AM
AMD Duron 600
384 SD-Ram
RH 9.0
kernal : 2.4.20-8

installed MySQL,GCC,Perl RPM's from CD

download IO-stringy-2.109.tar.gz,Latest-EQEmulator-Source.zip,MiniLogin6.0.zip,OpenZone_5.1.zip,Packe tCollector-0.9.0.zip,peq_kunark_release.zip

i have read "Howto setup a Linux Eqemu server" http://www.eqemulator.net/forums/viewtopic.php?t=18975&highlight=linux

i got some problem about mysqlclient.
/usr/bin/ld: cannot find -lmysqlclient

then i was read "Linux Errors - READ ME BEFORE YOU ASK A QUESTION!" http://www.eqemulator.net/forums/viewtopic.php?t=8348&highlight=mysqlclient

so i was do it...vi makefile and finish compile EMUShareMem
when i want to do compile world
this message again "/usr/bin/ld: cannot find -lmysqlclient"

i have no idea...could anyone give some answer please?

RangerDown
01-04-2005, 09:56 AM
use the find utility to find where the file libmysqlclient.so is.

Edit the makefile, and in front of the -lmysqlclient, insert this switch:
-L/path/to/the/lib

No space between -L and your path.
Do not include the actual file name libmysqlclient.so -- only the path that contains it.

jasonchen
01-04-2005, 11:33 AM
thank you,rangerdown :)
tryi it now...
wish it can be up :D

jasonchen
01-05-2005, 08:05 AM
sorry......i got a problem again :(

when i do ./world
i will get this message " [Database] block not found in DB.INI.
Read README.TXT! "

my db.ini:
[Database]
host=localhost
user=eqemu
password=jasoneq
database=eqemu

i dont know why....
could anyone tell me please? thank you :(

RangerDown
01-05-2005, 08:18 AM
Ah, one of the oldest traps in Emu history :P

[Database] <--- REMOVE ANY TRAILING SPACE!
host=localhost <--- REMOVE ANY TRAILING SPACE!
user=eqemu <--- REMOVE ANY TRAILING SPACE!
password=jasoneq <--- REMOVE ANY TRAILING SPACE!
database=eqemu <--- REMOVE ANY TRAILING SPACE!

jasonchen
01-05-2005, 08:51 AM
sorry rangerdown :(

i got it, thank you :)

i was change [Database] to [database]
then it can be use...

:)

jasonchen
01-05-2005, 09:51 PM
compile World and got this message....
" client.cpp:1180: warning: aggregate has a partly bracketed initializer "

hello rangerdown :)
Does it right the way?

wize_one
01-05-2005, 10:24 PM
havent compiled emu in a while.. but warnings were common back then.. just worry if it errors out and doesnt compile..8)

jasonchen
01-06-2005, 01:36 AM
seems last problem :(

" Setting World to MiniLogin Server type
Error: LoginServer::Connect: 'TCPConnection::Connect(): connect() failed. Error: Connection refused' "

looks like my loginserver never up

my LoginServer.ini
[LoginServer]
loginserver=127.0.0.1
loginport=5994
worldname=SkyLine Server
worldaddress=192.168.8.99
locked=false
account=
password=

even i do ./world...
it's always like that....
can't connect to LoginServer...
i don't know why :(

i have do it follow muuss's topic Howto setup a Linux Eqemu server
but my pc can't connect loginserver....

could give me some answer please? and thank you :cry:

Cisyouc
01-06-2005, 02:42 AM
unless you are running minilogin.exe as well, loginserver=127.0.0.1 should not be 127.0.0.1. It should be one of the loginservers, like eqemulator.net

jasonchen
01-06-2005, 08:53 PM
thank you ^^