Jump to content

make error: libdl incompatible


Guest Endres

Recommended Posts

Hello MaNGOS Community,

I want to install the old 9134 (0.15) release, because I have Patch 3.2.2a and don't want to patch furthermore.

Firstly I compiled it on my first machine (Kubuntu 9.10) without any problems, but on my Debian machine it won't work in the make Process.

The error I got is:

g++  -fPIC -o libtbb.so.2 concurrent_hash_map.o concurrent_queue.o concurrent_vector.o dynamic_link.o itt_notify.o cache_aligned_allocator.o pipeline.o queuing_mutex.o queuing_rw_mutex.o spin_rw_mutex.o spin_mutex.o task.o tbb_misc.o mutex.o recursive_mutex.o tbb_thread.o itt_notify_proxy.o private_server.o rml_tbb.o concurrent_vector_v2.o concurrent_queue_v2.o spin_rw_mutex_v2.o   -ldl -lpthread -lrt  -shared -Wl,-soname=libtbb.so.2 -m64  -Wl,--version-script,tbb.def
/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../libdl.a when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libdl.a when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libdl.a when searching for -ldl
/usr/bin/ld: cannot find -ldl
collect2: ld returned 1 exit status
make[4]: *** [libtbb.so.2] Error 1
make[4]: Leaving directory `/root/mangos/objdir/dep/tbb'
make[3]: *** [tbb] Error 2
make[3]: Leaving directory `/root/mangos/objdir/dep/tbb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/mangos/objdir/dep'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mangos/objdir'
make: *** [all] Error 2

I tried to use the libdl.a and libdl.so from my Kubuntu computer resulting in the same error...

Please, does somebody know, what's wrong with my machine? Any help would be very appreciated!

//Edit: I got it. My problem was, that I had a 32-bit version of Debian running on a 64-bit processor...

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use