alexdobin / STAR

RNA-seq aligner
MIT License
1.86k stars 506 forks source link

STAR: /usr/lib64/libm.so.6: version `GLIBC_2.29' not found (required by STAR) #1484

Open Drinchai opened 2 years ago

Drinchai commented 2 years ago

Hello,

I did install " STAR-2.7.10a" on HPC By using this script;

wget https://github.com/alexdobin/STAR/archive/2.7.10a.tar.gz tar -xzf 2.7.10a.tar.gz cd STAR-2.7.10a

Compile under Linux

Compile

cd STAR/source make STAR

Then I would like to run STAR on R1.fastq.gz and R2.fastq.gz ** export PATH=/ tools/STAR/STAR-2.7.10a/bin/Linux_x86_64:$PATH

STAR --genomeDir /ref_genome \ --runThreadN 6 \ --readFilesIn FASTQ/R1.fastq.gz FASTQ/R2.fastq.gz \ --readFilesCommand zcat \ --outFileNamePrefix /STAR \ --outSAMtype BAM SortedByCoordinate \ --outSAMunmapped Within \ --outSAMattributes Standard ** But I get error message showed as below;

STAR --genomeDir /rugpfs/fs0/casa_lab/scratch/drinchai/ref_genome \

--runThreadN 6 \ --readFilesIn FASTQ/SV40-OAS1-P1-NI_S91_R1_001.fastq.gz FASTQ/SV40-OAS1-P1-NI_S91_R2_001.fastq.gz \ --readFilesCommand zcat \ --outFileNamePrefix /STAR \ --outSAMtype BAM SortedByCoordinate \ --outSAMunmapped Within \ --outSAMattributes Standard STAR: /usr/lib64/libm.so.6: version GLIBC_2.29' not found (required by STAR) STAR: /usr/lib64/libstdc++.so.6: versionGLIBCXX_3.4.20' not found (required by STAR) STAR: /usr/lib64/libstdc++.so.6: version CXXABI_1.3.8' not found (required by STAR) STAR: /usr/lib64/libstdc++.so.6: versionGLIBCXX_3.4.26' not found (required by STAR) STAR: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by STAR)

Then I installed `GLIBC_2.29' and add path to this package as well but I am still not able to run STAR. Could you please advise?

Thank you! Darawan

alexdobin commented 2 years ago

Hi Darawan,

the STAR executable that you compiled will be in the source/ directory, so you need: export PATH=/tools/STAR/STAR-2.7.10a/source/:$PATH

Cheers Alex

ppxinyi commented 2 months ago

export PATH=/scratch/chadbren_root/chadbren99/ppxinyi/STAR/source/Linux_x86_64:$PATH [ppxinyi@gl-login1 arriba_v2.4.0]$ source ~/.bashrc [ppxinyi@gl-login1 arriba_v2.4.0]$ rm -rf STAR_index_hs37d5viral_GENCODE19 [ppxinyi@gl-login1 arriba_v2.4.0]$ ./download_references.sh hs37d5viral+GENCODE19 Downloading assembly: http://ftp.1000genomes.ebi.ac.uk/vol1/ftp/technical/reference/phase2_reference_assembly_sequence/hs37d5.fa.gz Appending RefSeq viral genomes Downloading annotation: http://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_19/gencode.v19.annotation.gtf.gz STAR: /lib64/libm.so.6: version GLIBC_2.29' not found (required by STAR) STAR: /lib64/libstdc++.so.6: versionGLIBCXX_3.4.26' not found (required by STAR)

I meet similar problem, do you have some solving method?