How to install current version 2.0 of Jellyfish not 1.1.11 in Ubuntu software centre

Asked by Pat Heslop-Harrison

Installation instructions for Jellyfish 2.0 redirected from http://www.cbcb.umd.edu/software/jellyfish/ to http://www.genome.umd.edu/jellyfish.html give a string of errors:

 make
make all-am
make[1]: Entering directory `/media/z11_1GB/localapp/jellyfish-2.1.3'
  CXX lib/rectangular_binary_matrix.lo
./libtool: line 1125: g++: command not found
make[1]: *** [lib/rectangular_binary_matrix.lo] Error 1
make[1]: Leaving directory `/media/z11_1GB/localapp/jellyfish-2.1.3'
make: *** [all] Error 2

Any suggestions to install newer version?
Thanks

Pat
<email address hidden>

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu jellyfish Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of :

lsb_release -a; uname -a

Thanks

Revision history for this message
Pat Heslop-Harrison (phh4) said :
#2

Thanks for help. Installing LSB made some progress to install Jellyfish 2 DNA k-mer program - but not there yet (see lower down) betwee the ***********; full paste of terminal session follows.

First time round LSB seemed not installed ("No LSB modules are available."); so I installed LSB 4.1 via Ubuntu Software Centre.

Output of "lsb_release -a; uname -a"

"
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:desktop-4.1-amd64:desktop-4.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:graphics-4.1-amd64:graphics-4.1-noarch:languages-3.2-amd64:languages-3.2-noarch:languages-4.0-amd64:languages-4.0-noarch:languages-4.1-amd64:languages-4.1-noarch:multimedia-3.2-amd64:multimedia-3.2-noarch:multimedia-4.0-amd64:multimedia-4.0-noarch:multimedia-4.1-amd64:multimedia-4.1-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:printing-4.1-amd64:printing-4.1-noarch:qt4-3.1-amd64:qt4-3.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
Linux Z11 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
"
********************************************************************************************
THEN, from the jellyfish-2.1.3 directory where I had unzipped the Jellyfish download from http://www.genome.umd.edu/jellyfish.html I did
"./configure
make
sudo make install"
following the instructions.

Then running Jellyfish gives:
"z11@Z11:/media/z11_1GB/jellyfish/jellyfish-2.1.3$ jellyfish cite
jellyfish: error while loading shared libraries: libjellyfish-2.0.so.2: cannot open shared object file: No such file or directory

z11@Z11:/media/z11_1GB/jellyfish/jellyfish-2.1.3$ dir
aclocal.m4 config.sub include libtool missing
bin configure install-sh LICENSE README
config.guess configure.ac jellyfish ltmain.sh stamp-h1
config.h depcomp jellyfish-2.0.pc m4 sub_commands
config.h.in doc jellyfish-2.0.pc.in Makefile tests
config.log gtest.mk lib Makefile.am unit_tests
config.status HalfLICENSE libjellyfish-2.0.la Makefile.in

z11@Z11:/media/z11_1GB/jellyfish/jellyfish-2.1.3$

"
so it does not seem to find the /usr/local/lib/libjellyfish-2.0.so.2 library.

I thought it had finished with the libraries but obviously still needs a link. Any suggestion how? Thanks a lot - I want to analyse more than 31-mers in DNA sequence and use some of the newer options in jellyfish 2 that are not in jellyfish 1.

Pat.
******************************************************************************************************

Full terminal session pasted below
z11@Z11:~$ lsb_release -a; uname -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
Linux Z11 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

z11@Z11:~$ lsb
No command 'lsb' found, did you mean:
 Command 'lb' from package 'live-build' (main)
 Command 'ls' from package 'coreutils' (main)
 Command 'lsh' from package 'lsh-client' (universe)
 Command 'lsw' from package 'suckless-tools' (universe)
 Command 'lst' from package 'lustre-utils' (universe)
 Command 'jsb' from package 'jsonbot' (universe)
 Command 'sb' from package 'lrzsz' (universe)
lsb: command not found

LSB INSTALLED FROM UBUNTU SOFTWARE CENTRE AT THIS POINT THEN

