umegaya / pulpo

multi-thread network server library build with coroutine and luajit FFI at ground level
7 stars 2 forks source link

(travis CI) ERROR: ld.so: object 'libpthread.so.0' from LD_PRELOAD #9

Open umegaya opened 10 years ago

umegaya commented 10 years ago

above error is shown in travis build log, but libpthread.so.0 is actually loaded because pulpo seems to be able to use pthread libs. I don't know the reason why.

it seems not to be harmful, I leave it future improvement.

umegaya commented 10 years ago

it seems that ld.so try to find so file with given path without complimenting prefix (eg. /usr/local/lib, /usr/lib), and show above erro if lib does not exist. after that ld.so keep on searching so with complimenting, then it found. so if I give correct path for libpthread.so.0 to LD_PRELOAD, this issue solved. (I try it with libjemalloc.so.1, it works) but libpthread.so.0 always exist on, say, /usr/local/lib or /usr/lib?