hey all, I'm trying to build an application which has a threading component, and am having a damn hard time making it work..
Here's my inline call: use Inline ( 'C++' => 'DATA', LIBS => '-L. -L/homes/edp/tmp/ipworksssl-6.2/lib -lipworksssl -lhttpwrap -lssl -lcrypto -lcrypt', CC => '/tmp/gcc/bin/g++', CCFLAGS => '-pthread -static -static-libgcc', 'LDDLFLAGS' => '-pthread -shared -static-libgcc' ); I've compiled g++ with --enable-threads, but still no luck, I get at runtime: Can't load _Inline/lib/auto/aab_p_6230/aab_p_6230.so' for module aab_p_6230: lib/libipworksssl.so.6: Undefined symbol "pthread_mutex_lock" at /opt/tools/generic/dev/i686/FreeBSD/lib/perl5/5.8.8/i386-freebsd-64int/DynaLoader.pm line 232. Any ideas? Has anybody built a Inline call that used something that had thread support in it (not that I'm using the threads, I'm just trying to wrap the package as simple as I can.. Ed