[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: dlopen fails for libpthread



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike Perry wrote:
>    if ((handle = dlopen("/lib/libpthread.so.0", RTLD_LAZY)) == NULL)
>            printf("Dlerror: %s\n", dlerror());

#include <gnu/lib-names.h>

and replace the file name with LIBPTHREAD_SO.

- -- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/9xsf2ijCOnn/RHQRAuecAKCxk2qjXcbU+5Tlk1Tc8VpPkkC7qgCgsg1s
JaBLtgm+va0/Q8GjsnD6eKs=
=KGn+
-----END PGP SIGNATURE-----




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]