z11@Z11:~$ lsb_release -a; uname -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:desktop-4.1-amd64:desktop-4.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:graphics-4.1-amd64:graphics-4.1-noarch:languages-3.2-amd64:languages-3.2-noarch:languages-4.0-amd64:languages-4.0-noarch:languages-4.1-amd64:languages-4.1-noarch:multimedia-3.2-amd64:multimedia-3.2-noarch:multimedia-4.0-amd64:multimedia-4.0-noarch:multimedia-4.1-amd64:multimedia-4.1-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:printing-4.1-amd64:printing-4.1-noarch:qt4-3.1-amd64:qt4-3.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
Linux Z11 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
z11@Z11:~$ jellyfish --version
The program 'jellyfish' is currently not installed. You can install it by typing:
sudo apt-get install jellyfish
z11@Z11:~$ ./configure --prefix='/media/z11_1GB/jellyfish'
bash: ./configure: No such file or directory
z11@Z11:~$ cd '/media/z11_1GB/localapp/jellyfish-2.1.3/jellyfish'
z11@Z11:/media/z11_1GB/localapp/jellyfish-2.1.3/jellyfish$
z11@Z11:/media/z11_1GB/localapp/jellyfish-2.1.3/jellyfish$
z11@Z11:/media/z11_1GB/localapp/jellyfish-2.1.3/jellyfish$ /
bash: /: Is a directory
z11@Z11:/media/z11_1GB/localapp/jellyfish-2.1.3/jellyfish$
z11@Z11:/media/z11_1GB/localapp/jellyfish-2.1.3/jellyfish$ /
bash: /: Is a directory
z11@Z11:/media/z11_1GB/localapp/jellyfish-2.1.3/jellyfish$ ./configure
bash: ./configure: No such file or directory
z11@Z11:/media/z11_1GB/localapp/jellyfish-2.1.3/jellyfish$ dir
backtrace.cc fstream_default.hpp merge_files.cc randomc.h
dbg.cc generate_sequence.cc merge_files.hpp
dbg.hpp generate_sequence_cmdline.hpp mersenne.cpp
z11@Z11:/media/z11_1GB/localapp/jellyfish-2.1.3/jellyfish$ cd '/media/z11_1GB/jellyfish/jellyfish-2.1.3'
z11@Z11:/media/z11_1GB/jellyfish/jellyfish-2.1.3$ dir
aclocal.m4 configure.ac include LICENSE missing
config.guess depcomp install-sh ltmain.sh README
config.h.in doc jellyfish m4 sub_commands
config.sub gtest.mk jellyfish-2.0.pc.in Makefile.am tests
configure HalfLICENSE lib Makefile.in unit_tests
z11@Z11:/media/z11_1GB/jellyfish/jellyfish-2.1.3$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for md5sum... md5sum
checking for yaggo... false
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for __int128... yes
checking for std::numeric_limits<__int128>... no
checking for _NSGetExecutablePath... no
checking for execinfo.h... yes
checking for ext/stdio_filebuf.h... yes
checking for siginfo_t.si_int... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tests/compat.sh
config.status: creating jellyfish-2.0.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
z11@Z11:/media/z11_1GB/jellyfish/jellyfish-2.1.3$ make
make all-am
make[1]: Entering directory `/media/z11_1GB/jellyfish/jellyfish-2.1.3'
  CXX lib/rectangular_binary_matrix.lo
  CXX lib/mer_dna.lo
  CXX lib/storage.lo
  CXX lib/allocators_mmap.lo
  CXX lib/misc.lo
  CXX lib/int128.lo
  CXX lib/thread_exec.lo
  CXX lib/err.lo
  CXX lib/jsoncpp.lo
  CXX lib/time.lo
  CXX lib/generator_manager.lo
  CXXLD libjellyfish-2.0.la
  CXX sub_commands/jellyfish.o
  CXX sub_commands/count_main.o
  CXX sub_commands/info_main.o
  CXX sub_commands/dump_main.o
  CXX sub_commands/histo_main.o
  CXX sub_commands/stats_main.o
  CXX sub_commands/merge_main.o
  CXX sub_commands/bc_main.o
  CXX sub_commands/query_main.o
  CXX sub_commands/cite_main.o
  CXX jellyfish/merge_files.o
  CXXLD bin/jellyfish
make[1]: Leaving directory `/media/z11_1GB/jellyfish/jellyfish-2.1.3'
z11@Z11:/media/z11_1GB/jellyfish/jellyfish-2.1.3$ sudo make install
[sudo] password for z11:
make install-am
make[1]: Entering directory `/media/z11_1GB/jellyfish/jellyfish-2.1.3'
make[2]: Entering directory `/media/z11_1GB/jellyfish/jellyfish-2.1.3'
 /bin/mkdir -p '/usr/local/lib'
 /bin/bash ./libtool --mode=install /usr/bin/install -c libjellyfish-2.0.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libjellyfish-2.0.so.2.0.0 /usr/local/lib/libjellyfish-2.0.so.2.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libjellyfish-2.0.so.2.0.0 libjellyfish-2.0.so.2 || { rm -f libjellyfish-2.0.so.2 && ln -s libjellyfish-2.0.so.2.0.0 libjellyfish-2.0.so.2; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libjellyfish-2.0.so.2.0.0 libjellyfish-2.0.so || { rm -f libjellyfish-2.0.so && ln -s libjellyfish-2.0.so.2.0.0 libjellyfish-2.0.so; }; })
