Linuxthreads?

Grzegorz Czaplinski G.Czaplinski at prioris.mini.pw.edu.pl
Tue Jul 15 23:11:44 PDT 2003


On Wed, Jul 16, 2003 at 12:41:54AM -0500, Jonathan Villa wrote:
> Ok, I am trying to install MySQL on FreeBSD 5.0 and received some errors
> about missing files...
> 
> /usr/libexec/ld-elf.so.1: Shared object "libc_r.so.4" not found
> /usr/libexec/ld-elf.so.1: Shared object "libstdc++.so.3" not found
> 
> ===================================
> so I posted to the MySQL mailing list and received this response...
> 
> install linuxthreads from ports and use this option:
> --with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R 
> -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads 
> -L/usr/local/lib -llthread -llgcc_r'
> 
> You can take a look in the ports Makefile for more details.
> ===================================
> 
> So, I am posting that here because I think it's more a FreeBSD related
> question... Any ideas anyone?
> 

Hi!
Go to /usr/ports/devel/linuxthreads;
as root type:
# make --with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R \
-D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads \
-L/usr/local/lib -llthread -llgcc_r'

Then install it and install MySQL.

It should have gone to questions mailing list.

	gregory
--
Grzegorz Czaplinski <gregory at prioris.mini.pw.edu.pl>
"The Power to Serve, Right for the Power Users!" - http://www.FreeBSD.org/
 Fingerprint: EB77 E19D CFA2 5736 810F  847C A70F A275 2489 469F
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-newbies/attachments/20030716/8d72f640/attachment.bin


More information about the freebsd-newbies mailing list