From: Rinaldi J. Montessi on
Below is an exchange from the mozilla.dev.builds newsgroup. A brief
statement of the problem is SeaMonkey quits building with a:

No rule to make target `-lpthread', needed by `libmozjs.so'. Stop.

news://news.mozilla.org:119/4C0E516A.5050502(a)Senior.Envision

Mike Shaver wrote:

> > ldconfig isn't quite what you want, because that just describes the
> > libraries found by the runtime dynamic linker, not the linker that
> > produces binaries. Do you have a "libpthread.so" on your system? Is
> > that directory in the search path for the linker (or gcc) by default?
Well:

$ locate libpthread.so | xargs ls -l
lrwxrwxrwx 1 root root 20 2010-06-01 16:58 /lib64/libpthread.so.0 ->
libpthread-2.11.1.so
-rw-r--r-- 1 root root 222 2010-05-13 01:15 /usr/lib64/libpthread.so

$ gcc -v
Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/4.4.4/specs
Target: x86_64-slackware-linux
Configured with: ../gcc-4.4.4/configure --prefix=/usr
--libdir=/usr/lib64 --enable-shared --enable-bootstrap
--enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix
--enable-checking=release --with-system-zlib
--with-python-dir=/lib64/python2.6/site-packages
--disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp
--with-gnu-ld --verbose --disable-multilib
--target=x86_64-slackware-linux --build=x86_64-slackware-linux
--host=x86_64-slackware-linux
Thread model: posix
gcc version 4.4.4 (GCC)

> > This seems like a slackware-specific problem, but it may be that we're
> > not detecting its compiler configuration correctly. You might ask on
> > a slackware list for guidance as well.
Will do, thank you.

Anyone shed some light on this?

--
-Rinaldi-
If two wrongs don't make a right, try three.
-- Laurence J. Peter
From: Chris Sorenson on
Rinaldi J. Montessi wrote:
> Below is an exchange from the mozilla.dev.builds newsgroup. A brief
> statement of the problem is SeaMonkey quits building with a:
>
> No rule to make target `-lpthread', needed by `libmozjs.so'. Stop.
>
> news://news.mozilla.org:119/4C0E516A.5050502(a)Senior.Envision
>
> Mike Shaver wrote:
>
>
>>>ldconfig isn't quite what you want, because that just describes the
>>>libraries found by the runtime dynamic linker, not the linker that
>>>produces binaries. Do you have a "libpthread.so" on your system? Is
>>>that directory in the search path for the linker (or gcc) by default?
>
> Well:
>
> $ locate libpthread.so | xargs ls -l
> lrwxrwxrwx 1 root root 20 2010-06-01 16:58 /lib64/libpthread.so.0 ->
> libpthread-2.11.1.so
> -rw-r--r-- 1 root root 222 2010-05-13 01:15 /usr/lib64/libpthread.so
>

is this (libpthread.so) a symlink pointing to libpthread-2.11.1.so ?

If so, it should work...

> $ gcc -v
> Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/4.4.4/specs
> Target: x86_64-slackware-linux
> Configured with: ../gcc-4.4.4/configure --prefix=/usr
> --libdir=/usr/lib64 --enable-shared --enable-bootstrap

This looks right; while compiling does it say -L/usr/lib64 ?
From: Rinaldi J. Montessi on
Chris Sorenson wrote:

>> $ locate libpthread.so | xargs ls -l
>> lrwxrwxrwx 1 root root 20 2010-06-01 16:58 /lib64/libpthread.so.0 ->
>> libpthread-2.11.1.so
>> -rw-r--r-- 1 root root 222 2010-05-13 01:15 /usr/lib64/libpthread.so
>
> is this (libpthread.so) a symlink pointing to libpthread-2.11.1.so ?
>
> If so, it should work...

Was not; is now. Running a compile....

Same failure.

>> $ gcc -v
>> Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/4.4.4/specs
>> Target: x86_64-slackware-linux
>> Configured with: ../gcc-4.4.4/configure --prefix=/usr
>> --libdir=/usr/lib64 --enable-shared --enable-bootstrap
>
> This looks right; while compiling does it say -L/usr/lib64 ?

No. Do you know how to add this permanently? Is this possibly a result
of having upgraded 13.0 to 13.1 without doing a fresh install?

Sample stanza:

libtool: compile: gcc -DHAVE_CONFIG_H -I.
-I/home/Rinaldi/tmp/Mozilla/comm-central/mozilla/js/src/ctypes/libffi
-I.
-I/home/Rinaldi/tmp/Mozilla/comm-central/mozilla/js/src/ctypes/libffi/include
-Iinclude
-I/home/Rinaldi/tmp/Mozilla/comm-central/mozilla/js/src/ctypes/libffi/src -Wall
-g -fexceptions -g -O2 -MT src/debug.lo -MD -MP -MF src/.deps/debug.Tpo
-c
/home/Rinaldi/tmp/Mozilla/comm-central/mozilla/js/src/ctypes/libffi/src/debug.c
-fPIC -DPIC -o src/debug.o

--
-Rinaldi-
Those who in quarrels interpose, must often wipe a bloody nose.
 | 
Pages: 1
Prev: digikam 1.3.0
Next: Linux RPN calculator