Re: OSR 5.0.5 and mysql



On Thu, 13 Nov 2008, migurus wrote:
I can not start mysql server:
# pwd
/usr/local/mysql
# bin/mysqld_safe --user=mysql &
error is:
# cat data/mysrv.mydom.com.err
080909 11:40:26 mysqld started
dynamic linker : /opt/K/mysql-4.0.16/bin/mysqld : error opening
libgthreads.so
080909 11:40:26 mysqld ended

I see that lib:
# find /usr -name "libgthreads*"
/usr/lib/libgthreads.so#
/usr/local/lib/libgthreads.a
/usr/local/lib/libgthreads.so

I add to my scripts the following.

PATH=:/bin:/etc:/usr/bin:/usr/local/bin:/tcb/bin:/usr/ccs/bin:/usr/local/ubin:
LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/ccs/lib:/usr/local/mysql/lib/mysql:/usr/local/bdb/lib:
export PATH LD_LIBRARY_PATH

I use Berkley DB. I installed it in /usr/local/bdb. I would modify your script to add this. Sometime adding LD_RUN_PATH, I only use the above.

--
Boyd Gerber <gerberb@xxxxxxxxx>
ZENEZ 1042 East Fort Union #135, Midvale Utah 84047
.



Relevant Pages

  • Re: OSR 5.0.5 and mysql
    ... On Thu, 13 Nov 2008, migurus wrote: ... # cat data/mysrv.mydom.com.err ... or you can get it from the Skunkware section or from ftp2.sco.com Skunkware. ...
    (comp.unix.sco.misc)
  • Re: OSR 5.0.5 and mysql
    ... On Thu, 13 Nov 2008, migurus wrote: ... # cat data/mysrv.mydom.com.err ... or you can get it from the Skunkware section or from ftp2.sco.com ...
    (comp.unix.sco.misc)
  • Re: du vs ls vs df....odd results
    ... On Monday 30 July 2007 Luca Ferrari's cat, walking on the keyboard, wrote: ... # pwd ...
    (Ubuntu)
  • Do permissions take time to take effect?
    ... $ grep users /etc/group ... $ cat> test.txt ... PPS: Tried adding blank line: no effect. ...
    (freebsd-questions)
  • Re: OSR 5.0.5 and mysql
    ... # cat data/mysrv.mydom.com.err ... script to add this. ... Looks like it found threads lib now, ...
    (comp.unix.sco.misc)