libtool: install: /usr/bin/install -c .libs/libjellyfish-2.0.lai /usr/local/lib/libjellyfish-2.0.la
libtool: install: /usr/bin/install -c .libs/libjellyfish-2.0.a /usr/local/lib/libjellyfish-2.0.a
libtool: install: chmod 644 /usr/local/lib/libjellyfish-2.0.a
libtool: install: ranlib /usr/local/lib/libjellyfish-2.0.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/mkdir -p '/usr/local/bin'
  /bin/bash ./libtool --mode=install /usr/bin/install -c bin/jellyfish '/usr/local/bin'
libtool: install: /usr/bin/install -c bin/.libs/jellyfish /usr/local/bin/jellyfish
 /bin/mkdir -p '/usr/local/include/jellyfish-2.1.3/jellyfish'
 /usr/bin/install -c -m 644 include/jellyfish/allocators_mmap.hpp include/jellyfish/backtrace.hpp include/jellyfish/atomic_gcc.hpp include/jellyfish/large_hash_array.hpp include/jellyfish/err.hpp include/jellyfish/misc.hpp include/jellyfish/offsets_key_value.hpp include/jellyfish/int128.hpp include/jellyfish/rectangular_binary_matrix.hpp include/jellyfish/mer_dna.hpp include/jellyfish/storage.hpp include/jellyfish/simple_circular_buffer.hpp include/jellyfish/circular_buffer.hpp include/jellyfish/atomic_field.hpp include/jellyfish/compare_and_swap.hpp include/jellyfish/divisor.hpp include/jellyfish/large_hash_iterator.hpp include/jellyfish/jellyfish.hpp include/jellyfish/thread_exec.hpp include/jellyfish/stream_iterator.hpp include/jellyfish/mer_overlap_sequence_parser.hpp include/jellyfish/whole_sequence_parser.hpp include/jellyfish/binary_dumper.hpp include/jellyfish/sorted_dumper.hpp include/jellyfish/text_dumper.hpp include/jellyfish/dumper.hpp include/jellyfish/time.hpp include/jellyfish/mer_heap.hpp include/jellyfish/token_ring.hpp include/jellyfish/locks_pthread.hpp include/jellyfish/file_header.hpp include/jellyfish/generic_file_header.hpp include/jellyfish/json.h include/jellyfish/hash_counter.hpp include/jellyfish/mapped_file.hpp include/jellyfish/mer_dna_bloom_counter.hpp include/jellyfish/bloom_common.hpp include/jellyfish/bloom_counter2.hpp include/jellyfish/bloom_filter.hpp include/jellyfish/cooperative_pool.hpp '/usr/local/include/jellyfish-2.1.3/jellyfish'
 /usr/bin/install -c -m 644 include/jellyfish/cooperative_pool2.hpp include/jellyfish/stream_manager.hpp include/jellyfish/generator_manager.hpp include/jellyfish/cpp_array.hpp include/jellyfish/mer_iterator.hpp include/jellyfish/atomic_bits_array.hpp include/jellyfish/stdio_filebuf.hpp include/jellyfish/mer_qual_iterator.hpp '/usr/local/include/jellyfish-2.1.3/jellyfish'
 /bin/mkdir -p '/usr/local/share/man/man1'
 /usr/bin/install -c -m 644 'doc/jellyfish.man' '/usr/local/share/man/man1/jellyfish.1'
 /bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 jellyfish-2.0.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory `/media/z11_1GB/jellyfish/jellyfish-2.1.3'
make[1]: Leaving directory `/media/z11_1GB/jellyfish/jellyfish-2.1.3'
z11@Z11:/media/z11_1GB/jellyfish/jellyfish-2.1.3$ jellyfish
jellyfish: error while loading shared libraries: libjellyfish-2.0.so.2: cannot open shared object file: No such file or directory
z11@Z11:/media/z11_1GB/jellyfish/jellyfish-2.1.3$ dir
aclocal.m4 config.sub include libtool missing
bin configure install-sh LICENSE README
config.guess configure.ac jellyfish ltmain.sh stamp-h1
config.h depcomp jellyfish-2.0.pc m4 sub_commands
config.h.in doc jellyfish-2.0.pc.in Makefile tests
config.log gtest.mk lib Makefile.am unit_tests
config.status HalfLICENSE libjellyfish-2.0.la Makefile.in
z11@Z11:/media/z11_1GB/jellyfish/jellyfish-2.1.3$ jellyfish -h
jellyfish: error while loading shared libraries: libjellyfish-2.0.so.2: cannot open shared object file: No such file or directory
z11@Z11:/media/z11_1GB/jellyfish/jellyfish-2.1.3$ jellyfish cite
jellyfish: error while loading shared libraries: libjellyfish-2.0.so.2: cannot open shared object file: No such file or directory
z11@Z11:/media/z11_1GB/jellyfish/jellyfish-2.1.3$

