Portal Home > Knowledgebase > Articles Database > mysqlhotcopy error


mysqlhotcopy error




Posted by Lem0nHead, 02-04-2008, 12:11 AM
hello I'm trying to use mysqlhotcopy on freebsd 6.1 with mysql 5.0.45, but I'm getting this error when executing it: /libexec/ld-elf.so.1: /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/DBD/mysql/mysql.so: Undefined symbol "mysql_server_init" at first, I was having problems compiling DBD-mysql, because mysql.h and mysqld_error.h wasn't on the include dir, so I had to add -I/usr/local/mysql-5.0.45-freebsd6.0-i386/include to cflags (I also tried -I/usr/local/include/mysql , but same happened) since the error persisted, I changed all references to mysql_server_init (deprecated) to mysql_library_init (same for mysql_server_end -> mysql_library_end) and the error still persists! also: # ldd /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/DBD/mysql/mysql.so libz.so => /usr/lib/libz.so (0x28178000) libcrypt.so.3 => /lib/libcrypt.so.3 (0x28189000) libm.so.4 => /lib/libm.so.4 (0x281a1000) any hints?



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Reselling 'the cloud' (Views: 541)