![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with pthreads | sery0ga | High Level Programming | 3 | 02-21-2007 10:40 AM |
| PThreads | justgotthis | High Level Programming | 0 | 10-08-2005 03:01 PM |
| pthreads | Esaia | High Level Programming | 2 | 06-04-2003 06:32 PM |
| pthreads | fishman2001 | High Level Programming | 6 | 06-25-2002 05:01 AM |
| PThreads | S.P.Prasad | UNIX for Advanced & Expert Users | 3 | 06-06-2002 11:23 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Thanks for the reply andryk. That's what stumps me.
Here's ldd on my binary: /usr/lib/libc.2 => /usr/lib/libc.2 /opt/langtools/lib/libpthread_tr.1 => /opt/langtools/lib/libpthread_tr.1 /usr/lib/libxti.2 => /usr/lib/libxti.2 The odd man out here is /opt/langtools/lib/libpthread_tr.1 Where is it picking up /opt/langtools/lib from? I didn't specify it in the linker path. I'm not even specifying -lpthreads, instead using the gcc pthread option -D_REENTRANT -pthread I haven't explicity specified -L/opt/langtools anywhere in the linker path. $ ls -l libpthread* -r-xr-xr-x 1 bin bin 159744 Apr 13 2004 libpthread.1 -r-xr-xr-x 1 bin bin 228486 Apr 13 2004 libpthread.a lrwxr-xr-x 1 root root 21 Aug 4 2005 libpthread.sl -> /usr/lib/libpthread.1 -r-xr-xr-x 1 bin bin 184320 Apr 13 2004 libpthread_tr.1 -r-xr-xr-x 1 bin bin 258058 Apr 13 2004 libpthread_tr.a lrwxr-xr-x 1 root root 24 Aug 4 2005 libpthread_tr.sl -> /usr/lib/libpthread_tr.1 Strangely, lrwxr-xr-x 1 bin bin 24 Aug 31 13:22 libpthread.1 -> /usr/lib/libpthread_tr.1 lrwxr-xr-x 1 bin bin 14 Aug 31 13:22 libpthread.sl -> ./libpthread.1 lrwxr-xr-x 1 root sys 24 Jan 22 10:14 libpthread_tr.1 -> /usr/lib/libpthread_tr.1 Is there a way to force a hpux binary to use /usr/lib/libpthread.sl instead of the trace version? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|