>While installing pcsclite-1.1.1.,while creating the file  testpcsc i encountered the 
>following problem
>
>/usr/local/pcsc/lib/libpcsclite.so: undefined reference to `pthread_create'
>/usr/local/pcsc/lib/libpcsclite.so: undefined reference to `pthread_cancel'
>/usr/local/pcsc/lib/libpcsclite.so: undefined reference to `pthread_detach'
>/usr/local/pcsc/lib/libpcsclite.so: undefined reference to `pthread_join'
>collect2: ld returned 1 exit status

Try typing

        ldd /usr/local/pcsc/lib/libpcsclite.so

I get (on Fedora Core 1)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00b7d000)
        libc.so.6 => /lib/tls/libc.so.6 (0x0087e000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00c37000)

So see if you have those libraries in the above (or thereabouts) locations. 
I also have them in /usr/lib/libpthread.so.


These libraries are typically a symbolic link to another library. I have
        libpthread.so.0 -> libpthread-0.10.so

so if you have a missing link, you can put them in.

If your libpthread is in a non-standard location, make sure it's listed in 
/etc/ld.so.conf
and you type "ldconfig" afterwards.


If you don't have the pthread library, I'm not sure what you should do. 
Perhaps recompile the source without the pthread option.

_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to