List:General Discussion« Previous MessageNext Message »
From:Pooly Date:September 20 2005 9:07am
Subject:Re: Failure to install on Solaris.
View as plain text  
Hi,


> /usr/local/bin/ld: cannot find -lpthread
> collect2: ld returned 1 exit status
> gmake[4]: *** [mysql_tzinfo_to_sql] Error 1
> gmake[4]: Leaving directory `/scratch/hgs/mysql-4.1.13/sql'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory `/scratch/hgs/mysql-4.1.13/sql'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/scratch/hgs/mysql-4.1.13/sql'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/scratch/hgs/mysql-4.1.13'
> gmake: *** [all] Error 2
> neelix hgs 57 %> ls /usr/lib/*pthread*
> /usr/lib/libpthread.so     /usr/lib/llib-lpthread
> /usr/lib/libpthread.so.1   /usr/lib/llib-lpthread.ln
> neelix hgs 58 %>
> 
> 
> Any suggestions as to how I get around this and get the whole thing
> installed in /usr/local/mysql-4.1.13 ?

Have you installed the development package for the pthread library ?
I guess you're missing libpthread.a which is needed even for a dynamic
linking, the linker can't do it's job here.

-- 
Pooly
Webzine Rock : http://www.w-fenec.org/
Thread
Failure to install on Solaris.Hugh Sasse20 Sep
  • Re: Failure to install on Solaris.David Logan20 Sep
    • Re: Failure to install on Solaris.Hugh Sasse20 Sep
  • Re: Failure to install on Solaris.Pooly20 Sep
    • Re: Failure to install on Solaris.Hugh Sasse20 Sep
      • Re: Failure to install on Solaris.Hugh Sasse20 Sep
  • Re: Failure to install on Solaris.Dan Nelson20 Sep
    • Re: Failure to install on Solaris.Hugh Sasse21 Sep