Re: [BLAST_SHIFTS] BlastLib2 on dblasts

From: Tancredi Botto (tancredi@lns.mit.edu)
Date: Tue Feb 10 2004 - 09:22:41 EST


On Mon, 9 Feb 2004, vitaliy ziskin wrote:

> After Ernie installed mysql stuff on dblast09 computer I was able to
> compile BlastLib on dblast09 and ran onlineGui without prbolems. I then
> was able to run library compiled on dblast09 computer on spud5, but not
> other way around. Any way if you want BlastDataAlarm, onlineGui and
> nsed to run dblast computers do the following:
> 1)Set you BLAST_PARAM environment to pro2004/Blast_Param

all of these variables are of course set in ~/.login.linux. Change
BLASTRUN from pro2003 to pro2004 there, absolutely. I forgot

> 2)Compile BlastLib2 on dblast09 (only one with mysql library) in cvs_3.0
> directory

the mysql library is installed on most machines, certainly also dblast07.
Just "locate libmysql". Now libmysql is in /home/blast/blast/lib, which is
fine, but maybe suggests that the problem was in the library paths. Probably
just adding /usr/lib/mysql to LD_LIBRARY_PATH is enough.

Anyways, just doing the thing below tells what you need. And the search
path is either in LD_LIBRARY_PATH (in .login.linux) or in the Makefile.

<dblast09:9> ldd lib/libBlast.so

        libCore.so => /usr/local/root/lib/libCore.so (0x4038a000)
        libCint.so => /usr/local/root/lib/libCint.so (0x40934000)
        libHist.so => /usr/local/root/lib/libHist.so (0x40b64000)
        libGraf.so => /usr/local/root/lib/libGraf.so (0x40ded000)
        libGraf3d.so => /usr/local/root/lib/libGraf3d.so (0x40fcc000)
        libGpad.so => /usr/local/root/lib/libGpad.so (0x410bd000)
        libTree.so => /usr/local/root/lib/libTree.so (0x411ad000)
        libRint.so => /usr/local/root/lib/libRint.so (0x412b5000)
        libPostscript.so => /usr/local/root/lib/libPostscript.so (0x412dc000)
        libMatrix.so => /usr/local/root/lib/libMatrix.so (0x4130c000)
        libPhysics.so => /usr/local/root/lib/libPhysics.so (0x41399000)
        libGui.so => /usr/local/root/lib/libGui.so (0x413eb000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x41745000)
        libdl.so.2 => /lib/libdl.so.2 (0x4175b000)
        libTreePlayer.so => /usr/local/root/lib/libTreePlayer.so (0x4175e000)
        libmysqlclient.so.10 => /home/blast/blast/lib/libmysqlclient.so.10 (0x417c5000)
        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x417fa000)
        libm.so.6 => /lib/libm.so.6 (0x4183d000)
        libc.so.6 => /lib/libc.so.6 (0x4185e000)
        libz.so.1 => /usr/lib/libz.so.1 (0x41986000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x41994000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x419c1000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

> 3)Make sure that libBlast.so in lib directory points to the .so file
> compiled on dblast09. Best way to do it is to install it in lib
> directory as something like .so.3.dblast

Just make install, that will install a copy of libblast.so in
/home/daq/blast/lib. There is no need to add "flavour tags" to it (like
we did with libBlast.2.18a... 2.18g...) since the library is compiled
straight out of the main cvs branch, so that we can instantly rewind back
to a certain date and recompile.

> Cheers, Vitaliy
>



This archive was generated by hypermail 2.1.2 : Mon Feb 24 2014 - 14:07:30 EST