No teraz dziwne - zaorałem Ubuntu jednak się do tego nie nadaje, postawiłem Debiana 6.0.5, jajo 2.6.34 i też problemy. uruchamiam lmsd (oczywiście po świeżej kompilacji) jako demona i po minucie go wyrzuca. Do testów skopiowałem ze starego Debiana i wali błędem: ./lmsd: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
Jak obejść ten problem?
a nowego demona wywala tak:
*** glibc detected *** lmsd: double free or corruption (!prev): 0x080539d8 *** ======= Backtrace: ========= /lib/i686/cmov/libc.so.6(+0x6b381)[0xb74ff381] /lib/i686/cmov/libc.so.6(+0x6cbd8)[0xb7500bd8] /lib/i686/cmov/libc.so.6(cfree+0x6d)[0xb7503cbd] lmsd(db_connect+0x151)[0x804ac21] lmsd[0x804cdd4] /lib/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xb74aaca6] lmsd[0x8049cc1] ======= Memory map: ======== 08048000-0804f000 r-xp 00000000 68:01 799513 /usr/local/lms/bin/lmsd 0804f000-08050000 rw-p 00006000 68:01 799513 /usr/local/lms/bin/lmsd 08050000-08074000 rw-p 00000000 00:00 0 [heap] b7100000-b7121000 rw-p 00000000 00:00 0 b7121000-b7200000 ---p 00000000 00:00 0 b7257000-b7274000 r-xp 00000000 68:01 130857 /lib/libgcc_s.so.1 b7274000-b7275000 rw-p 0001c000 68:01 130857 /lib/libgcc_s.so.1 b7275000-b727f000 r-xp 00000000 68:01 134432 /lib/i686/cmov/libnss_files-2.11.3.so b727f000-b7280000 r--p 00009000 68:01 134432 /lib/i686/cmov/libnss_files-2.11.3.so b7280000-b7281000 rw-p 0000a000 68:01 134432 /lib/i686/cmov/libnss_files-2.11.3.so b7281000-b73f6000 r--p 00000000 68:01 791338 /usr/lib/locale/locale-archive b73f6000-b73f7000 rw-p 00000000 00:00 0 b73f7000-b740a000 r-xp 00000000 68:01 788279 /usr/lib/libz.so.1.2.3.4 b740a000-b740b000 rw-p 00013000 68:01 788279 /usr/lib/libz.so.1.2.3.4 b740b000-b740c000 rw-p 00000000 00:00 0 b740c000-b7430000 r-xp 00000000 68:01 134427 /lib/i686/cmov/libm-2.11.3.so b7430000-b7431000 r--p 00023000 68:01 134427 /lib/i686/cmov/libm-2.11.3.so b7431000-b7432000 rw-p 00024000 68:01 134427 /lib/i686/cmov/libm-2.11.3.so b7432000-b7445000 r-xp 00000000 68:01 134429 /lib/i686/cmov/libnsl-2.11.3.so b7445000-b7446000 r--p 00012000 68:01 134429 /lib/i686/cmov/libnsl-2.11.3.so b7446000-b7447000 rw-p 00013000 68:01 134429 /lib/i686/cmov/libnsl-2.11.3.so b7447000-b7449000 rw-p 00000000 00:00 0 b7449000-b7452000 r-xp 00000000 68:01 134430 /lib/i686/cmov/libcrypt-2.11.3.so b7452000-b7453000 r--p 00008000 68:01 134430 /lib/i686/cmov/libcrypt-2.11.3.so b7453000-b7454000 rw-p 00009000 68:01 134430 /lib/i686/cmov/libcrypt-2.11.3.so b7454000-b747b000 rw-p 00000000 00:00 0 b747b000-b7490000 r-xp 00000000 68:01 134435 /lib/i686/cmov/libpthread-2.11.3.so b7490000-b7491000 r--p 00014000 68:01 134435 /lib/i686/cmov/libpthread-2.11.3.so b7491000-b7492000 rw-p 00015000 68:01 134435 /lib/i686/cmov/libpthread-2.11.3.so b7492000-b7494000 rw-p 00000000 00:00 0 b7494000-b75d4000 r-xp 00000000 68:01 134445 /lib/i686/cmov/libc-2.11.3.so b75d4000-b75d5000 ---p 00140000 68:01 134445 /lib/i686/cmov/libc-2.11.3.so b75d5000-b75d7000 r--p 00140000 68:01 134445 /lib/i686/cmov/libc-2.11.3.so b75d7000-b75d8000 rw-p 00142000 68:01 134445 /lib/i686/cmov/libc-2.11.3.so b75d8000-b75dc000 rw-p 00000000 00:00 0 b75dc000-b75de000 r-xp 00000000 68:01 134426 /lib/i686/cmov/libdl-2.11.3.so b75de000-b75df000 r--p 00001000 68:01 134426 /lib/i686/cmov/libdl-2.11.3.so b75df000-b75e0000 rw-p 00002000 68:01 134426 /lib/i686/cmov/libdl-2.11.3.so b75e0000-b778d000 r-xp 00000000 68:01 796514 /usr/lib/libmysqlclient.so.16.0.0 b778d000-b7791000 r--p 001ac000 68:01 796514 /usr/lib/libmysqlclient.so.16.0.0 b7791000-b77d7000 rw-p 001b0000 68:01 796514 /usr/lib/libmysqlclient.so.16.0.0 b77d7000-b77d8000 rw-p 00000000 00:00 0 b77dd000-b77df000 rw-p 00000000 00:00 0 b77df000-b77fa000 r-xp 00000000 68:01 130846 /lib/ld-2.11.3.so b77fa000-b77fb000 r--p 0001b000 68:01 130846 /lib/ld-2.11.3.so b77fb000-b77fc000 rw-p 0001c000 68:01 130846 /lib/ld-2.11.3.so bfc0e000-bfc2f000 rw-p 00000000 00:00 0 [stack] ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]