Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 May 2009 01:17:45 +0000
From:      Bob Falanga <rfalang.bob@gmail.com>
To:        "illoai@gmail.com" <illoai@gmail.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: where do I find libthr
Message-ID:  <58d1e8d30905011817i2591c0a8xdac47a2123b7e2b2@mail.gmail.com>
In-Reply-To: <d7195cff0905011136o72eb36ddu65118281d905cf69@mail.gmail.com>
References:  <58d1e8d30904302103k34fcc372v31ca0e5b1d698934@mail.gmail.com> <d7195cff0904302330y14b387c8nc1d4531d022a90b7@mail.gmail.com> <58d1e8d30905010835v5b474297q38e180fc43d444fc@mail.gmail.com> <d7195cff0905011136o72eb36ddu65118281d905cf69@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 1, 2009 at 6:36 PM, illoai@gmail.com <illoai@gmail.com> wrote:

> 2009/5/1 Bob Falanga <rfalang.bob@gmail.com>:
> > On Fri, May 1, 2009 at 6:30 AM, illoai@gmail.com <illoai@gmail.com>
> wrote:
> >>
> (please include the list in your email)


This is Andy replying for my father.  Sorry about that.


>
> To rebuild your locate database, just run
> /etc/periodic/weekly/310.locate
>
> It makes finding files much easier.


After rebuilding the locate database I get the following:

[root@pcbsd /usr/ports/www/apache22]# locate libthr
/compat/linux/lib/libthread_db-1.0.so
/compat/linux/lib/libthread_db.so.1
/compat/linux/lib/obsolete/linuxthreads/libthread_db-1.0.so
/compat/linux/lib/obsolete/linuxthreads/libthread_db.so.1
/usr/Programs/Wine0.9.61/autolibs/libthr.so.2
/usr/Programs/e-Sword0.9.56/autolibs/libthr.so.2
/usr/lib/libthr.a
/usr/lib/libthr.so
/usr/lib/libthr.so.2
/usr/lib/libthr_p.a
/usr/lib/libthread_db.a
/usr/lib/libthread_db.so
/usr/lib/libthread_db.so.2
/usr/lib/libthread_db_p.a
/usr/local/lib/compat/libthr.so.1
/usr/local/lib/compat/libthread_db.so.1
/usr/ports/devel/pwlib/files/patch-src_ptlib_unix_tlibthrd.cxx
/usr/share/man/cat3/libthr.3.gz
/usr/share/man/man3/libthr.3.gz

However, after running

ldconfig -r | grep libthr

I get:

[root@pcbsd /usr/ports/www/apache22]# ldconfig -r | grep libthr
        623:-lthr.1 => /usr/local/lib/compat/libthr.so.1
        624:-lthread_db.1 => /usr/local/lib/compat/libthread_db.so.1

With so many hits on libthr from locate, why is ldconfig only finding these
two instances in /usr/local/lib/compat?  Aren't these for linux
compatibility?




> If that fails, I'm afraid you'll have to
> upgrade to 7.x
>

I hope it doesn't come to that.

Andy (for Bob)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58d1e8d30905011817i2591c0a8xdac47a2123b7e2b2>