Register for your free account! | Forgot your password?

You last visited: Today at 00:12

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



DB compile error

Discussion on DB compile error within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
TheSLZ's Avatar
 
elite*gold: 0
Join Date: Jul 2014
Posts: 47
Received Thanks: 76
Question DB compile error

Hi epvp,

When i compile mainline/mainline_released db, I get this error:

Code:
root@slz:/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src # gmake -j20
linking ...
/usr/bin/ld: cannot find -lmysqlclient
gmake: *** [../db_r40146] Error 1
root@slz:/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src #
Yeah, i know, the mysqlclient not found.
I tried to reinstall this way:

Code:
cd /usr/ports/databases/mysql56-server/ && make deinstall WITH_XCHARSET=all clean
cd /usr/ports/databases/mysql56-client/ && make deinstall WITH_XCHARSET=all clean
cd /usr/ports/databases/mysql55-server/ && make deinstall WITH_XCHARSET=all clean
cd /usr/ports/databases/mysql55-client/ && make deinstall WITH_XCHARSET=all clean
rm -R /var/db/mysql
Code:
cd /usr/ports/databases/mysql55-server/ && make install WITH_XCHARSET=all clean
cd /usr/ports/databases/mysql55-client/ && make install WITH_XCHARSET=all clean
echo 'mysql_enable="YES"' >> /etc/rc.conf
service mysql-server start
Then reboot, but when i compile db, I get the same error message.
Can someone give me a solution to fix this?

Thx,
SLZ
TheSLZ is offline  
Old 08/18/2014, 10:22   #2
Trade Restricted
 
elite*gold: 9
Join Date: Jul 2014
Posts: 818
Received Thanks: 677
post your makefile please
grαyfox is offline  
Old 08/18/2014, 10:50   #3
 
TheSLZ's Avatar
 
elite*gold: 0
Join Date: Jul 2014
Posts: 47
Received Thanks: 76
TheSLZ is offline  
Old 08/18/2014, 11:09   #4
Trade Restricted
 
elite*gold: 9
Join Date: Jul 2014
Posts: 818
Received Thanks: 677
just add
PHP Code:
LIBDIR += -L/usr/local/lib/mysql 
grαyfox is offline  
Thanks
1 User
Old 08/18/2014, 11:30   #5
 
TheSLZ's Avatar
 
elite*gold: 0
Join Date: Jul 2014
Posts: 47
Received Thanks: 76
Thx, Work

One question please,

Whitch should i use, mainline_released db, or simple mainline_db?
TheSLZ is offline  
Old 08/18/2014, 11:48   #6
Trade Restricted
 
elite*gold: 9
Join Date: Jul 2014
Posts: 818
Received Thanks: 677
there are very very very low diffrences between those 2 versions... i use the sg line...
grαyfox is offline  
Old 08/18/2014, 12:18   #7
 
TheSLZ's Avatar
 
elite*gold: 0
Join Date: Jul 2014
Posts: 47
Received Thanks: 76
Yeah, but can you write what's the different?
TheSLZ is offline  
Reply

Tags
compile, db, mainline, metin2, sg


Similar Threads Similar Threads
Compile Error
07/25/2014 - Flyff Private Server - 2 Replies
Hello, When I compile i have 4 error and i don't understand why x) can you help me please
Compile Error
10/24/2013 - Flyff Private Server - 1 Replies
http://i.epvpimg.com/X26pf.png Kann mir jemand dabei helfen?
Error Compile
05/07/2013 - Flyff Private Server - 1 Replies
im adding Glow system to my blessed source ,, How to fix this:handsdown: ImageShack® - Online Photo and Video Hosting
Compile Error
08/16/2012 - Flyff Private Server - 0 Replies
hey Leute, kennt wer diesen Error beim compilen der Neuz.exe ? Und wenn ja weiß jemand wie man den behebt ^^ ich versteh den Error net :D http://s14.directupload.net/images/120816/nks46a3 j.png
Compile Error .___.
07/27/2012 - Flyff Private Server - 0 Replies
Hallie liebe Elitepvpers, beim compilen mehrerer Server hat bekomm ich ziemlich viele Errors, die jedes mal die Nachricht ausgeben: fatal error C1033: cannot open program database "c:/users/administrator/desktop/XXXXXXX/outpu t/XXX-server/release/vc70.idb Die Datei "vc70.idb" ist aber vorhanden, jedoch bekomm ich trotzdem diesen Error. Ich habe bereits den Output Ordner gelöscht und dann nochmal rebuilded. Das hat aber leider nicht die Errors behoben :/



All times are GMT +2. The time now is 00:12.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.