z11@Z11:/media/z11_1GB/jellyfish/jellyfish-2.1.3$ dir
aclocal.m4 config.sub include libtool missing
bin configure install-sh LICENSE README
config.guess configure.ac jellyfish ltmain.sh stamp-h1
config.h depcomp jellyfish-2.0.pc m4 sub_commands
config.h.in doc jellyfish-2.0.pc.in Makefile tests
config.log gtest.mk lib Makefile.am unit_tests
config.status HalfLICENSE libjellyfish-2.0.la Makefile.in
z11@Z11:/media/z11_1GB/jellyfish/jellyfish-2.1.3$

Comments are above the full terminal session pasted here between the rows of **********************
Thanks
Pat.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Something seems to have gone wrong with the library libjellyfish-2.0.so.2

What is the output of the commands

sudo updatedb
locate libjellyfish

Revision history for this message
Pat Heslop-Harrison (phh4) said :
#4

Thanks. Libjellyfish seems to be found.

z11@Z11:/media/z11_1GB/localapp/jellyfish-2.1.3$ jellyfish cite
jellyfish: error while loading shared libraries: libjellyfish-2.0.so.2: cannot open shared object file: No such file or directory
z11@Z11:/media/z11_1GB/localapp/jellyfish-2.1.3$ sudo updatedb
z11@Z11:/media/z11_1GB/localapp/jellyfish-2.1.3$ locate libjellyfish
/usr/local/lib/libjellyfish-2.0.a
/usr/local/lib/libjellyfish-2.0.la
/usr/local/lib/libjellyfish-2.0.so
/usr/local/lib/libjellyfish-2.0.so.2
/usr/local/lib/libjellyfish-2.0.so.2.0.0
z11@Z11:/media/z11_1GB/localapp/jellyfish-2.1.3$ jellyfish cite
jellyfish: error while loading shared libraries: libjellyfish-2.0.so.2: cannot open shared object file: No such file or directory
z11@Z11:/media/z11_1GB/localapp/jellyfish-2.1.3$

but still error with jellyfish DNA analysis.

Much appreciated, thanks Pat.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#5

It seems that /usr/local/lib is not searched for libraries, see http://unix.stackexchange.com/questions/67781/use-shared-libraries-in-usr-local-lib for a similar discussion and solutions.

Revision history for this message
Pat Heslop-Harrison (phh4) said :
#6

Brilliant - thanks a lot!

"
export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib
"

solves the problem for the current session, and the website you suggest gives permanent solutions.

Thanks again.
Pat

Revision history for this message
Pat Heslop-Harrison (phh4) said :
#7

Thanks Manfred Hampl, that solved my question.

Revision history for this message
Pat Heslop-Harrison (phh4) said :
#8

Just to confirm, there seem to be two parts to getting Jellyfish 2.1.3 for Fast, Parallel k-mer Counting for DNA from http://www.genome.umd.edu/jellyfish.html to work under Unbutu Linux 13.10 .
First, install LSB from Ubuntu software centre.
Then "lsb_release -a; uname -a"
Then install jellyfish following the instructions at the umd.edu site.
Then, to run for one session, use "export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib"
For permanent use, has other solutions.

If you are happy with Jellyfish 1.0 with limitations on k-mers up to 31-mers and some other issues, you can install it simply from the Ubuntu software centre.

Revision history for this message
Pat Heslop-Harrison (phh4) said :
#9

Struggling again to install 2.1.4 on another machine that already had jellyfish 1.0 installed, now on Ubuntu 14.04

After installing as above on usr/local/jellyfish-2.1.4 (not one a user disk!) - with a lot of sudo and/or bash in front the commands on the jellyfish edu site,

needed to use commands:

export LD_LIBRARY_PATH='/usr/local/jellyfish-2.1.4/lib'

sudo ldconfig /usr/local/lib

and then run jellyfish with

sudo jellyfish count -m 16 -s 10G -t 8 '/media/Z9_3TB/...mS3-3-ind8_S1_L001_R_001.fasta'