« "Think Assimilation" | Main | Things to look for in a gigabit switch »

June 15, 2005


Tim Provencio

Well, your goal has been met. I've fought this multiple times and finally decided to give it one last go at a deep Google search. It's a shame this wasn't indexed higher as it's right on the money! Thanks much for sharing your experience.


You my friend deserve a medal, finally managed to find this post after days of trying to get GD to compile. I skipped over this bit earlier on as ./configure said it detected '-pthread' as the switch. Ah well! It compiled this time.

Thanks for that.

Steve Welham

Very good - I'd I'll take the "wrapper tip" onboard. Must add a link to my site to give you some google juice!

Very Grateful Reader

Dude, you the man!

setenv CFLAGS -pthreads then redid ./configure so that it read the variable and my compilation problem went away.

Jesse Reynolds

Yep, this is brilliant advice and has worked for me.

Now I'm having a similar problem when I'm trying to install and run the Perl GD library. It builds OK but all the tests fail with things like:

t/GD..........Can't load './blib/arch/auto/GD/GD.so' for module GD: /usr/local/gd-2.0.33/lib/libgd.so.2: Undefined symbol "pthread_mutex_unlock" at /usr/local/perl-5.8.4/lib/5.8.4/i386-freebsd/DynaLoader.pm line 230.
at t/GD.t line 14


The comments to this entry are closed.


  • Steve Friedl is a software and network security consultant in Southern California. He has been a C and UNIX developer since 1981 and has an exceptionally broad background in this area. Some areas of expertise include:

    • C and C++ systems software development on the UNIX and Win32 platforms
    • Communications, including serial and TCP/IP based controllers
    • Enterprise internet security administration and configuration
    • Penetration tests, audits, and network reviews
    • Security forensics, reverse engineering, and tools development
    • General UNIX and Windows system/network administration
    • The Windows Printing System
    • Database software development
    • Technology problem solving and research
    • Technical writing and standup training

Unix Wiz

Stephen J. FriedlSoftware ConsultantOrange County, CA USASteve@unixwiz.net