Operating System - HP-UX
1850850 Members
2580 Online
104056 Solutions
New Discussion

10.2 Perl build using -lpthread ?

 
RON FLOLID
Occasional Contributor

10.2 Perl build using -lpthread ?

I'm trying to build a 5.6.1 library with lcl and lpthread libraries as this is needed for Oracle:DBD 1.12. When I build the make in the Configure script I received a message that /usr/ccs/bin/ld: Can't find library for -lpthread. I'm manually running the Configure and have specified the -lcl and -lpthread in the "What libraries to use?" section. Any suggestions

1 REPLY 1
Steven Gillard_2
Honored Contributor

Re: 10.2 Perl build using -lpthread ?

Ron,

libpthread does not exist on 10.20, it was introduced in 10.30 for kernel threads support. It sounds like you're reading instructions for HPUX 11.x.

To get thread support in 10.20 you must link with libdce and libcma (-ldce -lcma). These aren't kernel threads, however, they are user level threads.

Regards,
Steve