Re: [gtk-list] ./configure fails on Slackware Linux
- From: Jeff Garzik <jgarzik pobox com>
- To: "David C. Hoos, Sr." <david c hoos sr ada95 com>
- cc: gtk-devel-list redhat com
- Subject: Re: [gtk-list] ./configure fails on Slackware Linux
- Date: Fri, 5 Feb 1999 10:12:12 -0500 (EST)
On Fri, 5 Feb 1999, David C. Hoos, Sr. wrote:
> I tried yesterday to build glib-1.1.14, and today to build glib-1.1.15, in slackware 3.6 (2.0.35), but with slighly different
> results.
>
> With 1.1.14, the problem was that it coudn't find libthread, whereas in 1.1.15, it couldn't find
> libpthread.
>
> in /lib I have the following:
>
> piu01/hoosd [hoosd] 512 > ls -l /lib/libpth*
> -rwxr-xr-x 1 root root 49492 Oct 24 23:09 /lib/libpthread-0.7.so
> lrwxrwxrwx 1 root root 17 Jan 22 06:12 /lib/libpthread.so.0 -> libpthread-0.7.so
>
> The problem seems to be that I don't have libpthread.a
>
> Should I need the archive, or should the shared library be sufficient?
You are missing libpthread.so, it appears.
I am not sure if gcc has some magic to determine shared library names,
so try "cd /lib ; ln -s libpthread.so.0 libpthread.so" and then re-run
configure.
You can also do './configure --disable-threads' as a workaround.
IMHO Glib has a bug here -- we should fall back to disable-threads in
the absence of a threading library, not die with an error.
Thanks much for the informative bug report.
Jeff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]